]> xenbits.xensource.com Git - xen.git/commitdiff
arm/gic-v3: Fix ACPI probe fail on GICv4 hardware
authorShanker Donthineni <shankerd@codeaurora.org>
Fri, 27 May 2016 18:32:38 +0000 (13:32 -0500)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 17 Jun 2016 09:22:16 +0000 (10:22 +0100)
The current driver ACPI probe fails on hardware which has GICv4
version, even though it is fully compatible to GICv3. This patch
fixed the issue by registering the same probe function for GICv4
hardware.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Acked-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/gic-v3.c

index 9910877d40a8cea8d023379557124d1bca6cce49..dfc62e87e54e4aad4ce279edd1b5e20096215d1b 100644 (file)
@@ -1608,6 +1608,11 @@ ACPI_DEVICE_START(agicv3, "GICv3", DEVICE_GIC)
         .class_type = ACPI_MADT_GIC_VERSION_V3,
         .init = gicv3_acpi_preinit,
 ACPI_DEVICE_END
+
+ACPI_DEVICE_START(agicv4, "GICv4", DEVICE_GIC)
+        .class_type = ACPI_MADT_GIC_VERSION_V4,
+        .init = gicv3_acpi_preinit,
+ACPI_DEVICE_END
 #endif
 
 /*