coreboot-kgpe-d16/src/cpu
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
..
amd arch/x86: Introduce ARCH_ALL_STAGES_X86_32 2020-09-26 11:42:28 +00:00
armltd Kconfig: comply to Linux 5.3's Kconfig language rules 2019-11-23 20:09:56 +00:00
intel cpu/intel/haswell: Move smmrelocate.c MSR definitions to header 2020-11-03 19:12:01 +00:00
qemu-power8 src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
qemu-x86 cpu/qemu-x86/cache_as_ram_bootblock: Fix wrong instruction 2020-10-12 14:42:45 +00:00
x86 cpu/x86/smm: Add a common save state handling 2020-11-09 10:20:07 +00:00
Kconfig arch/x86: Implement RESET_VECTOR_IN_RAM 2020-04-29 05:38:00 +00:00
Makefile.inc cpu/Makefile.inc: Clean up non-existing directory inclusion 2020-08-17 06:24:23 +00:00