OSDN Git Service

sparc64: implement the new page table range API
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 2 Aug 2023 15:13:54 +0000 (16:13 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 24 Aug 2023 23:20:24 +0000 (16:20 -0700)
commit1a10a44dfc1d55ba84987da1f8377258a044499c
treef49ad7b54a5b609ec76572a0bfcbd76d38045cd0
parent665f640294540a941aabb81ae46dfc671aff5259
sparc64: implement the new page table range API

Add set_ptes(), update_mmu_cache_range(), flush_dcache_folio() and
flush_icache_pages().  Convert the PG_dcache_dirty flag from being
per-page to per-folio.

Link: https://lkml.kernel.org/r/20230802151406.3735276-27-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/sparc/include/asm/cacheflush_64.h
arch/sparc/include/asm/pgtable_64.h
arch/sparc/kernel/smp_64.c
arch/sparc/mm/init_64.c
arch/sparc/mm/tlb.c