]> git.karo-electronics.de Git - linux-beck.git/commit
irqchip/gic-v2: Parse and export virtual GIC information
authorJulien Grall <julien.grall@arm.com>
Mon, 11 Apr 2016 15:32:54 +0000 (16:32 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 3 May 2016 10:54:21 +0000 (12:54 +0200)
commit502d6df11ae394301470703fa6e485a0dc133401
tree996904d7b5ddca66ea74ec31e3c9f29cb1ead7a1
parentbafa9193d00c7bfff4c4aea0d48cd2b55a6378c2
irqchip/gic-v2: Parse and export virtual GIC information

For now, the firmware tables are parsed 2 times: once in the GIC
drivers, the other timer when initializing the vGIC. It means code
duplication and make more tedious to add the support for another
firmware table (like ACPI).

Introduce a new structure and set of helpers to get/set the virtual GIC
information. Also fill up the structure for GICv2.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
drivers/irqchip/irq-gic-common.c
drivers/irqchip/irq-gic-common.h
drivers/irqchip/irq-gic.c
include/linux/irqchip/arm-gic-common.h [new file with mode: 0644]