Skip to content

ppc: rework AIL logic, add POWER10 exception model

Nicholas Piggin qemu-devel 1 version Applied

Status from this message: Applied to ppc-for-6.1, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2target/ppc: rework AIL logic in interrupt deliveryhw/ppc/spapr_hcall.c target/ppc/cpu.h target/ppc/excp_helper.c +1 more+108 -701 reply
2/2target/ppc: Add POWER10 exception modelhw/ppc/spapr_hcall.c target/ppc/cpu-qom.h target/ppc/cpu.h +3 more+65 -81 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchCédric Le Goater
1/2R-b T-b
2/2R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] ppc: rework AIL logic, add POWER10 exception model

Here are the last 2 patches of this series rebased on the ppc-for-6.1 tree. I've tidied up the comments and control flow around the reserved values of AIL, so different behaviours/reasons are treated individually which hopefully addresses David's comments.

On real hardware, setting LPCR[AIL] to a reserved value (e.g., 1 on POWER9) causes the register to retain that value but it's treated like 0, which matches what the patch does.

Thanks,
Nick

Nicholas Piggin (2):
target/ppc: rework AIL logic in interrupt delivery target/ppc: Add POWER10 exception model

 hw/ppc/spapr_hcall.c            |   8 +-
 target/ppc/cpu-qom.h            |   2 +
 target/ppc/cpu.h                |  13 +-
 target/ppc/excp_helper.c        | 217 +++++++++++++++++++++++---------
 target/ppc/translate.c          |   3 +-
 target/ppc/translate_init.c.inc |   4 +-
 6 files changed, 171 insertions(+), 76 deletions(-)
Signature · 1 line
2.23.0