powerpc/64s/interrupt: Change must-hard-mask interrupt check from BUG to WARN
authorNicholas Piggin <npiggin@gmail.com>
Tue, 4 Oct 2022 05:11:56 +0000 (15:11 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 4 Oct 2022 12:16:20 +0000 (23:16 +1100)
commit8154850b28bd57a35ea73a7518ffcb9ccd5e43bc
treee04e918f164c9c10b3271100cc7030d1d5e8a812
parent8535a1afff0f4f568eb589f3795a930ef3d483b0
powerpc/64s/interrupt: Change must-hard-mask interrupt check from BUG to WARN

This new assertion added is generally harmless and gets fixed up
naturally, but it does indicate a problem with MSR manipulation
somewhere.

Fixes: c39fb71a54f0 ("powerpc/64s/interrupt: masked handler debug check for previous hard disable")
Reported-by: Sachin Sant <sachinp@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Sachin Sant <sachinp@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221004051157.308999-1-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S