Skip to content

Misc clean ups to target/ppc exception handling

BALATON Zoltan qemu-devel 7 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest10 patches 8 repliesIn review
  2. v69 patches 6 repliesSuperseded
  3. v59 patches 11 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v47 of 8 patches3 repliesSuperseded
v314 patches21 repliesSuperseded
v210 patches10 repliesSuperseded
v110 patches23 repliesSuperseded

Changes in v7 from the cover letter

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

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10target/ppc: Use env_cpu for cpu_abort in excp_helpertarget/ppc/excp_helper.c+63 -550 replies
2/10target/ppc: Readability improvements in exception handlerstarget/ppc/cpu.h target/ppc/excp_helper.c+33 -1475 replies
3/10target/ppc: Add gen_exception_err_nip() functiontarget/ppc/translate.c+15 -131 reply
4/10target/ppc: Fix gen_sc to use correct niptarget/ppc/excp_helper.c target/ppc/translate.c+4 -452 replies
5/10target/ppc: Move patching nip from exception handler to helper_scvtarget/ppc/excp_helper.c target/ppc/translate.c+6 -20 replies
6/10target/ppc: Simplify syscall exception handlerstarget/ppc/excp_helper.c+6 -160 replies
7/10target/ppc: Clean up ifdefs in excp_helper.c, part 1target/ppc/excp_helper.c+24 -250 replies
8/10target/ppc: Clean up ifdefs in excp_helper.c, part 2target/ppc/excp_helper.c+2 -20 replies
9/10target/ppc: Clean up ifdefs in excp_helper.c, part 3target/ppc/excp_helper.c+2 -130 replies
10/10target/ppc: Remove interrupt handler wrapper functionstarget/ppc/excp_helper.c+28 -390 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchHarsh Prateek BoraPhilippe Mathieu-DaudéNicholas Piggin
1/10R-b R-b
2/10A-b
3/10R-b
4/10R-b
5/10
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

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

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(-)
Signature · 1 line
2.30.9