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>
Showing
- arch/riscv/include/asm/clint.h 0 additions, 25 deletionsarch/riscv/include/asm/clint.h
- arch/riscv/include/asm/smp.h 19 additions, 0 deletionsarch/riscv/include/asm/smp.h
- arch/riscv/kernel/clint.c 21 additions, 2 deletionsarch/riscv/kernel/clint.c
- arch/riscv/kernel/sbi.c 14 additions, 0 deletionsarch/riscv/kernel/sbi.c
- arch/riscv/kernel/smp.c 24 additions, 19 deletionsarch/riscv/kernel/smp.c
- arch/riscv/kernel/smpboot.c 1 addition, 2 deletionsarch/riscv/kernel/smpboot.c
Loading
Please register or sign in to comment