summaryrefslogtreecommitdiff
path: root/virt/kvm/arm/vgic/vgic-mmio.c
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@arm.com>2018-07-16 15:06:24 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2018-07-21 16:02:28 +0100
commitb489edc36169938e955c748eb83eb707bd53436e (patch)
tree8206bddd7cf6c7352f6dbd567521cec2ff56f71a /virt/kvm/arm/vgic/vgic-mmio.c
parentc6e0917b67fc006f3785b79bfdacdf9eef2f4816 (diff)
downloadlwn-b489edc36169938e955c748eb83eb707bd53436e.tar.gz
lwn-b489edc36169938e955c748eb83eb707bd53436e.zip
KVM: arm/arm64: vgic: Return error on incompatible uaccess GICD_IIDR writes
If userspace attempts to write a GICD_IIDR that does not match the kernel version, return an error to userspace. The intention is to allow implementation changes inside KVM while avoiding silently breaking migration resulting in guests not running without any clear indication of what went wrong. Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Christoffer Dall <christoffer.dall@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic-mmio.c')
0 files changed, 0 insertions, 0 deletions