]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: vgic: add virt-capable compatible strings
authorMark Rutland <mark.rutland@arm.com>
Thu, 5 Mar 2015 14:47:44 +0000 (14:47 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Wed, 11 Mar 2015 14:27:48 +0000 (15:27 +0100)
commit9fcd8f95665034da4cc38cdd45155148e846c73e
tree74f7505562a2e7abef01280f7c63530f7d31df3e
parentaa05bcc864978be9bb3bc45df733f8fc547409e4
KVM: vgic: add virt-capable compatible strings

Several dts only list "arm,cortex-a7-gic" or "arm,gic-400" in their GIC
compatible list, and while this is correct (and supported by the GIC
driver), KVM will fail to detect that it can support these cases.

This patch adds the missing strings to the VGIC code. The of_device_id
entries are padded to keep the probe function data aligned.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Andre Przywara <andre.przywara@arm.com>
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Michal Simek <monstr@monstr.eu>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c