coreboot/src/cpu/x86
Arthur Heymans db766c702a cpu/x86/smm: Don't save EFER
The EFER MSR is in the SMM save state and RSM properly restores it.
Returning to 32bit mode was only done so that fxsave was done in the
same mode as fxrstor, but this is no longer done.

See commit 1efca4d570 (cpu/x86/smm: Drop fxsave/fxrstor logic)

TESTED on qemu: the smihandler works fine.

Change-Id: Ie0e9584afd1f08f51ca57da5c4350042699f130d
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68895
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
2023-08-21 12:14:25 +00:00
..
64bit cpu: Add SPDX license headers to Makefiles 2023-08-06 19:26:55 +00:00
cache cpu: Add SPDX license headers to Makefiles 2023-08-06 19:26:55 +00:00
lapic cpu: Add SPDX license headers to Makefiles 2023-08-06 19:26:55 +00:00
mtrr cpu: Add SPDX license headers to Makefiles 2023-08-06 19:26:55 +00:00
name cpu: Include <cpu/cpu.h> instead of <arch/cpu.h> 2022-11-08 14:38:28 +00:00
pae cpu: Add SPDX license headers to Makefiles 2023-08-06 19:26:55 +00:00
smm cpu/x86/smm: Don't save EFER 2023-08-21 12:14:25 +00:00
tsc cpu: Add SPDX license headers to Makefiles 2023-08-06 19:26:55 +00:00
backup_default_smm.c cpu/x86: Clean up includes 2022-10-26 16:37:34 +00:00
early_reset.S
entry16.S commonlib/console/post_code.h: Change post code prefix to POSTCODE 2023-06-23 15:06:04 +00:00
entry32.S commonlib/console/post_code.h: Change post code prefix to POSTCODE 2023-06-23 15:06:04 +00:00
Kconfig cpu/x86: Add some notes about XAPIC/X2APIC 2023-07-06 13:54:20 +00:00
Kconfig.debug_cpu cpu/x86/Kconfig.debug_cpu: Drop unused symbol 2022-11-10 00:20:38 +00:00
Makefile.inc cpu: Add SPDX license headers to Makefiles 2023-08-06 19:26:55 +00:00
mp_init.c cpu/x86/mp_init: Use clflush to write SIPI data back to RAM 2023-05-31 14:22:31 +00:00
reset16.S
sipi_vector.S cpu/x86: Set thread local storage in C code 2022-11-12 14:23:51 +00:00
smi_trigger.c cpu/x86: Clean up includes 2022-10-26 16:37:34 +00:00
smm_start32_offset.h.template cpu/x86/mp_init.c: Generate a C header to get start32 offset 2023-04-06 15:19:00 +00:00
topology.c cpu/x86/topology: Add code to fill in topology on struct path 2023-04-06 15:27:23 +00:00