diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-02-05 11:56:13 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-02-08 17:09:46 +0300 |
commit | 903178d0ce6bb30ef80a3604ab9ee2b57869fbc9 (patch) | |
tree | 2dc4bcf515c211de2dea5da095deba4fae3d573e /scripts/gdb/linux/utils.py | |
parent | d137845c973147a22622cc76c7b0bc16f6206323 (diff) | |
download | linux-903178d0ce6bb30ef80a3604ab9ee2b57869fbc9.tar.xz |
powerpc/8xx: Fix software emulation interrupt
For unimplemented instructions or unimplemented SPRs, the 8xx triggers
a "Software Emulation Exception" (0x1000). That interrupt doesn't set
reason bits in SRR1 as the "Program Check Exception" does.
Go through emulation_assist_interrupt() to set REASON_ILLEGAL.
Fixes: fbbcc3bb139e ("powerpc/8xx: Remove SoftwareEmulation()")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ad782af87a222efc79cfb06079b0fd23d4224eaf.1612515180.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions