[PATCH v6 11/24] KVM: arm64: vgic-its: Interpret MAPD Size field and check related errors
From: Marc Zyngier <hidden>
Date: 2017-05-05 09:44:59
Also in:
kvm, kvmarm
From: Marc Zyngier <hidden>
Date: 2017-05-05 09:44:59
Also in:
kvm, kvmarm
On 04/05/17 12:44, Eric Auger wrote:
Up to now the MAPD's ITT size field has been ignored. It encodes the number of eventid bit minus 1. It should be used to check the eventid when a MAPTI command is issued on a device. Let's store the number of eventid bits in the its_device and do the check on MAPTI. Also make sure the ITT size field does not exceed the GITS_TYPER IDBITS field. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Christoffer Dall <redacted>
Reviewed-by: Marc Zyngier <redacted> M. -- Jazz is not dead. It just smells funny...