diff options
author | Rohan McLure <rmclure@linux.ibm.com> | 2023-02-06 13:17:57 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-02-10 22:19:56 +1100 |
commit | 2fb857bc9f9e106439017ed323f522cc785395bb (patch) | |
tree | d22bb827d0ab233092e318abf0591f5b14bf6c8c /arch/powerpc/lib | |
parent | 1ee4e35076e36724a62ba2fa29b722fb53eb68f2 (diff) | |
download | linux-2fb857bc9f9e106439017ed323f522cc785395bb.tar.gz linux-2fb857bc9f9e106439017ed323f522cc785395bb.tar.bz2 linux-2fb857bc9f9e106439017ed323f522cc785395bb.zip |
powerpc/kcsan: Add exclusions from instrumentation
Exclude various incompatible compilation units from KCSAN
instrumentation.
Signed-off-by: Rohan McLure <rmclure@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230206021801.105268-2-rmclure@linux.ibm.com
Diffstat (limited to 'arch/powerpc/lib')
-rw-r--r-- | arch/powerpc/lib/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile index 4de71cbf6e8e..c4db459d304a 100644 --- a/arch/powerpc/lib/Makefile +++ b/arch/powerpc/lib/Makefile @@ -16,6 +16,8 @@ KASAN_SANITIZE_feature-fixups.o := n # restart_table.o contains functions called in the NMI interrupt path # which can be in real mode. Disable KASAN. KASAN_SANITIZE_restart_table.o := n +KCSAN_SANITIZE_code-patching.o := n +KCSAN_SANITIZE_feature-fixups.o := n ifdef CONFIG_KASAN CFLAGS_code-patching.o += -DDISABLE_BRANCH_PROFILING |