From caad18fa24451bccd149fd432c722ec4ab61b41b Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 7 Nov 2024 17:01:31 -0500 Subject: [PATCH] kconfig: Force PANIC_TIMEOUT=0, NR_CPUS=64 Override syzbot kconfigs: PANIC_TIMEOUT disables kgdb, and for some bizarre reason NR_CPUS=8 also breaks kgdb Signed-off-by: Kent Overstreet --- tests/kconfig.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/kconfig.sh b/tests/kconfig.sh index 59591cf..480af9a 100644 --- a/tests/kconfig.sh +++ b/tests/kconfig.sh @@ -272,3 +272,7 @@ require-kernel-config DEBUG_LIST # require-kernel-config DEBUG_PAGEALLOC require-kernel-append kasan.fault=panic +require-kernel-config PANIC_TIMEOUT=0 + +# for some reason, NR_CPUS=8 as syzbot sets breaks kgdb: +require-kernel-config NR_CPUS=64