diff options
author | Christoffer Dall <[email protected]> | 2023-02-09 17:58:05 +0000 |
---|---|---|
committer | Oliver Upton <[email protected]> | 2023-02-11 09:16:11 +0000 |
commit | 89b0e7de3451a17f23bc1c39bc40eee1811f1669 (patch) | |
tree | 3e8653407c25c04c0b441919cf2d7703d63c9473 /tools/perf/scripts/python | |
parent | 8531bd63a8dc6c83fef2e1b7cbfd6f1a50bf87db (diff) |
KVM: arm64: nv: Introduce nested virtualization VCPU feature
Introduce the feature bit and a primitive that checks if the feature is
set behind a static key check based on the cpus_have_const_cap check.
Checking vcpu_has_nv() on systems without nested virt enabled
should have negligible overhead.
We don't yet allow userspace to actually set this feature.
Reviewed-by: Ganapatrao Kulkarni <[email protected]>
Reviewed-by: Russell King (Oracle) <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions