Skip to content

target/ppc: Implement Dynamic Execution Control Registers

Nicholas Miehlbradt qemu-devel 3 versions – Applied

Status from this message: Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesApplied
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Fix typos

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2target/ppc: Implement the DEXCR and HDEXCRtarget/ppc/cpu.h target/ppc/cpu_init.c target/ppc/spr_common.h +1 more+64 -01 reply
2/2target/ppc: Check DEXCR on hash{st, chk} instructionstarget/ppc/excp_helper.c+43 -150 replies

Reviews trailers per patch

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

PatchDaniel Henrique Barboza
1/2R-b
2/2R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] target/ppc: Implement Dynamic Execution Control Registers

Implements the Dynamic Execution Control Register (DEXCR) and the Hypervisor Dynamic Execution Control Register (HDEXCR) in TCG as defined in Power ISA 3.1B. Only aspects 5 (Non-privileged hash instruction enable) and 6 (Privileged hash instruction enable) have architectural effects. Other aspects can be manipulated but have no effect on execution.

Adds checks to these registers in the hashst and hashchk instructions so that they are executed as nops when not enabled.

There is currently an RFC for the kernel interface for the DEXCR on the Linux PPC mailing list:
https://lore.kernel.org/linuxppc-dev/[email protected]/

v3:
- Fix typos

v2:
- Clearing of upper 32 bits of userspace registers is now performed on register read rather than register write.

Nicholas Miehlbradt (2):
target/ppc: Implement the DEXCR and HDEXCR target/ppc: Check DEXCR on hash{st, chk} instructions

 target/ppc/cpu.h         | 19 +++++++++++++
 target/ppc/cpu_init.c    | 25 +++++++++++++++++
 target/ppc/excp_helper.c | 58 +++++++++++++++++++++++++++++-----------
 target/ppc/spr_common.h  |  1 +
 target/ppc/translate.c   | 19 +++++++++++++
 5 files changed, 107 insertions(+), 15 deletions(-)
Signature · 1 line
2.34.1