]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5654648514125f8c24da364631a15c06f45f55a3
tree19157e138c8c52cf13ffb84ebcf647ab06483993
parent1832402b8396b0af9033f5f537eda6aea6b38cff
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