]> www.infradead.org Git - users/willy/pagecache.git/commit
riscv: Implement the new page table range API
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 13 Feb 2023 19:12:22 +0000 (14:12 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 1 Aug 2023 19:14:17 +0000 (15:14 -0400)
commitd726259c64fa4f299c4568da65ff7d3e7b27d8f4
treee8d169aff1c05d29d848793624af13877b00fa53
parent73fe055d278d71d3735fd9b9c7fb22c4f29cc3c3
riscv: Implement the new page table range API

Add set_ptes(), update_mmu_cache_range() and flush_dcache_folio().
Change the PG_dcache_clean flag from being per-page to per-folio.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Acked-by: Mike Rapoport (IBM) <rppt@kernel.org>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: linux-riscv@lists.infradead.org
arch/riscv/include/asm/cacheflush.h
arch/riscv/include/asm/pgtable.h
arch/riscv/mm/cacheflush.c