diff options
| author | Sean Christopherson <[email protected]> | 2023-01-06 01:12:35 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2023-01-13 10:45:22 -0500 |
| commit | 97a71c444a147ae41c7d0ab5b3d855d7f762f3ed (patch) | |
| tree | 7952672d192039435de29339615badb033f73d14 /tools/perf/scripts/python | |
| parent | 0a19807b464fb10aa79b9dd7f494bc317438fada (diff) | |
KVM: x86: Purge "highest ISR" cache when updating APICv state
Purge the "highest ISR" cache when updating APICv state on a vCPU. The
cache must not be used when APICv is active as hardware may emulate EOIs
(and other operations) without exiting to KVM.
This fixes a bug where KVM will effectively block IRQs in perpetuity due
to the "highest ISR" never getting reset if APICv is activated on a vCPU
while an IRQ is in-service. Hardware emulates the EOI and KVM never gets
a chance to update its cache.
Fixes: b26a695a1d78 ("kvm: lapic: Introduce APICv update helper function")
Cc: [email protected]
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Maxim Levitsky <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Reviewed-by: Maxim Levitsky <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions