On Wed, Mar 6, 2019 at 6:54 AM Lukas Auer <lukas.a...@aisec.fraunhofer.de> wrote: > > The supervisor binary interface (SBI) provides the necessary functions > to implement the platform IPI functions riscv_send_ipi() and > riscv_clear_ipi(). Use it to implement them. > > This adds support for inter-processor interrupts (IPIs) on RISC-V CPUs > running in supervisor mode. Support for machine mode is already > available for CPUs that include the SiFive CLINT. > > Signed-off-by: Lukas Auer <lukas.a...@aisec.fraunhofer.de> > Reviewed-by: Anup Patel <anup.pa...@wdc.com> > Reviewed-by: Bin Meng <bmeng...@gmail.com> > --- > > Changes in v2: None > > arch/riscv/Kconfig | 5 +++++ > arch/riscv/lib/Makefile | 1 + > arch/riscv/lib/sbi_ipi.c | 25 +++++++++++++++++++++++++ > 3 files changed, 31 insertions(+) > create mode 100644 arch/riscv/lib/sbi_ipi.c >
Tested-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot