From b617211910e9c6ff4e3cd92f022ef052a65559a3 Mon Sep 17 00:00:00 2001 From: Marshall Dawson Date: Wed, 13 Sep 2017 17:47:31 -0600 Subject: amd/stoneyridge: Enable SMM in TSEG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add necessary features to allow mp_init_with_smm() to install and relocate an SMM handler. SMM region functions are added to easily identify the SMM attributes. Adjust the neighboring cbmem_top() rounding downward to better reflect the default TSEG size. Add relocation attributes to be set by each core a relocation handler. Modify the definition of smi_southbridge_handler() to match TSEG prototype. BUG=b:62103112 Change-Id: I4dc03ed27d0d109ab919a4f0861de9c7420d03ce Signed-off-by: Marshall Dawson Reviewed-on: https://review.coreboot.org/21501 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Kyösti Mälkki --- src/soc/amd/stoneyridge/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/soc/amd/stoneyridge/Kconfig') diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig index f7087504e1..beba741c4f 100644 --- a/src/soc/amd/stoneyridge/Kconfig +++ b/src/soc/amd/stoneyridge/Kconfig @@ -51,6 +51,8 @@ config CPU_SPECIFIC_OPTIONS select BOOTBLOCK_CONSOLE select RELOCATABLE_MODULES select PARALLEL_MP + select HAVE_SMI_HANDLER + select SMM_TSEG config VBOOT select AMDFW_OUTSIDE_CBFS @@ -286,6 +288,10 @@ config SMM_TSEG_SIZE default 0x800000 if SMM_TSEG && HAVE_SMI_HANDLER default 0x0 +config SMM_RESERVED_SIZE + hex + default 0x100000 + config ACPI_CPU_STRING string default "\\_PR.P%03d" -- cgit v1.2.3