[PATCH v7 00/10] Misc clean ups to target/ppc exception handling

BALATON Zoltan posted 10 patches 2 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1709045654.git.balaton@eik.bme.hu
Maintainers: Nicholas Piggin <npiggin@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>
target/ppc/cpu.h         |   1 +
target/ppc/excp_helper.c | 485 ++++++++++++---------------------------
target/ppc/translate.c   |  40 ++--
3 files changed, 176 insertions(+), 350 deletions(-)
[PATCH v7 00/10] Misc clean ups to target/ppc exception handling
Posted by BALATON Zoltan 2 months, 2 weeks ago
These are some small clean ups for target/ppc/excp_helper.c trying to
make this code a bit simpler. No functional change is intended. This
series was submitted before but only partially merged due to freeze
and conflicting series os thia was postponed then to avoid conflicts.

v7:
- New patch adding gen_exception_err_nip() as suggested by Nick
- Remove unneeded else branch after return

v6:
- rebase on master
- added R-b tags and changes from Harsh

v5:
- rebase on master
- keep logging nip pointing to the sc instruction
- add another patch

v4: Rebased on master dropping what was merged

BALATON Zoltan (10):
  target/ppc: Use env_cpu for cpu_abort in excp_helper
  target/ppc: Readability improvements in exception handlers
  target/ppc: Add gen_exception_err_nip() function
  target/ppc: Fix gen_sc to use correct nip
  target/ppc: Move patching nip from exception handler to helper_scv
  target/ppc: Simplify syscall exception handlers
  target/ppc: Clean up ifdefs in excp_helper.c, part 1
  target/ppc: Clean up ifdefs in excp_helper.c, part 2
  target/ppc: Clean up ifdefs in excp_helper.c, part 3
  target/ppc: Remove interrupt handler wrapper functions

 target/ppc/cpu.h         |   1 +
 target/ppc/excp_helper.c | 485 ++++++++++++---------------------------
 target/ppc/translate.c   |  40 ++--
 3 files changed, 176 insertions(+), 350 deletions(-)

-- 
2.30.9