From: Nico Pache <npache(a)redhat.com>
redhat: Enable KASAN on all ELN debug kernels
This commit enables KASAN for all the ELN debug kernels (except s390
zfcpdump), and cleans up some of the fedora configs.
KASAN is useful in detecting bugs and was previously enabled on all ELN
kernels (except S390 zfcpdump)
Signed-off-by: Nico Pache <npache(a)redhat.com>
diff --git a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN
b/redhat/configs/ark/debug/CONFIG_KASAN
rename from redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN
rename to redhat/configs/ark/debug/CONFIG_KASAN
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN
+++ b/redhat/configs/ark/debug/CONFIG_KASAN
diff --git a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC
b/redhat/configs/ark/debug/CONFIG_KASAN_GENERIC
rename from redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC
rename to redhat/configs/ark/debug/CONFIG_KASAN_GENERIC
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_GENERIC
+++ b/redhat/configs/ark/debug/CONFIG_KASAN_GENERIC
diff --git a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE
b/redhat/configs/ark/debug/CONFIG_KASAN_INLINE
rename from redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE
rename to redhat/configs/ark/debug/CONFIG_KASAN_INLINE
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/arm/aarch64/CONFIG_KASAN_INLINE
+++ b/redhat/configs/ark/debug/CONFIG_KASAN_INLINE
diff --git a/redhat/configs/common/debug/CONFIG_KASAN_KUNIT_TEST
b/redhat/configs/ark/debug/CONFIG_KASAN_KUNIT_TEST
rename from redhat/configs/common/debug/CONFIG_KASAN_KUNIT_TEST
rename to redhat/configs/ark/debug/CONFIG_KASAN_KUNIT_TEST
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/CONFIG_KASAN_KUNIT_TEST
+++ b/redhat/configs/ark/debug/CONFIG_KASAN_KUNIT_TEST
diff --git a/redhat/configs/common/debug/CONFIG_KASAN_OUTLINE
b/redhat/configs/ark/debug/CONFIG_KASAN_OUTLINE
rename from redhat/configs/common/debug/CONFIG_KASAN_OUTLINE
rename to redhat/configs/ark/debug/CONFIG_KASAN_OUTLINE
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/CONFIG_KASAN_OUTLINE
+++ b/redhat/configs/ark/debug/CONFIG_KASAN_OUTLINE
diff --git a/redhat/configs/common/debug/CONFIG_KASAN_VMALLOC
b/redhat/configs/ark/debug/CONFIG_KASAN_VMALLOC
rename from redhat/configs/common/debug/CONFIG_KASAN_VMALLOC
rename to redhat/configs/ark/debug/CONFIG_KASAN_VMALLOC
index blahblah..blahblah 100644
--- a/redhat/configs/common/debug/CONFIG_KASAN_VMALLOC
+++ b/redhat/configs/ark/debug/CONFIG_KASAN_VMALLOC
diff --git a/redhat/configs/fedora/debug/CONFIG_KASAN
b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN
rename from redhat/configs/fedora/debug/CONFIG_KASAN
rename to redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_KASAN
+++ b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN
diff --git a/redhat/configs/fedora/debug/CONFIG_KASAN_GENERIC
b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_GENERIC
rename from redhat/configs/fedora/debug/CONFIG_KASAN_GENERIC
rename to redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_GENERIC
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_KASAN_GENERIC
+++ b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_GENERIC
diff --git a/redhat/configs/fedora/debug/CONFIG_KASAN_INLINE
b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_INLINE
rename from redhat/configs/fedora/debug/CONFIG_KASAN_INLINE
rename to redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_INLINE
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_KASAN_INLINE
+++ b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_INLINE
diff --git a/redhat/configs/fedora/debug/CONFIG_KASAN_VMALLOC
b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_VMALLOC
rename from redhat/configs/fedora/debug/CONFIG_KASAN_VMALLOC
rename to redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_VMALLOC
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/debug/CONFIG_KASAN_VMALLOC
+++ b/redhat/configs/common/debug/s390x/zfcpdump/CONFIG_KASAN_VMALLOC
diff --git a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN
b/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_KASAN=y
diff --git a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_GENERIC
b/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_GENERIC
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_GENERIC
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_KASAN_GENERIC=y
diff --git a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_INLINE
b/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_INLINE
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/common/debug/x86/x86_64/CONFIG_KASAN_INLINE
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_KASAN_INLINE=y
diff --git a/redhat/configs/fedora/debug/arm/CONFIG_KASAN_HW_TAGS
b/redhat/configs/fedora/debug/arm/CONFIG_KASAN_HW_TAGS
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/debug/arm/CONFIG_KASAN_HW_TAGS
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_KASAN_HW_TAGS is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1750