diff options
| author | Sean Christopherson <[email protected]> | 2025-04-01 16:34:42 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2025-04-24 18:19:38 +0000 |
| commit | 6433fc01f9f19573894cdcf776679c10d1310801 (patch) | |
| tree | 8256cf8368d15fbc972711d3ace19dc8c9c6803b /rust/helpers/mutex.c | |
| parent | x86/irq: Track if IRQ was found in PIR during initial loop (to load PIR vals) (diff) | |
| download | kernel-6433fc01f9f19573894cdcf776679c10d1310801.tar.gz kernel-6433fc01f9f19573894cdcf776679c10d1310801.zip | |
KVM: VMX: Ensure vIRR isn't reloaded at odd times when sync'ing PIR
Read each vIRR exactly once when shuffling IRQs from the PIR to the vAPIC
to ensure getting the highest priority IRQ from the chunk doesn't reload
from the vIRR. In practice, a reload is functionally benign as vcpu->mutex
is held and so IRQs can be consumed, i.e. new IRQs can appear, but existing
IRQs can't disappear.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
