From f60350344a56fa2b9db2b0653f69a7b036da8aab Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 23 Apr 2026 23:14:25 +0100 Subject: consolidate haswell iommu patches Signed-off-by: Leah Rowe --- ...rlake-disable-stack-overflow-debug-option.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 config/coreboot/default/patches/0037-soc-alderlake-disable-stack-overflow-debug-option.patch (limited to 'config/coreboot/default/patches/0037-soc-alderlake-disable-stack-overflow-debug-option.patch') diff --git a/config/coreboot/default/patches/0037-soc-alderlake-disable-stack-overflow-debug-option.patch b/config/coreboot/default/patches/0037-soc-alderlake-disable-stack-overflow-debug-option.patch new file mode 100644 index 00000000..d491426a --- /dev/null +++ b/config/coreboot/default/patches/0037-soc-alderlake-disable-stack-overflow-debug-option.patch @@ -0,0 +1,46 @@ +From 0af11ee58ae38a385431253b1f5f0e9dbce98d3d Mon Sep 17 00:00:00 2001 +From: Leah Rowe +Date: Mon, 6 Oct 2025 04:47:06 +0100 +Subject: [PATCH 37/51] soc/alderlake: disable stack overflow debug option + +same as on other boards. based on this commit: + +commit 51cc2bacb6b07279b97e9934d079060475481fb6 +Author: Subrata Banik +Author: Subrata Banik +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 +--- + 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 c05d06289e..acb87275d4 100644 +--- a/src/soc/intel/alderlake/Kconfig ++++ b/src/soc/intel/alderlake/Kconfig +@@ -343,6 +343,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 + -- cgit v1.2.1