]> 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)
commit042291c3a369235dfa6143d499a9ca83fb5d00a7
tree02befdebe755a1039ae8c7d69965e2caa8371b18
parent762fc221bcf7db086e1599e0d62288729ce983b5
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