diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2022-05-19 17:45:21 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-29 10:30:42 +1000 |
commit | 743cdb7bd0f1cb32c03680c8b38257957db2e692 (patch) | |
tree | 3e92577127273dacea450e9730296fab7ba65af6 /arch/powerpc/kexec/crash.c | |
parent | 6112bd00e84e5dbffebc3c1e908cbe914ca772ee (diff) | |
download | linux-next-743cdb7bd0f1cb32c03680c8b38257957db2e692.tar.gz |
powerpc/kasan: Mark more real-mode code as not to be instrumented
This marks more files and functions that can possibly be called in
real mode as not to be instrumented by KASAN. Most were found by
inspection, except for get_pseries_errorlog() which was reported as
causing a crash in testing.
Reported-by: Nageswara R Sastry <rnsastry@linux.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/YoX1kZPnmUX4RZEK@cleo
Diffstat (limited to 'arch/powerpc/kexec/crash.c')
-rw-r--r-- | arch/powerpc/kexec/crash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kexec/crash.c b/arch/powerpc/kexec/crash.c index d85fa9fc6f3c..80f54723cf6d 100644 --- a/arch/powerpc/kexec/crash.c +++ b/arch/powerpc/kexec/crash.c @@ -224,7 +224,7 @@ void crash_kexec_secondary(struct pt_regs *regs) /* wait for all the CPUs to hit real mode but timeout if they don't come in */ #if defined(CONFIG_SMP) && defined(CONFIG_PPC64) -static void __maybe_unused crash_kexec_wait_realmode(int cpu) +noinstr static void __maybe_unused crash_kexec_wait_realmode(int cpu) { unsigned int msecs; int i; |