summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFuad Tabba <fuad.tabba@linux.dev>2026-10-28 17:33:18 +0000
committerMarc Zyngier <maz@kernel.org>2026-11-03 10:58:51 +0000
commite1024ed9c3823fbc4b1e65f351088f0bf999b887 (patch)
treecd10a11ed9bce789be28221e20fca4c42613ad63 /tools/perf/scripts/python
parent5f54835d94db2e896ec27415b9de2e81cb56009a (diff)
KVM: arm64: vgic-its: Clear an unqueued LPI before dropping its lock
DISCARD reads which vCPU's AP list holds the LPI, drops the irq lock to pause that vCPU, and takes the lock again to clear the pending state. When no list holds the LPI there's nothing to pause, yet the lock is still dropped. In between, vgic_queue_irq_unlock() can list the LPI (for an MSI that had already made it pending, or a GICR_INVLPIR write enabling it while latched) and its vCPU can load it into a list register. The guest then takes an LPI it has discarded. Clear an LPI that no list holds before dropping the lock. Fixes: e99ff76f4a02b ("KVM: arm64: vgic-its: Remove the pending state of a discarded LPI") Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Link: https://patch.msgid.link/20261028173319.1807811-2-fuad.tabba@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions