diff options
author | Christoffer Dall <christoffer.dall@arm.com> | 2018-07-16 15:06:24 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-07-21 16:02:28 +0100 |
commit | b489edc36169938e955c748eb83eb707bd53436e (patch) | |
tree | 8206bddd7cf6c7352f6dbd567521cec2ff56f71a /virt/kvm/arm/vgic/vgic-mmio.c | |
parent | c6e0917b67fc006f3785b79bfdacdf9eef2f4816 (diff) | |
download | lwn-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