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

Joel Schopp joel.schopp at amd.com
Mon Sep 8 15:21:44 PDT 2014


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

Cc: Christoffer Dall <christoffer.dall at linaro.org>
Signed-off-by: Joel Schopp <joel.schopp at 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, },
 	{},
 };




More information about the linux-arm-kernel mailing list