]> www.infradead.org Git - nvme.git/commit
openrisc: implement the new page table range API
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 2 Aug 2023 15:13:47 +0000 (16:13 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 24 Aug 2023 23:20:22 +0000 (16:20 -0700)
commit063e409dcc37a5834fe94342b3cbcfe17d094eed
treece9f11a3640abb9f07b11c07b7412d0e305286c0
parent994209410919f2b84b7e4ab2e78785d9715308ad
openrisc: implement the new page table range API

Add PFN_PTE_SHIFT, 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.

Link: https://lkml.kernel.org/r/20230802151406.3735276-20-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Stafford Horne <shorne@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/openrisc/include/asm/cacheflush.h
arch/openrisc/include/asm/pgtable.h
arch/openrisc/mm/cache.c