summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2023-12-17 14:15:09 +0300
committerMarc Zyngier <maz@kernel.org>2023-12-22 12:27:36 +0300
commit7b95382f965133ef61ce44aaabc518c16eb46909 (patch)
tree635bd72e22a34a824ce566f6528c07a2f4087a01 /scripts/lib/kdoc
parent2cc14f52aeb78ce3f29677c2de1f06c0e91471ab (diff)
downloadlinux-7b95382f965133ef61ce44aaabc518c16eb46909.tar.xz
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 <jiangkunkun@huawei.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Cc: stable@vger.kernel.org # 5.10+ Link: https://lore.kernel.org/r/7e7f2c0c-448b-10a9-8929-4b8f4f6e2a32@huawei.com
Diffstat (limited to 'scripts/lib/kdoc')
0 files changed, 0 insertions, 0 deletions