diff options
| author | Sean Christopherson <[email protected]> | 2023-01-06 01:12:36 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2023-01-13 10:45:22 -0500 |
| commit | 0ccf3e7cb95a2db8ddb2a44812037ffba8166dc9 (patch) | |
| tree | bbe2e0400edb7d381c13c897738cd1dd1e071876 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 97a71c444a147ae41c7d0ab5b3d855d7f762f3ed (diff) | |
KVM: SVM: Flush the "current" TLB when activating AVIC
Flush the TLB when activating AVIC as the CPU can insert into the TLB
while AVIC is "locally" disabled. KVM doesn't treat "APIC hardware
disabled" as VM-wide AVIC inhibition, and so when a vCPU has its APIC
hardware disabled, AVIC is not guaranteed to be inhibited. As a result,
KVM may create a valid NPT mapping for the APIC base, which the CPU can
cache as a non-AVIC translation.
Note, Intel handles this in vmx_set_virtual_apic_mode().
Reviewed-by: Paolo Bonzini <[email protected]>
Cc: [email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Maxim Levitsky <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions