Skip to content

ppc: misc fixes for Radix and Hash

Cédric Le Goater qemu-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6target/ppc: Don't check UPRT in radix mode when in HV real modetarget/ppc/mmu-radix64.c+13 -31 reply
2/6ppc/spapr: Use proper HPTE accessors for H_READhw/ppc/spapr_hcall.c+5 -61 reply
3/6ppc/hash64: Rework R and C bit updateshw/ppc/spapr.c hw/ppc/spapr_hcall.c include/hw/ppc/spapr.h +3 more+93 -451 reply
4/6ppc/hash32: Rework R and C bit updatestarget/ppc/mmu-hash32.c+31 -141 reply
5/6memory_ldst: Add atomic ops for PTE updatesinclude/exec/memory_ldst.inc.h memory_ldst.inc.c+86 -03 replies
6/6ppc: Fix radix RC updatestarget/ppc/cpu.h target/ppc/mmu-radix64.c+60 -110 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchDavid Gibson
1/6
2/6
3/6
4/6
5/6R-b
6/6

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] ppc: misc fixes for Radix and Hash

Hi,

Here is a series of patches from Ben providing MMU fixes for sPAPR and PowerNV. They seem of interest and deserve a closer look by people with good knowledge of the PPC MMU.

Thanks,

C.

Benjamin Herrenschmidt (6):
target/ppc: Don't check UPRT in radix mode when in HV real mode ppc/spapr: Use proper HPTE accessors for H_READ ppc/hash64: Rework R and C bit updates
ppc/hash32: Rework R and C bit updates
memory_ldst: Add atomic ops for PTE updates
ppc: Fix radix RC updates

 include/exec/memory_ldst.inc.h |  6 +++
 include/hw/ppc/spapr.h         |  2 +
 target/ppc/cpu.h               |  5 +-
 target/ppc/mmu-hash64.h        |  2 -
 hw/ppc/spapr.c                 | 41 ++++++++++++++--
 hw/ppc/spapr_hcall.c           | 24 +++++-----
 memory_ldst.inc.c              | 80 +++++++++++++++++++++++++++++++
 target/ppc/mmu-hash32.c        | 45 ++++++++++++------
 target/ppc/mmu-hash64.c        | 76 ++++++++++++++++++------------
 target/ppc/mmu-radix64.c       | 86 ++++++++++++++++++++++++++++------
 10 files changed, 288 insertions(+), 79 deletions(-)
Signature · 1 line
2.20.1