powerpc/kasan: Mark more real-mode code as not to be instrumented
authorPaul Mackerras <paulus@ozlabs.org>
Thu, 19 May 2022 07:45:21 +0000 (17:45 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 29 May 2022 00:30:42 +0000 (10:30 +1000)
commit743cdb7bd0f1cb32c03680c8b38257957db2e692
tree3e92577127273dacea450e9730296fab7ba65af6
parent6112bd00e84e5dbffebc3c1e908cbe914ca772ee
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
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/rtas.c
arch/powerpc/kexec/crash.c
arch/powerpc/platforms/powernv/Makefile