coreboot-kgpe-d16/src
Arthur Heymans a3eb3df01c cpu/x86/smm: Add smm_size to relocatable smmstub
To mitigate against sinkhole in software which is required on
pre-sandybridge hardware, the smm entry point needs to check if the
LAPIC base is between smbase and smbase + smmsize. The size needs to
be available early so add them to the relocatable module parameters.

When the smmstub is used to relocate SMM the default SMM size 0x10000
is provided. On the permanent handler the size provided by
get_smm_info() is used.

Change-Id: I0df6e51bcba284350f1c849ef3d012860757544b
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37288
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2020-03-07 20:52:22 +00:00
..
acpi src/acpi: Update license headers to SPDX 2020-01-02 14:49:00 +00:00
arch src/arch/x86: Convert to SPDX license header 2020-03-06 07:48:24 +00:00
commonlib lz4: Fix out-of-bounds reads 2020-03-02 15:03:03 +00:00
console treewide: Replace BOARD_EMULATION_QEMU_X86 2020-03-03 10:16:09 +00:00
cpu cpu/x86/smm: Add smm_size to relocatable smmstub 2020-03-07 20:52:22 +00:00
device treewide: Replace BOARD_EMULATION_QEMU_X86 2020-03-03 10:16:09 +00:00
drivers drivers/usb: Use 'print("%s...", __func__)' 2020-03-07 20:47:50 +00:00
ec ec/google/chromeec: Fix dev ops for chromeec 2020-03-06 08:06:02 +00:00
include cpu/x86/smm: Add smm_size to relocatable smmstub 2020-03-07 20:52:22 +00:00
lib lib/spd_bin: Fix grammar mistake in a comment 2020-03-07 16:44:25 +00:00
mainboard mb: Use 'print("%s...", __func__)' 2020-03-07 20:47:56 +00:00
northbridge src/nb: Use 'print("%s...", __func__)' 2020-03-07 20:47:58 +00:00
security vboot: Upgrade kernel space to v1.0 2020-03-07 20:45:37 +00:00
soc soc/intel/tigerlake: Avoid NULL pointer dereference 2020-03-07 20:46:49 +00:00
southbridge sb/intel/common/firmware/Makefile.inc: use ifdtool --output flag 2020-03-06 07:53:04 +00:00
superio superio/nuvoton/npcd378: Switch to superio/common 2020-03-02 10:19:44 +00:00
vendorcode chromeos: remove unused constants from gnvs.h 2020-03-07 20:32:01 +00:00
Kconfig Kconfig: Have GDB_STUB depend on DRIVERS_UART 2020-03-03 07:45:23 +00:00