From 2414209c29a67a42e91767f6ecafa825551e854c Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Mon, 20 Feb 2023 16:35:32 +0100 Subject: dashboard/config/linux: enable CONFIG_KMSAN_CHECK_PARAM_RETVAL for KMSAN Not sure why this wasn't done before, but KMSAN_CHECK_PARAM_RETVAL is quite important for KMSAN. Enable it. --- dashboard/config/linux/bits/kmsan.yml | 1 + dashboard/config/linux/upstream-kmsan-base.config | 2 +- dashboard/config/linux/upstream-kmsan.config | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dashboard/config/linux/bits/kmsan.yml b/dashboard/config/linux/bits/kmsan.yml index 3b031c68d..1e1ae12eb 100644 --- a/dashboard/config/linux/bits/kmsan.yml +++ b/dashboard/config/linux/bits/kmsan.yml @@ -9,6 +9,7 @@ kernel: config: - KMSAN + - KMSAN_CHECK_PARAM_RETVAL # Crash the kernel after the first KMSAN report. - CMDLINE: [append, "kmsan.panic=1"] diff --git a/dashboard/config/linux/upstream-kmsan-base.config b/dashboard/config/linux/upstream-kmsan-base.config index 71f4a9534..5962d4349 100644 --- a/dashboard/config/linux/upstream-kmsan-base.config +++ b/dashboard/config/linux/upstream-kmsan-base.config @@ -5101,7 +5101,7 @@ CONFIG_HAVE_ARCH_KMSAN=y CONFIG_HAVE_KMSAN_COMPILER=y CONFIG_KMSAN=y CONFIG_HAVE_KMSAN_PARAM_RETVAL=y -# CONFIG_KMSAN_CHECK_PARAM_RETVAL is not set +CONFIG_KMSAN_CHECK_PARAM_RETVAL=y # end of Memory Debugging # CONFIG_DEBUG_SHIRQ is not set diff --git a/dashboard/config/linux/upstream-kmsan.config b/dashboard/config/linux/upstream-kmsan.config index 9b13bbbb6..ba6189864 100644 --- a/dashboard/config/linux/upstream-kmsan.config +++ b/dashboard/config/linux/upstream-kmsan.config @@ -8694,7 +8694,7 @@ CONFIG_HAVE_ARCH_KMSAN=y CONFIG_HAVE_KMSAN_COMPILER=y CONFIG_KMSAN=y CONFIG_HAVE_KMSAN_PARAM_RETVAL=y -# CONFIG_KMSAN_CHECK_PARAM_RETVAL is not set +CONFIG_KMSAN_CHECK_PARAM_RETVAL=y # end of Memory Debugging # CONFIG_DEBUG_SHIRQ is not set -- cgit mrf-deployment