opensbi/lib/sbi
Anup Patel 1b8c0128f1 lib: Add RISC-V hypervisor v0.6.1 support
To support RISC-V hypervisor v0.6.1, we:
1. Don't need to explicitly forward WFI traps from VS/VU-mode
2. Have to delegate virtual instruction trap to HS-mode
3. Have to update trap redirection for changes in HSTATUS CSR

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
2020-06-08 15:41:23 +05:30
..
objects.mk lib: Add platform features in boot time print 2020-05-10 10:24:08 +05:30
riscv_asm.c lib: sbi: Improve misa_string() implementation 2020-05-07 09:08:26 +05:30
riscv_atomic.c include: Use more consistent name for atomic xchg() and cmpxchg() 2020-03-28 13:32:38 +05:30
riscv_hardfp.S lib: Move sbi core library to lib/sbi 2019-06-19 09:48:51 +05:30
riscv_locks.c lib: Move sbi core library to lib/sbi 2019-06-19 09:48:51 +05:30
sbi_bitmap.c lib: Simple bitmap library 2020-03-11 15:29:45 +05:30
sbi_bitops.c lib: sbi: Fix coding style issues 2020-03-10 10:27:28 +05:30
sbi_console.c include: sbi_console: Remove scratch parameter from sbi_dprintf() 2020-03-28 13:32:58 +05:30
sbi_ecall.c lib: Allow overriding SBI implementation ID 2020-04-19 17:00:05 +05:30
sbi_ecall_base.c lib: Allow overriding SBI implementation ID 2020-04-19 17:00:05 +05:30
sbi_ecall_hsm.c lib: sbi_ecall: Remove mcause, scratch and hartid parameters 2020-03-28 13:32:20 +05:30
sbi_ecall_legacy.c lib: sbi_tlb: Fix remote TLB HFENCE VVMA implementation 2020-05-07 08:55:38 +05:30
sbi_ecall_replace.c lib: sbi_tlb: Fix remote TLB HFENCE VVMA implementation 2020-05-07 08:55:38 +05:30
sbi_ecall_vendor.c lib: sbi_ecall: Remove mcause, scratch and hartid parameters 2020-03-28 13:32:20 +05:30
sbi_emulate_csr.c include: sbi_console: Remove scratch parameter from sbi_dprintf() 2020-03-28 13:32:58 +05:30
sbi_expected_trap.S lib: Rename unprivileged trap handler 2020-05-10 09:59:16 +05:30
sbi_fifo.c lib: Fix race conditions in tlb fifo access. 2019-08-16 08:42:55 +05:30
sbi_hart.c lib: Add RISC-V hypervisor v0.6.1 support 2020-06-08 15:41:23 +05:30
sbi_hfence.S lib: Add hfence instruction encoding 2019-12-23 09:12:16 +05:30
sbi_hsm.c lib: sbi_scratch: Introduce sbi_scratch_last_hartid() API 2020-03-28 13:32:41 +05:30
sbi_illegal_insn.c lib: Add RISC-V hypervisor v0.6.1 support 2020-06-08 15:41:23 +05:30
sbi_init.c lib: sbi_hart: Detect number of supported PMP regions 2020-05-19 09:19:48 +05:30
sbi_ipi.c include: sbi_ipi: Remove scratch parameter from most functions 2020-03-28 13:32:47 +05:30
sbi_math.c lib: Create a separate math helper function file 2020-05-10 09:59:24 +05:30
sbi_misaligned_ldst.c lib: sbi_misaligned_ldst: Remove mcause, scratch and hartid parameters 2020-03-28 13:32:14 +05:30
sbi_platform.c lib: sbi: Improve get_feature_str() implementation and usage 2020-05-19 09:19:34 +05:30
sbi_scratch.c lib: sbi_scratch: Introduce sbi_scratch_last_hartid() API 2020-03-28 13:32:41 +05:30
sbi_string.c lib: Rename string.x to sbi_string.x 2019-06-19 09:48:59 +05:30
sbi_system.c include: sbi_platform: Combine reboot and shutdown into one callback 2020-04-27 14:35:29 +05:30
sbi_timer.c include: sbi: Use scratch pointer as parmeter in HART feature APIs 2020-05-19 09:19:42 +05:30
sbi_tlb.c lib: sbi_tlb: Fix remote TLB HFENCE VVMA implementation 2020-05-07 08:55:38 +05:30
sbi_trap.c lib: Add RISC-V hypervisor v0.6.1 support 2020-06-08 15:41:23 +05:30
sbi_unpriv.c lib: Optimize inline assembly for unprivilege access functions 2020-05-16 17:52:42 +05:30