summaryrefslogtreecommitdiff
path: root/config/coreboot/default/patches/0041-soc-alderlake-disable-stack-overflow-debug-option.patch
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-10-06 04:48:48 +0100
committerLeah Rowe <leah@libreboot.org>2025-10-06 04:48:48 +0100
commit7d597bc4a1867089eadbd8ab0f6784f57a186cad (patch)
tree69000aaed00d950d21d5c70de8f0df0b8558d959 /config/coreboot/default/patches/0041-soc-alderlake-disable-stack-overflow-debug-option.patch
parentc716341c130b3746c0994af780f407f4fbd75004 (diff)
disable stack overflow debug on alderlake
see patch Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/coreboot/default/patches/0041-soc-alderlake-disable-stack-overflow-debug-option.patch')
-rw-r--r--config/coreboot/default/patches/0041-soc-alderlake-disable-stack-overflow-debug-option.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/config/coreboot/default/patches/0041-soc-alderlake-disable-stack-overflow-debug-option.patch b/config/coreboot/default/patches/0041-soc-alderlake-disable-stack-overflow-debug-option.patch
new file mode 100644
index 00000000..979eff9b
--- /dev/null
+++ b/config/coreboot/default/patches/0041-soc-alderlake-disable-stack-overflow-debug-option.patch
@@ -0,0 +1,46 @@
+From 9936228e74ef8bccbf6adb8640040901d395cda0 Mon Sep 17 00:00:00 2001
+From: Leah Rowe <leah@libreboot.org>
+Date: Mon, 6 Oct 2025 04:47:06 +0100
+Subject: [PATCH 1/1] soc/alderlake: disable stack overflow debug option
+
+same as on other boards. based on this commit:
+
+commit 51cc2bacb6b07279b97e9934d079060475481fb6
+Author: Subrata Banik <subratabanik@google.com>
+Author: Subrata Banik <subratabanik@google.com>
+Date: Fri Dec 13 13:07:28 2024 +0530
+
+ soc/intel/pantherlake: Disable stack overflow debug options
+
+yeah, i've been replicating this change per platform.
+
+we do alderlake now in libreboot, so let's set that here too.
+
+Signed-off-by: Leah Rowe <leah@libreboot.org>
+---
+ src/soc/intel/alderlake/Kconfig | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/src/soc/intel/alderlake/Kconfig b/src/soc/intel/alderlake/Kconfig
+index 3979d9e162..a47a27dfaf 100644
+--- a/src/soc/intel/alderlake/Kconfig
++++ b/src/soc/intel/alderlake/Kconfig
+@@ -329,6 +329,15 @@ config SOC_INTEL_UFS_CLK_FREQ_HZ
+ int
+ default 19200000
+
++# Override DEBUG Kconfig to avoid false alarm about stack overflow.
++config DEBUG_STACK_OVERFLOW_BREAKPOINTS
++ bool
++ default n
++
++config DEBUG_STACK_OVERFLOW_BREAKPOINTS_IN_ALL_STAGES
++ bool
++ default n
++
+ config DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
+ int
+ default 133
+--
+2.47.3
+