diff options
Diffstat (limited to 'config/coreboot/default/patches/0028-Kconfig-Decrease-default-HEAP_SIZE-from-1-MiB-to-512.patch')
-rw-r--r-- | config/coreboot/default/patches/0028-Kconfig-Decrease-default-HEAP_SIZE-from-1-MiB-to-512.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/config/coreboot/default/patches/0028-Kconfig-Decrease-default-HEAP_SIZE-from-1-MiB-to-512.patch b/config/coreboot/default/patches/0028-Kconfig-Decrease-default-HEAP_SIZE-from-1-MiB-to-512.patch deleted file mode 100644 index 31e86e86..00000000 --- a/config/coreboot/default/patches/0028-Kconfig-Decrease-default-HEAP_SIZE-from-1-MiB-to-512.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 7eda35a9b63d070ede24b32253855ce07c6c7d13 Mon Sep 17 00:00:00 2001 -From: Bill XIE <persmule@hardenedlinux.org> -Date: Tue, 24 Oct 2023 13:56:16 +0800 -Subject: [PATCH 1/2] Kconfig: Decrease default HEAP_SIZE from 1 MiB to 512 KiB - -Commit 44a48ce7a46c ("Kconfig: Bring HEAP_SIZE to a common, large -value") breaks S3 resume from TSEG stage cache on many platforms, -including GM45 and Ivy Bridge, so limit it to 512 KiB. - -Please test this against other platforms before merging! - -Tested: Setting it to 0x80000 results a working S3 resume on Thinkpad - X200 and T430, with log in cbmem for S3 resume, while 0xa0000 - breaks it. coreboot log during failed resume when (HEAP_SIZE - >= 0xa0000) cannot be obtained from EHCI debug, while log in - cbmem shows that ramstage is failed to be found in TSEG stage - cache, as shown in https://ticket.coreboot.org/issues/512 . - -Resolves: https://ticket.coreboot.org/issues/512 -Signed-off-by: Bill XIE <persmule@hardenedlinux.org> -Change-Id: Ib1de1eb8487df5bdf004e544d40667833a291515 ---- - src/Kconfig | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Kconfig b/src/Kconfig -index ae8024089e..6db0736715 100644 ---- a/src/Kconfig -+++ b/src/Kconfig -@@ -751,7 +751,7 @@ config RTC - - config HEAP_SIZE - hex -- default 0x100000 -+ default 0x80000 - - config STACK_SIZE - hex --- -2.39.2 - |