[PATCH] KVM: arm64: add gic-400 compatible

Joel Schopp
2014-09-08T22:21:44Z

Add a one liner to identify the gic-400. It's gicv2 with optional MSI extensions.

Cc: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Joel Schopp <joel.schopp@amd.com>
---
virt/kvm/arm/vgic.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c
index 73eba79..e81444e 100644
--- a/virt/kvm/arm/vgic.c
+++ b/virt/kvm/arm/vgic.c
@@ -1550,6 +1550,7 @@ static struct notifier_block vgic_cpu_nb = {

static const struct of_device_id vgic_ids[] = {
{ .compatible = "arm,cortex-a15-gic", .data = vgic_v2_probe, },
+ { .compatible = "arm,gic-400", .data = vgic_v2_probe, },
{ .compatible = "arm,gic-v3", .data = vgic_v3_probe, },
{},
};