coreboot/src/cpu/x86
Patrick Rudolph 011baca89d cpu/x86/smm/smm_module_loader: Install bigger page tables
In order to give SMM access to more than 4GiB on x86_64, update the
page table generation in the SMM loader.
Honor CONFIG_CPU_PT_ROM_MAP_GB and map the same amount of the address
space as done in other stages. This is required for SMM trying to access
the SPI BAR in high MMIO on AMD platforms.

TEST=Could access ROM3 BAR at 0xfd00000000 in SMM on AMD/birman+

Change-Id: Iae3dac8d39d3f5e55cc08aa96c8924f6364c5140
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87573
Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
2025-05-14 18:09:28 +00:00
..
64bit arch/x86: Unify GDT entries 2025-05-08 12:29:24 +00:00
cache cpu/x86: Conditionally invalidate caches based on self-snooping support 2025-04-09 02:07:32 +00:00
lapic cpu/x86: Replace LAPIC_DM_* with LAPIC_MT_* 2025-04-05 14:38:22 +00:00
mtrr cpu/x86/mtrr: Introduce mtrrlib with common MTRR helper functions 2025-05-08 16:51:17 +00:00
name
pae
smm cpu/x86/smm/smm_module_loader: Install bigger page tables 2025-05-14 18:09:28 +00:00
tsc
backup_default_smm.c
copy_data_section.inc
early_reset.S
entry16.S arch/x86: Unify GDT entries 2025-05-08 12:29:24 +00:00
entry32.S arch/x86: Unify GDT entries 2025-05-08 12:29:24 +00:00
Kconfig cpu/x86/64bit: Allow to map more of the address space 2025-02-26 17:11:59 +00:00
Kconfig.debug_cpu
Makefile.mk
mp_init.c cpu/x86: Conditionally invalidate caches based on self-snooping support 2025-04-09 02:07:32 +00:00
reset16.S
sipi_vector.S arch/x86: Unify GDT entries 2025-05-08 12:29:24 +00:00
smi_trigger.c
smm_start32_offset.h.template
topology.c cpu/x86/topology: Fix FSP-S crash caused by shared core ID 2025-01-17 16:50:31 +00:00