]> xenbits.xensource.com Git - people/dwmw2/xen.git/commitdiff
xen/arm: Don't build GICv3 with the new vGIC
authorJulien Grall <julien.grall@arm.com>
Fri, 19 Oct 2018 14:23:55 +0000 (15:23 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Mon, 28 Jan 2019 21:47:31 +0000 (13:47 -0800)
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.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 62aa9e7f1b8ef64b8c7c1dacb1122351cb9fd132)

xen/arch/arm/Kconfig

index 8174c0c635d0baf7c44112d58b3cac1eb8053410..7803c98a7f94e5c226def60b522877251c2a6039 100644 (file)
@@ -12,7 +12,7 @@ config ARM_32
 config ARM_64
        def_bool y
        depends on 64BIT
-       select HAS_GICV3
+       select HAS_GICV3 if !NEW_VGIC
 
 config ARM
        def_bool y