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 cpu: Rename Makefiles from .inc to .mk 2024-01-24 08:35:01 +00:00
pae cpu/x86/pae/pgtbl.c: extract reusable code from memset_pae() 2024-05-29 13:04:30 +00:00
smm cpu/x86/smm/smm_module_loader: Install bigger page tables 2025-05-14 18:09:28 +00:00
tsc cpu: Rename Makefiles from .inc to .mk 2024-01-24 08:35:01 +00:00
backup_default_smm.c cpu/x86: Clean up includes 2022-10-26 16:37:34 +00:00
copy_data_section.inc x86: Add .data section support for pre-memory stages 2023-09-14 21:02:07 +00:00
early_reset.S cpu/x86/early_reset: Mark assemblycode as 32bit 2020-12-01 16:00:40 +00:00
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 arch to cpu: Add SPDX license headers to Kconfig files 2024-02-18 01:58:52 +00:00
Makefile.mk lib: Remove heap from rmodules 2024-02-26 10:10:07 +00:00
mp_init.c cpu/x86: Conditionally invalidate caches based on self-snooping support 2025-04-09 02:07:32 +00:00
reset16.S cpu/x86: Link reset16.inc 2021-01-28 08:52:35 +00:00
sipi_vector.S arch/x86: Unify GDT entries 2025-05-08 12:29:24 +00:00
smi_trigger.c cpu/x86/smi_trigger: use call_smm 2024-01-11 22:35:32 +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: Fix FSP-S crash caused by shared core ID 2025-01-17 16:50:31 +00:00