aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2023-03-28 09:22:22 +0530
committerMarc Zyngier <[email protected]>2023-04-08 11:26:24 +0100
commit6279228432352f43f43f5e760771151605bf6d82 (patch)
treee8a3aef57fad6c5c9a98419754e1d300a183c3de /lib/crypto/mpi/mpiutil.c
parent18d2199d81054f44e6d2a51177cc80566f43bf23 (diff)
RISC-V: Use IPIs for remote icache flush when possible
If we have specialized interrupt controller (such as AIA IMSIC) which allows supervisor mode to directly inject IPIs without any assistance from M-mode or HS-mode then using such specialized interrupt controller, we can do remote icache flushe directly from supervisor mode instead of using the SBI RFENCE calls. This patch extends remote icache flush functions to use supervisor mode IPIs whenever direct supervisor mode IPIs.are supported by interrupt controller. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Atish Patra <[email protected]> Acked-by: Palmer Dabbelt <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions