aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorBenjamin Gray <[email protected]>2022-11-09 04:51:10 +0000
committerMichael Ellerman <[email protected]>2022-11-30 10:46:49 +0000
commit274d842fa1efd9449e62222c8896e0be11621f1f (patch)
treee561c879fbb8aec516100c49d8a3127bfae68a26 /arch/powerpc/lib/code-patching.c
parentpowerpc/mm: Remove flush_all_mm, local_flush_all_mm (diff)
downloadkernel-274d842fa1efd9449e62222c8896e0be11621f1f.tar.gz
kernel-274d842fa1efd9449e62222c8896e0be11621f1f.zip
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 <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions