Add support for Tegra210 AGIC
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | ARM: tegra: Correct interrupt type for ARM TWDarch/ arch/ | +2 | 2 replies | |
| 2/15 | ARM: OMAP: Correct interrupt type for ARM TWDarch/ | +1 | 3 replies | |
| 3/15 | irqchip/gic: Don't unnecessarily write the IRQ configurationdrivers/ | +6 | 1 reply | |
| 4/15 | irqchip/gic: WARN if setting the interrupt type failsdrivers/ drivers/ drivers/ +2 more | +13 | 12 replies | |
| 5/15 | irqchip: Mask the non-type/sense bits when translating an IRQdrivers/ drivers/ drivers/ | +3 | 3 replies | |
| 6/15 | irqdomain: Ensure type settings match for an existing mappingkernel/ | +43 | 3 replies | |
| 7/15 | irqdomain: Don't set type when mapping an IRQinclude/ kernel/ kernel/ | +24 | 3 replies | |
| 8/15 | genirq: Add runtime power management support for IRQ chipsinclude/ kernel/ kernel/ +2 more | +72 | 13 replies | |
| 9/15 | irqchip/gic: Don't initialise chip if mapping IO space failsdrivers/ | +6 | 1 reply | |
| 10/15 | irqchip/gic: Remove static irq_chip definition for eoimode1drivers/ | +6 | 2 replies | |
| 11/15 | irqchip/gic: Return an error if GIC initialisation failsdrivers/ | +41 | 1 reply | |
| 12/15 | irqchip/gic: Pass GIC pointer to save/restore functionsdrivers/ | +39 | 1 reply | |
| 13/15 | irqchip/gic: Prepare for adding platform driverdrivers/ drivers/ | +57 | 2 replies | |
| 14/15 | dt-bindings: arm-gic: Drop 'clock-names' from binding documentDocumentation/ | +2 | 12 replies | |
| 15/15 | irqchip/gic: Add support for tegra AGIC interrupt controllerDocumentation/ drivers/ drivers/ | +189 | 0 replies |
Reviews trailers per patch
5 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Grygorii Strashko | Marc Zyngier |
|---|---|---|
| 1/15 | ||
| 2/15 | T-b | |
| 3/15 | A-b | |
| 4/15 | ||
| 5/15 | A-b | |
| 6/15 | ||
| 7/15 | ||
| 8/15 | ||
| 9/15 | A-b | |
| 10/15 | A-b | |
| 11/15 | ||
| 12/15 | A-b | |
| 13/15 | ||
| 14/15 | ||
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/15] Add support for Tegra210 AGIC
The Tegra210 AGIC interrupt controller is a 2nd level interrupt controller located in a separate power domain to the main GIC interrupt controller. It can route interrupts to the main CPU cluster or an Audio DSP slave. This series only support routing interrupts to the main CPU cluster.
Ideally we would like to re-use the existing ARM GIC driver because the AGIC is a GIC-400. However, in order to do so this requires adding runtime power management support for irqchips and several significant changes to the exisiting GIC driver for power management reasons.
Originally, this series was sent out as an RFC [0] and hopefully, I have addressed all the comments and issues reported. I was/am tempted to split this series into two series, one to add runtime-pm support for irqchips (patches 1-8) and one to add support for the AGIC to the GIC driver (patches 9-15). If this would be more manageable and easier, I am happy to do so.
I have included a fix for OMAP (needs testing) that was reported by Grygorii. I know it may seem odd to include in a series adding an interrupt controller for Tegra, but oh well ...
This is work well so far on Tegra, but would love to get some more testing on other platforms.
[0] http://marc.info/?l=linux-kernel&m=145034948920651&w=2
Jon Hunter (15):
ARM: tegra: Correct interrupt type for ARM TWD
ARM: OMAP: Correct interrupt type for ARM TWD irqchip/gic: Don't unnecessarily write the IRQ configuration irqchip/gic: WARN if setting the interrupt type fails
irqchip: Mask the non-type/sense bits when translating an IRQ
irqdomain: Ensure type settings match for an existing mapping
irqdomain: Don't set type when mapping an IRQ
genirq: Add runtime power management support for IRQ chips irqchip/gic: Don't initialise chip if mapping IO space fails irqchip/gic: Remove static irq_chip definition for eoimode1 irqchip/gic: Return an error if GIC initialisation fails irqchip/gic: Pass GIC pointer to save/restore functions irqchip/gic: Prepare for adding platform driver
dt-bindings: arm-gic: Drop 'clock-names' from binding document irqchip/gic: Add support for tegra AGIC interrupt controller
.../bindings/interrupt-controller/arm,gic.txt | 12 +- arch/arm/boot/dts/omap4.dtsi | 2 +- arch/arm/boot/dts/tegra20.dtsi | 2 +- arch/arm/boot/dts/tegra30.dtsi | 2 +- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-crossbar.c | 2 +- drivers/irqchip/irq-gic-common.c | 19 +- drivers/irqchip/irq-gic-common.h | 2 +- drivers/irqchip/irq-gic-v3.c | 6 +- drivers/irqchip/irq-gic.c | 437 ++++++++++++++++----- drivers/irqchip/irq-hip04.c | 5 +- drivers/irqchip/irq-tegra.c | 2 +- include/linux/irq.h | 5 + include/linux/irqdomain.h | 3 + kernel/irq/chip.c | 52 +++ kernel/irq/internals.h | 1 + kernel/irq/irqdomain.c | 77 +++- kernel/irq/manage.c | 21 +- kernel/irq/pm.c | 3 + 19 files changed, 492 insertions(+), 162 deletions(-)
Signature · 1 line
2.1.4