diff options
| author | 2023-01-28 13:18:25 +0530 | |
|---|---|---|
| committer | 2023-02-07 20:35:26 +0530 | |
| commit | 06723e124fcbf63a1848c692fad17a023cad5ebc (patch) | |
| tree | 6dcad0a8b89cfbd53c0152555994c36b9eb55ca2 /scripts/Makefile.thinlto | |
| parent | KVM: RISC-V: Fix wrong usage of PGDIR_SIZE to check page sizes (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 <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
