From 1e0842e8bc006be3a5216aee2574bb6940a8ad2a Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Tue, 24 Oct 2023 11:43:25 -0500 Subject: [PATCH] soc/amd/stoneyridge: Select SOC_AMD_COMMON_LATE_SMM_LOCKING Select SOC_AMD_COMMON_LATE_SMM_LOCKING to ensure that SMM remains unlocked on S3 resume until after the AGESA call to s3finalrestore has completed. If SMM is locked prior, S3 resume will fail: [DEBUG] agesawrapper_amds3laterestore() entry [DEBUG] Error: Can't find 57a9e200 raw data to imd [ERROR] S3 volatile data not found TEST=build/boot google/liara, verify S3 resume succeeds. Change-Id: I49659b4e5aba42367d6347e705cd92492fc34a0f Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/78625 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/stoneyridge/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig index 5e00785c1e..0cc8ecd162 100644 --- a/src/soc/amd/stoneyridge/Kconfig +++ b/src/soc/amd/stoneyridge/Kconfig @@ -42,6 +42,7 @@ config SOC_AMD_STONEYRIDGE select SOC_AMD_COMMON_BLOCK_SPI select SOC_AMD_COMMON_BLOCK_SVI2 select SOC_AMD_COMMON_BLOCK_UART + select SOC_AMD_COMMON_LATE_SMM_LOCKING select SSE2 select TSC_SYNC_LFENCE select USE_DDR4