]> www.infradead.org Git - users/dwmw2/linux.git/commit
riscv: jump_label: Batch icache maintenance
authorSamuel Holland <samuel.holland@sifive.com>
Wed, 27 Mar 2024 16:04:40 +0000 (09:04 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 26 Jun 2024 14:36:27 +0000 (07:36 -0700)
commit652b56b18439b7753eb0dcd5a2a4b6cc5b18cf67
tree2838eaafa37cbecff59338021ae1a655327bf715
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
riscv: jump_label: Batch icache maintenance

Switch to the batched version of the jump label update functions so
instruction cache maintenance is deferred until the end of the update.

Reviewed-by: Björn Töpel <bjorn@rivosinc.com>
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Link: https://lore.kernel.org/r/20240327160520.791322-2-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/jump_label.h
arch/riscv/kernel/jump_label.c