]> www.infradead.org Git - users/willy/pagecache.git/commit
arc: Implement the new page table range API
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Fri, 10 Feb 2023 20:35:06 +0000 (15:35 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 1 Aug 2023 19:14:16 +0000 (15:14 -0400)
commit7cfb9a4250f7c40043e7f3e7076d7bc45d329c65
tree2a80225274478b980bd5c52e610c115ed643e2d8
parent2bac5734808702fe2787b15194ae7d57f3d9e0d9
arc: Implement the new page table range API

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

Change the PG_dc_clean flag from being per-page to per-folio (which
means it cannot always be set as we don't know that all pages in this
folio were cleaned).  Enhance the internal flush routines to take the
number of pages to flush.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Vineet Gupta <vgupta@kernel.org>
Cc: linux-snps-arc@lists.infradead.org
arch/arc/include/asm/cacheflush.h
arch/arc/include/asm/pgtable-bits-arcv2.h
arch/arc/include/asm/pgtable-levels.h
arch/arc/mm/cache.c
arch/arc/mm/tlb.c