From: Shanker Donthineni Date: Fri, 27 May 2016 18:32:38 +0000 (-0500) Subject: arm/gic-v3: Fix ACPI probe fail on GICv4 hardware X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~930 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=014e7d939405783984bd6b80501149038a62b17b;p=xen.git arm/gic-v3: Fix ACPI probe fail on GICv4 hardware 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 Acked-by: Julien Grall Reviewed-by: Stefano Stabellini --- diff --git a/xen/arch/arm/gic-v3.c b/xen/arch/arm/gic-v3.c index 9910877d40..dfc62e87e5 100644 --- a/xen/arch/arm/gic-v3.c +++ b/xen/arch/arm/gic-v3.c @@ -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 /*