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

Add PFN_PTE_SHIFT, update_mmu_cache_range(), flush_dcache_folio() and
flush_icache_pages().

Link: https://lkml.kernel.org/r/20230802151406.3735276-30-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/xtensa/include/asm/cacheflush.h
arch/xtensa/include/asm/pgtable.h
arch/xtensa/mm/cache.c