Skip to content

Add new PowerPC Special Purpose Registers

dan tan qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 0 repliesSuperseded
  3. v11 patch 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ppc/pnv: Add new PowerPC Special Purpose Registers (DAWR1, DAWRX1)hw/ppc/spapr_hcall.c include/hw/ppc/spapr.h target/ppc/cpu.c +8 more+121 -470 replies
2/2ppc/pnv: Add new PowerPC Special Purpose Registers (RWMR)target/ppc/cpu.h target/ppc/cpu_init.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Add new PowerPC Special Purpose Registers

From: dan tan <[email protected]>

*** BLURB HERE ***
Version 3 summary:
RWMR (Region Weighted Mode Register) -
- change the register to generic read/write from nop/write

Version 2 summary:
(DAWR1,DAWRX1):
- spec reference: https://files.openpower.foundation/s/EgCy7C43p2NSRfR
- corrected commit message format
- combine DAWR(0/1) handling into a single function
- add DAWR1 & DAWRX1 to init_proc_POWER10() only.

RWMR (Region Weighted Mode Register) -
- corrected the previous definition as ITV1
- spec reference:
https://ibm.ent.box.com/s/tmklq90ze7aj8f4n32er1mu3sy9u8k3k (Power9)
- it appears that part of the previous upstream request SPRs (SPR_POWER_MMCR3, SPR_POWER_SIER2, SPR_POWER_SIER3) are already in the current master. Therefore, removed those from this request.

dan tan (2):
ppc/pnv: Add new PowerPC Special Purpose Registers (DAWR1,DAWRX1) ppc/pnv: Add new PowerPC Special Purpose Registers (RWMR)

 include/hw/ppc/spapr.h   |  2 +-
 target/ppc/cpu.h         |  8 +++--
 target/ppc/helper.h      |  4 +--
 target/ppc/spr_common.h  |  2 ++
 hw/ppc/spapr_hcall.c     | 24 ++++++++------
 target/ppc/cpu.c         | 69 ++++++++++++++++++++++++++--------------
 target/ppc/cpu_init.c    | 20 ++++++++++++
 target/ppc/excp_helper.c | 11 ++++++-
 target/ppc/machine.c     |  5 ++-
 target/ppc/misc_helper.c |  8 ++---
 target/ppc/translate.c   | 21 ++++++++++--
 11 files changed, 127 insertions(+), 47 deletions(-)
Signature · 1 line
2.39.5