]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: vgic-its: Turn device_id validation into generic ID validation
authorMarc Zyngier <marc.zyngier@arm.com>
Sun, 17 Jul 2016 20:52:55 +0000 (21:52 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 18 Jul 2016 17:15:19 +0000 (18:15 +0100)
commit4d3a9ddd92fc0cf0e002aeaf6ad7fe4181fc12c3
tree02befdebe755a1039ae8c7d69965e2caa8371b18
parent9607da66dfdd43ed1821d4da396027fd1a07bb8b
KVM: arm64: vgic-its: Turn device_id validation into generic ID validation

There is no need to have separate functions to validate devices
and collections, as the architecture doesn't really distinguish the
two, and they are supposed to be managed the same way.

Let's turn the DevID checker into a generic one.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic/vgic-its.c