]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: machine check do not trace real-mode handler
authorNicholas Piggin <npiggin@gmail.com>
Fri, 8 May 2020 04:34:05 +0000 (14:34 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 14:10:34 +0000 (00:10 +1000)
commitc004e6c29a0aadac267db0dba69aaf7dd348e9d3
treecfa122e700d8609a592b2647576ee867ee8c3531
parentcae2bc2069f0e271e47f504b3fc3bcf18b898f9c
powerpc/64s: machine check do not trace real-mode handler

Rather than notrace annotations throughout a significant part of the
machine check code across kernel/ pseries/ and powernv/ which can
easily be broken and is infrequently tested, use paca->ftrace_enabled
to blanket-disable tracing of the real-mode non-maskable handler.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Acked-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Link: https://lore.kernel.org/r/20200508043408.886394-14-npiggin@gmail.com
arch/powerpc/kernel/mce.c