commit | 74c2e97b01846eb237b7819a3e2944455cfdb26a | [log] [tgz] |
---|---|---|
author | Anup Patel <anup.patel@wdc.com> | Wed Nov 17 10:30:29 2021 +0530 |
committer | Anup Patel <anup@brainfault.org> | Mon Nov 22 10:36:19 2021 +0530 |
tree | ed58b2c2b5742184d495c766a15c4c880e1f03ed | |
parent | 756e1fc16505c31c9f86b602fcb8e2bc55c4b7e5 [diff] |
RISC-V: KVM: Fix incorrect KVM_MAX_VCPUS value The KVM_MAX_VCPUS value is supposed to be aligned with number of VMID bits in the hgatp CSR but the current KVM_MAX_VCPUS value is aligned with number of ASID bits in the satp CSR. Fixes: 99cdc6c18c2d ("RISC-V: Add initial skeletal KVM support") Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atishp@rivosinc.com>