coreboot-kgpe-d16/src/soc/amd
Felix Held f43e0e7247 soc/amd/cezanne,picasso,sabrina/smihandler: add comment about SMN access
The SMI sleep entry handler will access the SMN space via the index/data
register at PCI config space offsets 0xb8 and 0xbc of the device at bus
0, device 0, function 0. This register pair is also used by other
software components running on the x86 cores after boot, so it should be
saved and restored at the beginning/end of the SMI handler if it
accesses SMN. The sleep entry SMI handler is a special case, since the
OS is already done at the moment we enter the sleep SMI handler which is
the last code that gets run on the x86 cores before entering S3/4/5.

BUG=b:237004699

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I0980562ef8a61489082a81c71d6d00d0786d68cb
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65529
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
2022-08-17 14:08:52 +00:00
..
cezanne soc/amd/cezanne,picasso,sabrina/smihandler: add comment about SMN access 2022-08-17 14:08:52 +00:00
common soc/amd/common/fsp/fsp-acpi: rework HOB pointer validity check 2022-08-15 18:31:38 +00:00
mendocino soc/amd/cezanne,picasso,sabrina/smihandler: add comment about SMN access 2022-08-17 14:08:52 +00:00
picasso soc/amd/cezanne,picasso,sabrina/smihandler: add comment about SMN access 2022-08-17 14:08:52 +00:00
stoneyridge soc/amd/*: move reset_i2c_peripherals call after early GPIO setup 2022-08-15 15:33:52 +00:00