diff options
author | Eric Auger <eric.auger@redhat.com> | 2017-02-02 16:37:33 +0300 |
---|---|---|
committer | Christoffer Dall <cdall@linaro.org> | 2017-05-08 15:35:42 +0300 |
commit | 07a3e9a7b8d2c5b0fa59b281f4480711bea8fa2b (patch) | |
tree | ab89be86407d99ffcd9e171d4ae412e91468e8c4 /include/linux/export.h | |
parent | 7333cefe7b147320debcc64ea41220bdd1dca723 (diff) | |
download | linux-07a3e9a7b8d2c5b0fa59b281f4480711bea8fa2b.tar.xz |
KVM: arm64: vgic-its: Check the device id matches TYPER DEVBITS range
On MAPD we currently check the device id can be stored in the device table.
Let's first check it can be encoded within the range defined by TYPER
DEVBITS.
Also check the collection ID belongs to the 16 bit range as GITS_TYPER
CIL field equals to 0.
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/linux/export.h')
0 files changed, 0 insertions, 0 deletions