forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/lin…
…ux/kernel/git/tip/tip Pull irq updates from Thomas Gleixner: "The irq departement provides the usual mixed bag: Core: - Further improvements to the irq timings code which aims to predict the next interrupt for power state selection to achieve better latency/power balance - Add interrupt statistics to the core NMI handlers - The usual small fixes and cleanups Drivers: - Support for Renesas RZ/A1, Annapurna Labs FIC, Meson-G12A SoC and Amazon Gravition AMR/GIC interrupt controllers. - Rework of the Renesas INTC controller driver - ACPI support for Socionext SoCs - Enhancements to the CSKY interrupt controller - The usual small fixes and cleanups" * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (39 commits) irq/irqdomain: Fix comment typo genirq: Update irq stats from NMI handlers irqchip/gic-pm: Remove PM_CLK dependency irqchip/al-fic: Introduce Amazon's Annapurna Labs Fabric Interrupt Controller Driver dt-bindings: interrupt-controller: Add Amazon's Annapurna Labs FIC softirq: Use __this_cpu_write() in takeover_tasklets() irqchip/mbigen: Stop printing kernel addresses irqchip/gic: Add dependency for ARM_GIC_MAX_NR genirq/affinity: Remove unused argument from [__]irq_build_affinity_masks() genirq/timings: Add selftest for next event computation genirq/timings: Add selftest for irqs circular buffer genirq/timings: Add selftest for circular array genirq/timings: Encapsulate storing function genirq/timings: Encapsulate timings push genirq/timings: Optimize the period detection speed genirq/timings: Fix timings buffer inspection genirq/timings: Fix next event index function irqchip/qcom: Use struct_size() in devm_kzalloc() irqchip/irq-csky-mpintc: Remove unnecessary loop in interrupt handler dt-bindings: interrupt-controller: Update csky mpintc ...
- Loading branch information
Showing
32 changed files
with
1,528 additions
and
192 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
Amazon's Annapurna Labs Fabric Interrupt Controller | ||
|
||
Required properties: | ||
|
||
- compatible: should be "amazon,al-fic" | ||
- reg: physical base address and size of the registers | ||
- interrupt-controller: identifies the node as an interrupt controller | ||
- #interrupt-cells: must be 2. | ||
First cell defines the index of the interrupt within the controller. | ||
Second cell is used to specify the trigger type and must be one of the | ||
following: | ||
- bits[3:0] trigger type and level flags | ||
1 = low-to-high edge triggered | ||
4 = active high level-sensitive | ||
- interrupt-parent: specifies the parent interrupt controller. | ||
- interrupts: describes which input line in the interrupt parent, this | ||
fic's output is connected to. This field property depends on the parent's | ||
binding | ||
|
||
Example: | ||
|
||
amazon_fic: interrupt-controller@0xfd8a8500 { | ||
compatible = "amazon,al-fic"; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
reg = <0x0 0xfd8a8500 0x0 0x1000>; | ||
interrupt-parent = <&gic>; | ||
interrupts = <GIC_SPI 0x0 IRQ_TYPE_LEVEL_HIGH>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
Documentation/devicetree/bindings/interrupt-controller/renesas,rza1-irqc.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
DT bindings for the Renesas RZ/A1 Interrupt Controller | ||
|
||
The RZ/A1 Interrupt Controller is a front-end for the GIC found on Renesas | ||
RZ/A1 and RZ/A2 SoCs: | ||
- IRQ sense select for 8 external interrupts, 1:1-mapped to 8 GIC SPI | ||
interrupts, | ||
- NMI edge select. | ||
|
||
Required properties: | ||
- compatible: Must be "renesas,<soctype>-irqc", and "renesas,rza1-irqc" as | ||
fallback. | ||
Examples with soctypes are: | ||
- "renesas,r7s72100-irqc" (RZ/A1H) | ||
- "renesas,r7s9210-irqc" (RZ/A2M) | ||
- #interrupt-cells: Must be 2 (an interrupt index and flags, as defined | ||
in interrupts.txt in this directory) | ||
- #address-cells: Must be zero | ||
- interrupt-controller: Marks the device as an interrupt controller | ||
- reg: Base address and length of the memory resource used by the interrupt | ||
controller | ||
- interrupt-map: Specifies the mapping from external interrupts to GIC | ||
interrupts | ||
- interrupt-map-mask: Must be <7 0> | ||
|
||
Example: | ||
|
||
irqc: interrupt-controller@fcfef800 { | ||
compatible = "renesas,r7s72100-irqc", "renesas,rza1-irqc"; | ||
#interrupt-cells = <2>; | ||
#address-cells = <0>; | ||
interrupt-controller; | ||
reg = <0xfcfef800 0x6>; | ||
interrupt-map = | ||
<0 0 &gic GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, | ||
<1 0 &gic GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, | ||
<2 0 &gic GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, | ||
<3 0 &gic GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, | ||
<4 0 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, | ||
<5 0 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, | ||
<6 0 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, | ||
<7 0 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; | ||
interrupt-map-mask = <7 0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1306,6 +1306,12 @@ S: Maintained | |
F: Documentation/devicetree/bindings/interrupt-controller/arm,vic.txt | ||
F: drivers/irqchip/irq-vic.c | ||
|
||
AMAZON ANNAPURNA LABS FIC DRIVER | ||
M: Talel Shenhar <[email protected]> | ||
S: Maintained | ||
F: Documentation/devicetree/bindings/interrupt-controller/amazon,al-fic.txt | ||
F: drivers/irqchip/irq-al-fic.c | ||
|
||
ARM SMMU DRIVERS | ||
M: Will Deacon <[email protected]> | ||
R: Robin Murphy <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.