[U-Boot] [PATCH v2 3/9] riscv: implement IPI platform functions using SBI
Bin Meng
bmeng.cn at gmail.com
Sun Mar 10 13:01:12 UTC 2019
On Wed, Mar 6, 2019 at 6:54 AM Lukas Auer
<lukas.auer at 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.auer at aisec.fraunhofer.de>
> Reviewed-by: Anup Patel <anup.patel at wdc.com>
> Reviewed-by: Bin Meng <bmeng.cn at 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.cn at gmail.com>
More information about the U-Boot
mailing list