RISC-V: Add mechanism to provide custom IPI operations
authorAnup Patel <anup.patel@wdc.com>
Mon, 17 Aug 2020 12:42:48 +0000 (18:12 +0530)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 20 Aug 2020 17:55:40 +0000 (10:55 -0700)
commitcc7f3f72dc2ae2b383142896d79ca1e237ad7e8b
treeb0b8d25b06abf88592ec0a70476cc0fb291fe88e
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
RISC-V: Add mechanism to provide custom IPI operations

We add mechanism to set custom IPI operations so that CLINT driver
from drivers directory can provide custom IPI operations.

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Tested-by: Emil Renner Berhing <kernel@esmil.dk>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/include/asm/clint.h
arch/riscv/include/asm/smp.h
arch/riscv/kernel/clint.c
arch/riscv/kernel/sbi.c
arch/riscv/kernel/smp.c
arch/riscv/kernel/smpboot.c