aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2021-11-26 17:05:51 +0530
committerAnup Patel <[email protected]>2022-01-06 15:16:58 +0530
commita457fd5660efa9cf960d2461156a1025bfdb13fa (patch)
tree74381143d7ad54e9dd3238f35cc79257070a355d /tools/perf/scripts/python/exported-sql-viewer.py
parentef8949a986f0e325b1d535389101541849d611d3 (diff)
RISC-V: KVM: Add VM capability to allow userspace get GPA bits
The number of GPA bits supported for a RISC-V Guest/VM is based on the MMU mode used by the G-stage translation. The KVM RISC-V will detect and use the best possible MMU mode for the G-stage in kvm_arch_init(). We add a generic VM capability KVM_CAP_VM_GPA_BITS which can be used by the KVM userspace to get the number of GPA (guest physical address) bits supported for a Guest/VM. Signed-off-by: Anup Patel <[email protected]> Reviewed-and-tested-by: Atish Patra <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions