diff options
author | Marc Zyngier <[email protected]> | 2023-12-17 11:15:09 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2023-12-22 09:27:36 +0000 |
commit | 7b95382f965133ef61ce44aaabc518c16eb46909 (patch) | |
tree | 635bd72e22a34a824ce566f6528c07a2f4087a01 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 2cc14f52aeb78ce3f29677c2de1f06c0e91471ab (diff) |
KVM: arm64: vgic-v4: Restore pending state on host userspace write
When the VMM writes to ISPENDR0 to set the state pending state of
an SGI, we fail to convey this to the HW if this SGI is already
backed by a GICv4.1 vSGI.
This is a bit of a corner case, as this would only occur if the
vgic state is changed on an already running VM, but this can
apparently happen across a guest reset driven by the VMM.
Fix this by always writing out the pending_latch value to the
HW, and reseting it to false.
Reported-by: Kunkun Jiang <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Zenghui Yu <[email protected]>
Cc: [email protected] # 5.10+
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions