diff options
author | Anup Patel <[email protected]> | 2023-01-28 13:18:25 +0530 |
---|---|---|
committer | Anup Patel <[email protected]> | 2023-02-07 20:35:26 +0530 |
commit | 06723e124fcbf63a1848c692fad17a023cad5ebc (patch) | |
tree | 6dcad0a8b89cfbd53c0152555994c36b9eb55ca2 /tools/perf/scripts/python | |
parent | c25a6dddc62c84f50e57094bd44e7f9d84907f49 (diff) |
RISC-V: KVM: Fix privilege mode setting in kvm_riscv_vcpu_trap_redirect()
The kvm_riscv_vcpu_trap_redirect() should set guest privilege mode
to supervisor mode because guest traps/interrupts are always handled
in virtual supervisor mode.
Fixes: 9f7013265112 ("RISC-V: KVM: Handle MMIO exits for VCPU")
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions