diff options
author | Tom Rini <trini@konsulko.com> | 2020-03-18 07:48:11 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-03-18 07:48:11 -0400 |
commit | 78176d408bf18de14988a781c59abe38ee350963 (patch) | |
tree | 4b6ad8e79aa17df97a4ff320613317e2b43b62c8 /arch/riscv/lib/sbi_ipi.c | |
parent | a4df9d8ab848ea4ff10b247ae435b0a14bbbd066 (diff) | |
parent | 5bde2152d42515f7af46d210d7edf14e3b10d5f5 (diff) |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv
- Fix sbi_remote_sfence_vma{,_asid}.
- Avoid calling sbi_clear_ipi().
- Add new SBI v0.2 extensions support.
Diffstat (limited to 'arch/riscv/lib/sbi_ipi.c')
-rw-r--r-- | arch/riscv/lib/sbi_ipi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/riscv/lib/sbi_ipi.c b/arch/riscv/lib/sbi_ipi.c index 9a698ce74e..abafca9e5c 100644 --- a/arch/riscv/lib/sbi_ipi.c +++ b/arch/riscv/lib/sbi_ipi.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <asm/encoding.h> #include <asm/sbi.h> int riscv_send_ipi(int hart) @@ -19,7 +20,7 @@ int riscv_send_ipi(int hart) int riscv_clear_ipi(int hart) { - sbi_clear_ipi(); + csr_clear(CSR_SIP, SIP_SSIP); return 0; } |