]> www.infradead.org Git - users/willy/pagecache.git/commit
arm: 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:17 +0000 (15:14 -0400)
commit10242d3d2bdaab48dce64fe2fb97b363278ac0a3
tree806600577af4805a29d5374cb020e6297a2a9c66
parent7cfb9a4250f7c40043e7f3e7076d7bc45d329c65
arm: Implement the new page table range API

Add set_ptes(), update_mmu_cache_range(), flush_dcache_folio() and
flush_icache_pages().  Change the PG_dcache_clear flag from being per-page
to per-folio which makes __dma_page_dev_to_cpu() a bit more exciting.
Also add flush_cache_pages(), even though this isn't used by generic code
(yet?)

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org
12 files changed:
arch/arm/include/asm/cacheflush.h
arch/arm/include/asm/pgtable.h
arch/arm/include/asm/tlbflush.h
arch/arm/mm/copypage-v4mc.c
arch/arm/mm/copypage-v6.c
arch/arm/mm/copypage-xscale.c
arch/arm/mm/dma-mapping.c
arch/arm/mm/fault-armv.c
arch/arm/mm/flush.c
arch/arm/mm/mm.h
arch/arm/mm/mmu.c
arch/arm/mm/nommu.c