summaryrefslogtreecommitdiffstats
path: root/virt/kvm/arm/vgic/vgic-mmio.h
diff options
context:
space:
mode:
authorChristoffer Dall2018-07-16 15:06:24 +0200
committerMarc Zyngier2018-07-21 17:02:28 +0200
commitb489edc36169938e955c748eb83eb707bd53436e (patch)
tree8206bddd7cf6c7352f6dbd567521cec2ff56f71a /virt/kvm/arm/vgic/vgic-mmio.h
parentKVM: arm/arm64: vgic: Permit uaccess writes to return errors (diff)
downloadkernel-qcow2-linux-b489edc36169938e955c748eb83eb707bd53436e.tar.gz
kernel-qcow2-linux-b489edc36169938e955c748eb83eb707bd53436e.tar.xz
kernel-qcow2-linux-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.h')
0 files changed, 0 insertions, 0 deletions