irqchip/gic-v3: Add ACPI support for GICv3/4 initialization
authorTomasz Nowicki <tn@semihalf.com>
Tue, 19 Jan 2016 13:11:15 +0000 (14:11 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 9 Mar 2016 02:44:01 +0000 (02:44 +0000)
commitffa7d6166a9611ed9ad117b56f7f513901b31408
tree19157e138c8c52cf13ffb84ebcf647ab06483993
parentdb57d7460ea74de2204ddc303520753f256ea67d
irqchip/gic-v3: Add ACPI support for GICv3/4 initialization

With the refator of gic_of_init(), GICv3/4 can be initialized
by gic_init_bases() with gic distributor base address and gic
redistributor region(s).

So get the redistributor region base addresses from MADT GIC
redistributor subtable, and the distributor base address from
GICD subtable to init GICv3 irqchip in ACPI way.

Note: GIC redistributor base address may also be provided in
GICC structures on systems supporting GICv3 and above if the GIC
Redistributors are not in the always-on power domain, this
patch didn't implement such feature yet.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Tomasz Nowicki <tn@semihalf.com>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3.c