[PATCH v7 13/24] KVM: arm64: vgic-its: Check the device id matches TYPER DEVBITS range

Marc Zyngier marc.zyngier at arm.com
Sun May 7 05:01:20 PDT 2017


On Sat, May 06 2017 at  4:24:32 pm BST, Eric Auger <eric.auger at redhat.com> wrote:
> 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 at redhat.com>
> Reviewed-by: Christoffer Dall <cdall at linaro.org>

Reviewed-by: Marc Zyngier <marc.zyngier at arm.com>

	M.
-- 
Jazz is not dead, it just smell funny.



More information about the linux-arm-kernel mailing list