powerpc/64: Don't call trace_hardirqs_on() in prep_irq_for_idle()
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Apr 2023 14:45:33 +0000 (00:45 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Apr 2023 03:21:49 +0000 (13:21 +1000)
commit6fee130204650515af80c2786176da0fe7e94482
tree5aab397122c561508d189383ad27a545b821b53d
parent7640854d966449e5befeff02c45c799cfc3d4fcf
powerpc/64: Don't call trace_hardirqs_on() in prep_irq_for_idle()

Since commit a01353cf1896 ("cpuidle: Fix ct_idle_*() usage"), the
cpuidle entry code calls trace_hardirqs_on() (actually
trace_hardirqs_on_prepare()) in ct_cpuidle_enter() before calling into
the cpuidle driver.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230406144535.3786008-2-mpe@ellerman.id.au
arch/powerpc/kernel/irq_64.c