csky: implement the new page table range API
Add PFN_PTE_SHIFT, update_mmu_cache_range() and flush_dcache_folio(). Change the PG_dcache_clean flag from being per-page to per-folio. Link: https://lkml.kernel.org/r/20230802151406.3735276-12-willy@infradead.org Signed-off-by:Matthew Wilcox (Oracle) <willy@infradead.org> Acked-by:
Guo Ren <guoren@kernel.org> Acked-by:
Mike Rapoport (IBM) <rppt@kernel.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org>
Showing
- arch/csky/abiv1/cacheflush.c 19 additions, 13 deletionsarch/csky/abiv1/cacheflush.c
- arch/csky/abiv1/inc/abi/cacheflush.h 2 additions, 0 deletionsarch/csky/abiv1/inc/abi/cacheflush.h
- arch/csky/abiv2/cacheflush.c 16 additions, 16 deletionsarch/csky/abiv2/cacheflush.c
- arch/csky/abiv2/inc/abi/cacheflush.h 8 additions, 2 deletionsarch/csky/abiv2/inc/abi/cacheflush.h
- arch/csky/include/asm/pgtable.h 5 additions, 3 deletionsarch/csky/include/asm/pgtable.h
Please register or sign in to comment