linux/arch/riscv/include/uapi/asm
Atish Patra 8f5cb44b1b
RISC-V: KVM: Support sstc extension
Sstc extension allows the guest to program the vstimecmp CSR directly
instead of making an SBI call to the hypervisor to program the next
event. The timer interrupt is also directly injected to the guest by
the hardware in this case. To maintain backward compatibility, the
hypervisors also update the vstimecmp in an SBI set_time call if
the hardware supports it. Thus, the older kernels in guest also
take advantage of the sstc extension.

Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Acked-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/all/CAAhSdy2mb6wyqy0NAn9BcTWKMYEc0Z4zU3s3j7oNqBz6eDQ9sg@mail.gmail.com/
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-08-12 07:43:57 -07:00
..
auxvec.h riscv: Add cache information in AUX vector 2020-09-15 18:46:08 -07:00
bitsperlong.h treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers 2019-07-25 11:05:10 +02:00
bpf_perf_event.h riscv, bpf: Add missing uapi header for BPF_PROG_TYPE_PERF_EVENT programs 2019-12-19 16:03:31 +01:00
byteorder.h treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers 2019-07-25 11:05:10 +02:00
elf.h riscv: clean up the macro format in each header file 2019-11-12 12:04:52 -08:00
hwcap.h riscv: Fix typo in asm/hwcap.h uapi header 2020-07-30 11:37:38 -07:00
Kbuild treewide: Add SPDX license identifier - Kbuild 2019-05-30 11:32:33 -07:00
kvm.h RISC-V: KVM: Support sstc extension 2022-08-12 07:43:57 -07:00
perf_regs.h riscv: Add support for perf registers sampling 2019-09-05 00:48:58 -07:00
ptrace.h treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers 2019-07-25 11:05:10 +02:00
sigcontext.h treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers 2019-07-25 11:05:10 +02:00
ucontext.h riscv: clean up the macro format in each header file 2019-11-12 12:04:52 -08:00
unistd.h riscv: Wire up memfd_secret in UAPI header 2022-06-01 21:46:36 -07:00