diff options
author | Sean Christopherson <[email protected]> | 2023-10-18 12:41:04 -0700 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2023-11-30 12:50:25 -0800 |
commit | 176bfc5b17fee327585583a427e2857d9dfd8f68 (patch) | |
tree | 3bff93872cc6aa857523773bb65d8eb39f0c05fd /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | a484755ab2526ebdbe042397cdd6e427eb4b1a68 (diff) |
KVM: nSVM: Advertise support for flush-by-ASID
Advertise support for FLUSHBYASID when nested SVM is enabled, as KVM can
always emulate flushing TLB entries for a vmcb12 ASID, e.g. by running L2
with a new, fresh ASID in vmcb02. Some modern hypervisors, e.g. VMWare
Workstation 17, require FLUSHBYASID support and will refuse to run if it's
not present.
Punt on proper support, as "Honor L1's request to flush an ASID on nested
VMRUN" is one of the TODO items in the (incomplete) list of issues that
need to be addressed in order for KVM to NOT do a full TLB flush on every
nested SVM transition (see nested_svm_transition_tlb_flush()).
Reported-by: Stefan Sterz <[email protected]>
Closes: https://lkml.kernel.org/r/b9915c9c-4cf6-051a-2d91-44cc6380f455%40proxmox.com
Reviewed-by: Maxim Levitsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions