coreboot/src
Arthur Heymans 3967cf931b cpu/x86/smm: Add a common save state handling
Currently coreboot has limited use for the SMM save state. Typically
the only thing needed is to get or set a few registers and to know
which CPU triggered the SMI (typically via an IO write). Abstracting
away different SMM save states would allow to put some SMM
functionality like the SMMSTORE entry in common places.

To save place platforms can select different SMM save sate ops that
should be implemented. For instance AMD platforms don't need Intel SMM
save state handling.

Some platforms can encounter CPUs with different save states, which
the code then handles at runtime by comparing the SMM save state
revision which is located at the same offset for all SMM save state
types.

Change-Id: I4a31d05c09065543424a9010ac434dde0dfb5836
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44323
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-11-09 10:20:07 +00:00
..
acpi acpigen: Add more useful helper functions 2020-11-09 07:30:01 +00:00
arch arch/x86/smbios: Populate SMBIOS type 7 with cache information 2020-10-26 06:54:04 +00:00
commonlib lib/libpayload: Replace strapping_ids with new board configuration entry 2020-10-30 15:25:28 +00:00
console console: Override uart base address 2020-11-09 07:46:10 +00:00
cpu cpu/x86/smm: Add a common save state handling 2020-11-09 10:20:07 +00:00
device device: Move pci_dev_is_wake_source function 2020-11-09 07:37:57 +00:00
drivers drivers/usb/acpi: Add support for privacy_gpio 2020-11-09 07:40:52 +00:00
ec ec/purism/librem/ec.asl: End comment 2020-11-09 07:28:53 +00:00
include cpu/x86/smm: Add a common save state handling 2020-11-09 10:20:07 +00:00
lib lib/libpayload: Replace strapping_ids with new board configuration entry 2020-10-30 15:25:28 +00:00
mainboard mb/intel/adlrvp: Replace if-else-if ladder with switch construct 2020-11-09 10:18:22 +00:00
northbridge nb/intel/pineview: Fix clearing memory 2020-11-09 07:28:01 +00:00
security security/vboot: Add Kconfig symbol to set hashing block size 2020-11-06 17:46:13 +00:00
soc soc/intel/xeon_sp: Don't add memory resource twice 2020-11-09 10:17:25 +00:00
southbridge sb/intel/lynxpoint/pcie.c: Ensure OBFF is disabled 2020-11-07 14:20:38 +00:00
superio superio/nuvoton: Factor out equivalent Kconfig option 2020-10-19 07:06:20 +00:00
vendorcode vc/intel/FSP2_0/CPX-SP: update to ww45 release and add watermark option 2020-11-07 00:12:35 +00:00
Kconfig soc/intel/xeon_sp: Move function debug macros 2020-10-29 16:44:19 +00:00