diff options
author | Eric Auger <eric.auger@redhat.com> | 2016-12-22 18:14:14 +0100 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-05-08 14:35:30 +0200 |
commit | 0d44cdb631ef53ea75be056886cf0541311e48df (patch) | |
tree | 16fce7bc6bf0b404843237a72040f69dd658ed3a /include/drm | |
parent | ab01c6bdacc43c41c6b326889f4358f5afc38bf9 (diff) |
KVM: arm64: vgic-its: Interpret MAPD Size field and check related errors
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 <cdall@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions