]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb02dcbb70df711bf1a26daa09655602f07fe4606
tree3e92577127273dacea450e9730296fab7ba65af6
parent4fb24b96cd0670a06164704202c0f4b1c8b9576a
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