Skip to content

ppc: add native hash and radix support for POWER9

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 Latest12 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/12target/ppc/spapr: Set LPCR:HR when using Radix modehw/ppc/spapr.c hw/ppc/spapr_hcall.c hw/ppc/spapr_rtas.c +3 more+54 -431 reply
2/12target/ppci/mmu: Use LPCR:HR to chose radix vs. hash translationtarget/ppc/mmu-book3s-v3.c target/ppc/mmu-book3s-v3.h target/ppc/mmu_helper.c+21 -133 replies
3/12target/ppc: Re-enable RMLS on POWER9 for virtual hypervisorstarget/ppc/mmu-hash64.c+8 -01 reply
4/12target/ppc: Fix #include guard in mmu-book3s-v3.htarget/ppc/mmu-book3s-v3.h+3 -31 reply
5/12target/ppc: Cleanup 64-bit MMU includeshw/ppc/spapr_hcall.c target/ppc/mmu-book3s-v3.c target/ppc/mmu-book3s-v3.h +2 more+3 -51 reply
6/12target/ppc: Fix ordering of hash MMU accesseshw/ppc/spapr.c target/ppc/mmu-hash32.c target/ppc/mmu-hash64.c+31 -21 reply
7/12target/ppc: Add basic support for "new format" HPTE as found on POWER9target/ppc/mmu-book3s-v3.h target/ppc/mmu-hash64.c target/ppc/mmu-hash64.h+22 -02 replies
8/12target/ppc: Fix synchronization of mttcg with broadcast TLB flushestarget/ppc/helper_regs.h+10 -170 replies
9/12target/ppc: Flush the TLB locally when the LPIDR is writtentarget/ppc/helper.h target/ppc/misc_helper.c target/ppc/translate_init.inc.c+22 -10 replies
10/12target/ppc: Rename PATB/PATBE -> PATEhw/ppc/spapr.c hw/ppc/spapr_hcall.c target/ppc/cpu.h +3 more+54 -310 replies
11/12target/ppc: Support for POWER9 native hashtarget/ppc/mmu-book3s-v3.c target/ppc/mmu-book3s-v3.h target/ppc/mmu-hash64.c +1 more+68 -200 replies
12/12target/ppc: Basic POWER9 bare-metal radix MMU supporttarget/ppc/mmu-radix64.c+69 -120 replies

Reviews trailers per patch

2 of 12 patches have a Reviewed-by or Acked-by.

PatchDavid Gibson
1/12R-b
2/12R-b
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12

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 00/12] ppc: add native hash and radix support for POWER9

Hello,

Here is another series of fixes and extensions from Ben providing support for POWER9 native hash MMU and POWER9 native radix MMU. These prepare ground for the support of QEMU POWER9 PowerNV machines.

Quoted 1 line

From there, I hand over the patchset to Suraj for any follow-ups.

Thanks,

C.

Benjamin Herrenschmidt (12):
target/ppc/spapr: Set LPCR:HR when using Radix mode target/ppci/mmu: Use LPCR:HR to chose radix vs. hash translation target/ppc: Re-enable RMLS on POWER9 for virtual hypervisors target/ppc: Fix #include guard in mmu-book3s-v3.h target/ppc: Cleanup 64-bit MMU includes
target/ppc: Fix ordering of hash MMU accesses
target/ppc: Add basic support for "new format" HPTE as found on POWER9 target/ppc: Fix synchronization of mttcg with broadcast TLB flushes target/ppc: Flush the TLB locally when the LPIDR is written target/ppc: Rename PATB/PATBE -> PATE
target/ppc: Support for POWER9 native hash
target/ppc: Basic POWER9 bare-metal radix MMU support

 include/hw/ppc/spapr.h          |  1 +
 target/ppc/cpu.h                |  7 ++-
 target/ppc/helper.h             |  1 +
 target/ppc/helper_regs.h        | 27 ++++------
 target/ppc/mmu-book3s-v3.h      | 89 +++++++++++++++++++++++++++---
 target/ppc/mmu-hash64.h         | 22 ++------
 target/ppc/mmu-radix64.h        |  4 +-
 hw/ppc/spapr.c                  | 86 ++++++++++++++++++++++++-----
 hw/ppc/spapr_hcall.c            | 69 +++++++-----------------
 hw/ppc/spapr_rtas.c             |  6 +--
 target/ppc/misc_helper.c        | 15 ++++++
 target/ppc/mmu-book3s-v3.c      | 31 +++++++++--
 target/ppc/mmu-hash32.c         |  6 +++
 target/ppc/mmu-hash64.c         | 28 ++++++++--
 target/ppc/mmu-radix64.c        | 96 ++++++++++++++++++++++++++-------
 target/ppc/mmu_helper.c         |  9 +---
 target/ppc/translate_init.inc.c |  7 ++-
 17 files changed, 361 insertions(+), 143 deletions(-)
Signature · 1 line
2.20.1