]> git.proxmox.com Git - mirror_qemu.git/commit
target/ppc: Remove single-step suppression inside 0x100-0xf00
authorNicholas Piggin <npiggin@gmail.com>
Tue, 8 Aug 2023 03:11:11 +0000 (13:11 +1000)
committerCédric Le Goater <clg@kaod.org>
Wed, 6 Sep 2023 09:19:32 +0000 (11:19 +0200)
commit98a18f4d1189886921f563bbff86c30090915dfd
tree48e748c89697b19f973bab8e1688828498beac6c
parent99837aa88ce0494f8adb0ebf6bc7ce951f048a8d
target/ppc: Remove single-step suppression inside 0x100-0xf00

Single-step interrupts are suppressed if the nip is between 0x100 and
0xf00. This has been the case for a long time and it's not clear what
the intention is. Likely either an attempt to suppress trace interrupts
for instructions that cause an interrupt on completion, or a workaround
to prevent software tripping over itself single stepping its interrupt
handlers.

BookE interrupt vectors are set by IVOR registers, and BookS has AIL
modes and new interrupt types, so there are many interrupts including
the debug interrupt which can be outside this range. So any effect it
might have had does not cover most cases (including Linux on recent
BookS CPUs).

Remove this special case.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[ clg : fixed typo in commit logs ]
Signed-off-by: Cédric Le Goater <clg@kaod.org>
target/ppc/translate.c