linux/arch/riscv/include/uapi/asm
Quan Zhou f55ffaf896 RISC-V: KVM: Enable ring-based dirty memory tracking
Enable ring-based dirty memory tracking on riscv:

- Enable CONFIG_HAVE_KVM_DIRTY_RING_ACQ_REL as riscv is weakly
  ordered.
- Set KVM_DIRTY_LOG_PAGE_OFFSET for the ring buffer's physical page
  offset.
- Add a check to kvm_vcpu_kvm_riscv_check_vcpu_requests for checking
  whether the dirty ring is soft full.

To handle vCPU requests that cause exits to userspace, modified the
`kvm_riscv_check_vcpu_requests` to return a value (currently only
returns 0 or 1).

Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20e116efb1f7aff211dd8e3cf8990c5521ed5f34.1749810735.git.zhouquan@iscas.ac.cn
Signed-off-by: Anup Patel <anup@brainfault.org>
2025-07-28 22:28:22 +05:30
..
vendor riscv: hwprobe: Add SiFive xsfvfwmaccqqq vendor extension 2025-05-08 11:01:44 -07:00
auxvec.h RISC-V: Update AT_VECTOR_SIZE_ARCH for new AT_MINSIGSTKSZ 2024-03-27 07:07:35 -07:00
bitsperlong.h asm-generic: partially revert "Unify uapi bitsperlong.h for arm64, riscv and loongarch" 2023-08-17 14:51:20 +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
elf.h riscv: Add remaining module relocations 2023-11-07 14:59:31 -08:00
hwcap.h riscv: Extending cpufeature.c to detect V-extension 2023-06-08 07:16:35 -07:00
hwprobe.h Merge tag 'riscv-mw1-6.16-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/alexghiti/linux into for-next 2025-06-05 12:26:06 -07:00
Kbuild riscv: convert to generic syscall table 2024-07-10 14:23:38 +02:00
kvm.h RISC-V: KVM: Enable ring-based dirty memory tracking 2025-07-28 22:28:22 +05:30
perf_regs.h
ptrace.h Merge patch "RISC-V: Add ptrace support for vectors" 2023-09-08 11:24:38 -07:00
setup.h riscv: Bump COMMAND_LINE_SIZE value to 1024 2023-03-01 18:35:43 -08:00
sigcontext.h riscv: sigcontext: Correct the comment of sigreturn 2023-07-11 13:05:19 -07:00
ucontext.h riscv: fix styling in ucontext header 2022-10-28 14:46:16 -07:00
unistd.h riscv: convert to generic syscall table 2024-07-10 14:23:38 +02:00