WSL2-Linux-Kernel/arch/powerpc/mm/nohash
Benjamin Gray 274d842fa1 powerpc/tlb: Add local flush for page given mm_struct and psize
Adds a local TLB flush operation that works given an mm_struct, VA to
flush, and page size representation. Most implementations mirror the
surrounding code. The book3s/32/tlbflush.h implementation is left as
a BUILD_BUG because it is more complicated and not required for
anything as yet.

This removes the need to create a vm_area_struct, which the temporary
patching mm work does not need.

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221109045112.187069-8-bgray@linux.ibm.com
2022-11-30 21:46:49 +11:00
..
8xx.c powerpc/32: Call mmu_mark_initmem_nx() regardless of data block mapping. 2022-07-27 21:36:05 +10:00
40x.c powerpc/32: Remove __map_without_ltlbs 2022-06-29 16:59:06 +10:00
44x.c powerpc/mm: Add __init attribute to eligible functions 2021-12-23 22:33:11 +11:00
Makefile powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
book3e_pgtable.c powerpc/book3e: Fix PUD allocation size in map_kernel_page() 2022-06-24 12:42:45 +10:00
e500.c powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
e500_hugetlbpage.c powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
kaslr_booke.c powerpc/book3e: remove #include <generated/utsrelease.h> 2022-11-30 21:46:48 +11:00
kup.c powerpc/kuap: Wire-up KUAP on 40x 2021-12-09 22:41:20 +11:00
mmu_context.c powerpc/mm: Make slice specific to book3s/64 2022-05-05 22:11:57 +10:00
tlb.c powerpc/tlb: Add local flush for page given mm_struct and psize 2022-11-30 21:46:49 +11:00
tlb_low.S powerpc: Remove CONFIG_PPC_FSL_BOOK3E 2022-09-26 23:00:13 +10:00
tlb_low_64e.S powerpc/64e: provide an addressing macro for use with TOC in alternate register 2022-09-28 19:22:12 +10:00