linux/arch/s390
Andrey Konovalov 8a494023b8 kasan, x86, s390: update undef CONFIG_KASAN
With the intoduction of hardware tag-based KASAN some kernel checks of
this kind:

  ifdef CONFIG_KASAN

will be updated to:

  if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS)

x86 and s390 use a trick to #undef CONFIG_KASAN for some of the code
that isn't linked with KASAN runtime and shouldn't have any KASAN
annotations.

Also #undef CONFIG_KASAN_GENERIC with CONFIG_KASAN.

Link: https://lkml.kernel.org/r/9d84bfaaf8fabe0fc89f913c9e420a30bd31a260.1606161801.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Marco Elver <elver@google.com>
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Reviewed-by: Alexander Potapenko <glider@google.com>
Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Branislav Rankov <Branislav.Rankov@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Evgenii Stepanov <eugenis@google.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-12-22 12:55:08 -08:00
..
appldata s390/appldata: use struct_size() helper 2020-06-29 16:32:34 +02:00
boot kasan, x86, s390: update undef CONFIG_KASAN 2020-12-22 12:55:08 -08:00
configs Merge branch 'akpm' (patches from Andrew) 2020-12-15 12:53:37 -08:00
crypto - Add support for the hugetlb_cma command line option to allocate gigantic 2020-12-14 16:22:26 -08:00
hypfs fs_parse: fold fs_parameter_desc/fs_parameter_spec 2020-02-07 14:48:37 -05:00
include ARM: 2020-12-20 10:44:05 -08:00
kernel epoll: fix compat syscall wire up of epoll_pwait2 2020-12-20 10:01:38 -08:00
kvm ARM: 2020-12-20 10:44:05 -08:00
lib s390/delay: remove udelay_simple() 2020-12-16 14:55:49 +01:00
mm ARM: 2020-12-20 10:44:05 -08:00
net s390/bpf: Fix multiple tail calls 2020-09-14 18:21:31 -07:00
oprofile s390/unwind: introduce stack unwind API 2019-05-02 13:54:11 +02:00
pci mm: simplify follow_pte{,pmd} 2020-12-15 22:46:19 -08:00
purgatory - Add support for the hugetlb_cma command line option to allocate gigantic 2020-12-14 16:22:26 -08:00
tools .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kbuild s390/numa: move code to arch/s390/kernel 2020-08-11 18:16:55 +02:00
Kconfig - Always initialize kernel stack backchain when entering the kernel, so 2020-12-18 11:08:06 -08:00
Kconfig.debug s390/mm: add debug user asce support 2020-11-23 12:01:12 +01:00
Makefile s390/decompressor: add stacktrace support 2020-11-20 19:19:11 +01:00