Skip to contentSkip to conversation

arm/gic-v3: Fix ACPI probe fail on GICv4 hardware

PATCH Applied Shanker Donthineni 3 participants 3 messages May 27, 2016 – Jun 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 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.

---
Changes since v2:
- Keep it the GICv4 version number inside driver and export outside as GICv3.

Changes since v1:
- Edit commit text.
- Fix BUG() in xen/arch/arm/domain.c

 xen/arch/arm/gic-v3.c | 5 +++++
 1 file changed, 5 insertions(+)
xen/arch/arm/gic-v3.c +5 -0
index a095064..982c632 100644
@@ -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
 
 /*
Signature · 9 lines
Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc. 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
a Linux Foundation Collaborative Project


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Acked-by on v3 1/1
#1 lore raw

Hi Shanker,

Quoted 6 lines · Shanker Donthineni

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.

Regards,

Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#2 lore raw
Quoted 11 lines · Julien Grall

Hi Shanker,

Quoted 6 lines · Shanker Donthineni

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.

Queued in my next-4.8 branch

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel