Hi Kees, I love your patch! Perhaps something to improve: [auto build test WARNING on next-20221109] url: https://github.com/intel-lab-lkp/linux/commits/Kees-Cook/exit-Put-an-upper-limit-on-how-often-we-can-oops/20221110-040244 patch link: https://lore.kernel.org/r/20221109200050.3400857-1-keescook%40chromium.org patch subject: [PATCH v2 1/6] panic: Separate sysctl logic from CONFIG_SMP config: riscv-randconfig-s053-20221113 compiler: riscv32-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://github.com/intel-lab-lkp/linux/commit/d1ce412a5f8b37476d703c7891272265f7d658f0 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Kees-Cook/exit-Put-an-upper-limit-on-how-often-we-can-oops/20221110-040244 git checkout d1ce412a5f8b37476d703c7891272265f7d658f0 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) WARNING: invalid argument to '-march': '_zihintpause' >> kernel/panic.c:79:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_SYSCTL' vim +/CONFIG_SYSCTL +79 kernel/panic.c 78 > 79 #if CONFIG_SYSCTL 80 static struct ctl_table kern_panic_table[] = { 81 #if defined(CONFIG_SMP) 82 { 83 .procname = "oops_all_cpu_backtrace", 84 .data = &sysctl_oops_all_cpu_backtrace, 85 .maxlen = sizeof(int), 86 .mode = 0644, 87 .proc_handler = proc_dointvec_minmax, 88 .extra1 = SYSCTL_ZERO, 89 .extra2 = SYSCTL_ONE, 90 }, 91 #endif 92 { } 93 }; 94 -- 0-DAY CI Kernel Test Service https://01.org/lkp