diff options
author | Benjamin Gray <bgray@linux.ibm.com> | 2022-11-09 15:51:09 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-11-30 21:46:49 +1100 |
commit | d34471c9bd5d47ab148dd68817631a4238f755c4 (patch) | |
tree | b3f533118e207843e758c78f299f0c5bd661d1e2 /arch/powerpc/lib/code-patching.c | |
parent | 0f0a0a6091e678b1a75078ecd6b02176f3228dbb (diff) | |
download | linux-d34471c9bd5d47ab148dd68817631a4238f755c4.tar.gz linux-d34471c9bd5d47ab148dd68817631a4238f755c4.tar.bz2 linux-d34471c9bd5d47ab148dd68817631a4238f755c4.zip |
powerpc/mm: Remove flush_all_mm, local_flush_all_mm
These functions were introduced for "cxl: Enable global TLBIs for cxl
contexts" [1], which ended up using them for Radix only. They were never
implemented on Hash (and creating an implementation appears to be
difficult), so nothing can actually rely on them.
They behave differently to the existing surrounding functions too, in
that they actually need to do something on Hash. The other functions
are primarily for use in generic code that expects their definitions,
but Hash updates the TLB during PTE updates.
After replacing the only usage with the Radix specific version, there
are no more users of these functions, and given they are not implemented
anyway it is safe to delete them.
[1]: https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170903181513.29635-1-fbarrat@linux.vnet.ibm.com/
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-7-bgray@linux.ibm.com
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions