Skip to contentSkip to conversation

xen/arm: Don't build GICv3 with the new vGIC

PATCH In review Julien Grall 2 participants 2 messages Oct 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/arm: Don't build GICv3 with the new vGIC

Commit 54ec59f6b0 "xen/arm: vgic-v3: Don't create empty re-distributor regions" breaks compilation when using the new vGIC.

This is because the field nr_regions is not existing in the vgic structure. For simplicity, as vGICv3 is not yet imported, disable GICv3.

---
 xen/arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/Kconfig +1 -1
index c0e969e45a..581de67b6b 100644
@@ -40,7 +40,7 @@ config ACPI
 
 config GICV3
 	bool "GICv3 driver"
-	depends on ARM_64
+	depends on ARM_64 && !NEW_VGIC
 	default y
 	---help---
 
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Julien Grall

Commit 54ec59f6b0 "xen/arm: vgic-v3: Don't create empty re-distributor regions" breaks compilation when using the new vGIC.

This is because the field nr_regions is not existing in the vgic structure. For simplicity, as vGICv3 is not yet imported, disable GICv3.

Quoted 20 lines
---
 xen/arch/arm/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/Kconfig +1 -1
index c0e969e45a..581de67b6b 100644
@@ -40,7 +40,7 @@ config ACPI
 
 config GICV3
 	bool "GICv3 driver"
-	depends on ARM_64
+	depends on ARM_64 && !NEW_VGIC
 	default y
 	---help---
 
Signature · 1 line
2.11.0

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel