summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorChao Du <duchao@eswincomputing.com>2024-04-02 09:26:26 +0300
committerAnup Patel <anup@brainfault.org>2024-04-08 11:36:27 +0300
commitedcbe90f128922830228b9a5656c944a5d7ac306 (patch)
tree84f82f5284512e4762e7d3c4bc5b21e28476c42b /sound
parentfec50db7033ea478773b159e0e2efb135270e3b7 (diff)
downloadlinux-edcbe90f128922830228b9a5656c944a5d7ac306.tar.xz
RISC-V: KVM: Implement kvm_arch_vcpu_ioctl_set_guest_debug()
kvm_vm_ioctl_check_extension(): Return 1 if KVM_CAP_SET_GUEST_DEBUG is been checked. kvm_arch_vcpu_ioctl_set_guest_debug(): Update the guest_debug flags from userspace accordingly. Route the breakpoint exceptions to HS mode if the VCPU is being debugged by userspace, by clearing the corresponding bit in hedeleg. Initialize the hedeleg configuration in kvm_riscv_vcpu_setup_config(). Write the actual CSR in kvm_arch_vcpu_load(). Signed-off-by: Chao Du <duchao@eswincomputing.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20240402062628.5425-2-duchao@eswincomputing.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions