From 846b4941fee842bc359fa2b611cf0c3fc4f158b2 Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Tue, 12 Jun 2018 10:43:09 -0600 Subject: stoneyridge: Increase SMM stack size to 2K GSMI Set Event Log is taking more than 1K in stack. This causes the stack to overflow into the adjacent stack. This has the side effect of causing any CPU waiting for the SMI handler to complete to crash when the lock is unlocked because the return pointer has been smashed. BUG=b:80539294 TEST=built on grunt and tested by running `halt` from the OS. Change-Id: Ib170c7d03909ef3d20831726b285178a75007b06 Signed-off-by: Raul E Rangel Reviewed-on: https://review.coreboot.org/27033 Reviewed-by: Martin Roth Reviewed-by: Marshall Dawson Tested-by: build bot (Jenkins) --- src/soc/amd/stoneyridge/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/soc/amd/stoneyridge/Kconfig') diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig index 9596dc81f2..05c3043282 100644 --- a/src/soc/amd/stoneyridge/Kconfig +++ b/src/soc/amd/stoneyridge/Kconfig @@ -292,6 +292,10 @@ config SMM_RESERVED_SIZE hex default 0x150000 +config SMM_MODULE_STACK_SIZE + hex + default 0x800 + config ACPI_CPU_STRING string default "\\_PR.P%03d" -- cgit v1.2.3