powerpc: implement the new page table range API
Add set_ptes(), update_mmu_cache_range() and flush_dcache_folio(). Change the PG_arch_1 (aka PG_dcache_dirty) flag from being per-page to per-folio. [willy@infradead.org: re-export flush_dcache_icache_folio()] Link: https://lkml.kernel.org/r/ZMx1daYwvD9EM7Cv@casper.infradead.org Link: https://lkml.kernel.org/r/20230802151406.3735276-22-willy@infradead.org Signed-off-by:Matthew Wilcox (Oracle) <willy@infradead.org> Acked-by:
Mike Rapoport (IBM) <rppt@kernel.org> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Nicholas Piggin <npiggin@gmail.com> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org>
Showing
- arch/powerpc/include/asm/book3s/32/pgtable.h 0 additions, 5 deletionsarch/powerpc/include/asm/book3s/32/pgtable.h
- arch/powerpc/include/asm/book3s/64/pgtable.h 1 addition, 5 deletionsarch/powerpc/include/asm/book3s/64/pgtable.h
- arch/powerpc/include/asm/book3s/pgtable.h 3 additions, 8 deletionsarch/powerpc/include/asm/book3s/pgtable.h
- arch/powerpc/include/asm/cacheflush.h 10 additions, 4 deletionsarch/powerpc/include/asm/cacheflush.h
- arch/powerpc/include/asm/kvm_ppc.h 5 additions, 5 deletionsarch/powerpc/include/asm/kvm_ppc.h
- arch/powerpc/include/asm/nohash/pgtable.h 5 additions, 11 deletionsarch/powerpc/include/asm/nohash/pgtable.h
- arch/powerpc/include/asm/pgtable.h 12 additions, 0 deletionsarch/powerpc/include/asm/pgtable.h
- arch/powerpc/mm/book3s64/hash_utils.c 6 additions, 5 deletionsarch/powerpc/mm/book3s64/hash_utils.c
- arch/powerpc/mm/cacheflush.c 14 additions, 27 deletionsarch/powerpc/mm/cacheflush.c
- arch/powerpc/mm/nohash/e500_hugetlbpage.c 2 additions, 1 deletionarch/powerpc/mm/nohash/e500_hugetlbpage.c
- arch/powerpc/mm/pgtable.c 31 additions, 22 deletionsarch/powerpc/mm/pgtable.c
Loading
Please register or sign in to comment