arm/gic-v2: Add ACPI boot support for GICv2
authorParth Dixit <parth.dixit@linaro.org>
Wed, 2 Mar 2016 07:37:00 +0000 (08:37 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 3 Mar 2016 08:07:55 +0000 (09:07 +0100)
commit73af224fa56fa7fb974ca0a1a69fda78a2585a33
treea10070750f35c6c87dcd35cf8f36b31952cb1294
parenta47921a6506285f1c6a2b29a03950fc09c6f9626
arm/gic-v2: Add ACPI boot support for GICv2

ACPI on Xen hypervisor uses MADT table for proper GIC initialization.
First get the GIC version from GIC Distributor. Then parse GIC related
subtables, collect CPU interface and distributor addresses and call
driver initialization function (which is hardware abstraction agnostic).
In a similar way, FDT initialize GICv2.

Signed-off-by: Parth Dixit <parth.dixit@linaro.org>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/arch/arm/gic-v2.c