]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s/exception: Fix 0x1500 interrupt handler crash
authorNicholas Piggin <npiggin@gmail.com>
Wed, 8 Jul 2020 07:49:42 +0000 (17:49 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 8 Jul 2020 10:41:06 +0000 (20:41 +1000)
commit06a1ab5292aafaa708491be5939a28feb11e6317
tree88ffdec918cb29ca657756ac70d17824ddfd0975
parent65bd8f2113174919f9fd1e84dc9dc01c8aaba3e4
powerpc/64s/exception: Fix 0x1500 interrupt handler crash

A typo caused the interrupt handler to branch immediately to the
common "unknown interrupt" handler and skip the special case test for
denormal cause.

This does not affect KVM softpatch handling (e.g., for POWER9 TM
assist) because the KVM test was moved to common code by commit
a0ffe9a2f0d6 ("powerpc/64s/exception: Move KVM test to common code")
just before this bug was introduced.

Fixes: 843d18d3a0f3 ("powerpc/64s/exception: Clean up SRR specifiers")
Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Paul Menzel <pmenzel@molgen.mpg.de>
[mpe: Split selftest into a separate patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200708074942.1713396-1-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S