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(-) -- 2.20.1