aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorRaghavendra Rao Ananta <[email protected]>2023-08-11 04:51:20 +0000
committerMarc Zyngier <[email protected]>2023-08-17 09:40:35 +0100
commit360839027a6e4c022e8cbaa373dd747185f1e0a5 (patch)
tree0baa6f58c79da8e3a6729d0669533310cff9fc65 /lib/crypto/mpi/mpi-sub-ui.c
parent619b5072443c05cf18c31b2c0320cdb42396d411 (diff)
arm64: tlb: Refactor the core flush algorithm of __flush_tlb_range
Currently, the core TLB flush functionality of __flush_tlb_range() hardcodes vae1is (and variants) for the flush operation. In the upcoming patches, the KVM code reuses this core algorithm with ipas2e1is for range based TLB invalidations based on the IPA. Hence, extract the core flush functionality of __flush_tlb_range() into its own macro that accepts an 'op' argument to pass any TLBI operation, such that other callers (KVM) can benefit. No functional changes intended. Signed-off-by: Raghavendra Rao Ananta <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Reviewed-by: Gavin Shan <[email protected]> Reviewed-by: Shaoqin Huang <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions