coreboot-kgpe-d16/src
Eugene Myers e7e2bd2a59 cpu/x86/: Centralize MSEG location calculation
This patch centralizes the MSEG location calculation. In the current
implementation, the calculation happens in smm_module_loader and
mp_init.  When smm_module_loaderv2 was added, this calculation became
broken as the original calculation made assumptions based on perm_smbase.

The calculation is now located in smm_subregion (tseg_region.c), as the
MSEG is located within the TSEG (or SMM);

These patches have been tested on a Purism librem-l1um server.

Change-Id: Ic17e1a505401c3b2a218826dffae6fe12a5c15c6
Signed-off-by: Eugene Myers <edmyers@tycho.nsa.gov>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55628
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-06-10 03:21:08 +00:00
..
acpi AUTHORS: Move src/acpi copyrights into AUTHORS file 2019-07-30 11:04:14 +00:00
arch arch/x86/include/arch: Add SMM_TASK_STATE_SEG 2021-06-23 08:38:51 +00:00
commonlib {drivers,mainboard}: Move FSP logo support to fsp1_1 2019-11-14 11:33:46 +00:00
console Revert "console,boot_state: Exclude printk() from reported times" 2019-12-03 09:45:36 +00:00
cpu cpu/x86/: Centralize MSEG location calculation 2023-06-10 03:21:08 +00:00
device arch/x86: Remove EARLY_EBDA_INIT support 2019-11-10 15:38:45 +00:00
drivers drivers/ipmi: Add CONFIG_IPMI_KCS_TIMEOUT_MS for IPMI KCS timeout value 2021-06-25 04:13:31 +00:00
ec include: Make stdbool.h a separate file 2019-11-18 22:47:13 +00:00
include cpu/x86/: Centralize MSEG location calculation 2023-06-10 03:21:08 +00:00
lib Revert "console,boot_state: Exclude printk() from reported times" 2019-12-03 09:45:36 +00:00
mainboard mainboard/ocp/monolake: Give the BMC time to startup 2021-06-25 06:30:11 +00:00
northbridge nb/intel/sandybridge/mrc: Handle P2P disabling via devicetree 2019-11-18 11:52:24 +00:00
security security/intel/stm: Reset BIOS resource list on every stm_setup call 2023-06-10 03:20:56 +00:00
soc soc/intel/fsp_broadwell_de: Enable STM for broadwell_de 2023-06-10 03:20:43 +00:00
southbridge sb/amd/hudson: Fix typo in GEC firmware name 2019-11-19 12:46:36 +00:00
superio superio/*/*/acpi: Improve the readability of the IndexField 2019-11-05 16:08:55 +00:00
vendorcode security/tpm: Add crypto agility support 2021-02-07 21:52:43 +00:00
Kconfig src/drivers/ipmi: Add DEBUG_IPMI option 2021-06-16 04:21:06 +00:00