RFC powerpc/64s/radix: Use non-atomic ops for PTE
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | powerpc/64s: update_mmu_cache inline the radix testarch/ arch/ arch/ | +14 | 2 replies | |
| 2/5 | powerpc/64s: implement mm_nmmu_has_tlbsarch/ arch/ arch/ +1 more | +23 | 0 replies | |
| 3/5 | powerpc/64s: add CONFIG_PPC_NMMU for nest MMU supportarch/ arch/ arch/ +3 more | +12 | 2 replies | |
| 4/5 | powerpc/64s/radix: implement complete radix__ptep_get_and_clear_fullarch/ arch/ | +7 | 0 replies | |
| 5/5 | powerpc/64s/radix: Use non-atomic PTE updates if the MMU does not modify the PTEarch/ arch/ | +83 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/5] powerpc/64s/radix: Use non-atomic ops for PTE
This is not entirely settled because of future compatibility concern but in terms of Linux code and existing processors I think the approach works.
Thanks,
Nick
Nicholas Piggin (5):
powerpc/64s: update_mmu_cache inline the radix test powerpc/64s: implement mm_nmmu_has_tlbs
powerpc/64s: add CONFIG_PPC_NMMU for nest MMU support powerpc/64s/radix: implement complete radix__ptep_get_and_clear_full powerpc/64s/radix: Use non-atomic PTE updates if the MMU does not
modify the PTE
arch/powerpc/Kconfig | 1 + arch/powerpc/include/asm/book3s/64/mmu.h | 2 + arch/powerpc/include/asm/book3s/64/pgtable.h | 10 +-- arch/powerpc/include/asm/book3s/64/radix.h | 50 +++++------ arch/powerpc/include/asm/book3s/64/tlbflush.h | 11 ++- arch/powerpc/include/asm/book3s/pgtable.h | 11 ++- arch/powerpc/include/asm/mmu_context.h | 5 +- arch/powerpc/mm/book3s32/mmu.c | 4 +- arch/powerpc/mm/book3s64/hash_utils.c | 7 +- arch/powerpc/mm/book3s64/radix_hugetlbpage.c | 3 +- arch/powerpc/mm/book3s64/radix_pgtable.c | 82 +++++++++++++++---- arch/powerpc/mm/book3s64/radix_tlb.c | 26 +++--- arch/powerpc/platforms/Kconfig | 3 + arch/powerpc/platforms/powernv/Kconfig | 1 + 14 files changed, 134 insertions(+), 82 deletions(-)
Signature · 1 line
2.23.0