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 4.6 pile of irq updates contains: - Support for IPI irqdomains to support proper integration of IPIs to and from coprocessors. The first user of this new facility is MIPS. The relevant MIPS patches come with the core to avoid merge ordering issues and have been acked by Ralf. - A new command line option to set the default interrupt affinity mask at boot time. - Support for some more new ARM and MIPS interrupt controllers: tango, alpine-msix and bcm6345-l1 - Two small cleanups for x86/apic which we merged into irq/core to avoid yet another branch in x86 with two tiny commits. - The usual set of updates, cleanups in drivers/irqchip. Mostly in the area of ARM-GIC, arada-37-xp and atmel chips. Nothing outstanding here" * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (56 commits) irqchip/irq-alpine-msi: Release the correct domain on error irqchip/mxs: Fix error check of of_io_request_and_map() irqchip/sunxi-nmi: Fix error check of of_io_request_and_map() genirq: Export IRQ functions for module use irqchip/gic/realview: Support more RealView DCC variants Documentation/bindings: Document the Alpine MSIX driver irqchip: Add the Alpine MSIX interrupt controller irqchip/gic-v3: Always return IRQ_SET_MASK_OK_DONE in gic_set_affinity irqchip/gic-v3-its: Mark its_init() and its children as __init irqchip/gic-v3: Remove gic_root_node variable from the ITS code irqchip/gic-v3: ACPI: Add redistributor support via GICC structures irqchip/gic-v3: Add ACPI support for GICv3/4 initialization irqchip/gic-v3: Refactor gic_of_init() for GICv3 driver x86/apic: Deinline _flat_send_IPI_mask, save ~150 bytes x86/apic: Deinline __default_send_IPI_*, save ~200 bytes dt-bindings: interrupt-controller: Add SoC-specific compatible string to Marvell ODMI irqchip/mips-gic: Add new DT property to reserve IPIs MIPS: Delete smp-gic.c MIPS: Make smp CMP, CPS and MT use the new generic IPI functions MIPS: Add generic SMP IPI support ...
- Loading branch information
Showing
58 changed files
with
2,956 additions
and
608 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
Documentation/devicetree/bindings/interrupt-controller/al,alpine-msix.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,26 @@ | ||
Alpine MSIX controller | ||
|
||
See arm,gic-v3.txt for SPI and MSI definitions. | ||
|
||
Required properties: | ||
|
||
- compatible: should be "al,alpine-msix" | ||
- reg: physical base address and size of the registers | ||
- interrupt-parent: specifies the parent interrupt controller. | ||
- interrupt-controller: identifies the node as an interrupt controller | ||
- msi-controller: identifies the node as an PCI Message Signaled Interrupt | ||
controller | ||
- al,msi-base-spi: SPI base of the MSI frame | ||
- al,msi-num-spis: number of SPIs assigned to the MSI frame, relative to SPI0 | ||
|
||
Example: | ||
|
||
msix: msix { | ||
compatible = "al,alpine-msix"; | ||
reg = <0x0 0xfbe00000 0x0 0x100000>; | ||
interrupt-parent = <&gic>; | ||
interrupt-controller; | ||
msi-controller; | ||
al,msi-base-spi = <160>; | ||
al,msi-num-spis = <160>; | ||
}; |
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
44 changes: 44 additions & 0 deletions
44
Documentation/devicetree/bindings/interrupt-controller/marvell,odmi-controller.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,44 @@ | ||
|
||
* Marvell ODMI for MSI support | ||
|
||
Some Marvell SoCs have an On-Die Message Interrupt (ODMI) controller | ||
which can be used by on-board peripheral for MSI interrupts. | ||
|
||
Required properties: | ||
|
||
- compatible : The value here should contain: | ||
|
||
"marvell,ap806-odmi-controller", "marvell,odmi-controller". | ||
|
||
- interrupt,controller : Identifies the node as an interrupt controller. | ||
|
||
- msi-controller : Identifies the node as an MSI controller. | ||
|
||
- marvell,odmi-frames : Number of ODMI frames available. Each frame | ||
provides a number of events. | ||
|
||
- reg : List of register definitions, one for each | ||
ODMI frame. | ||
|
||
- marvell,spi-base : List of GIC base SPI interrupts, one for each | ||
ODMI frame. Those SPI interrupts are 0-based, | ||
i.e marvell,spi-base = <128> will use SPI #96. | ||
See Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt | ||
for details about the GIC Device Tree binding. | ||
|
||
- interrupt-parent : Reference to the parent interrupt controller. | ||
|
||
Example: | ||
|
||
odmi: odmi@300000 { | ||
compatible = "marvell,ap806-odm-controller", | ||
"marvell,odmi-controller"; | ||
interrupt-controller; | ||
msi-controller; | ||
marvell,odmi-frames = <4>; | ||
reg = <0x300000 0x4000>, | ||
<0x304000 0x4000>, | ||
<0x308000 0x4000>, | ||
<0x30C000 0x4000>; | ||
marvell,spi-base = <128>, <136>, <144>, <152>; | ||
}; |
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
49 changes: 49 additions & 0 deletions
49
Documentation/devicetree/bindings/interrupt-controller/sigma,smp8642-intc.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,49 @@ | ||
Sigma Designs SMP86xx/SMP87xx secondary interrupt controller | ||
|
||
Required properties: | ||
- compatible: should be "sigma,smp8642-intc" | ||
- reg: physical address of MMIO region | ||
- ranges: address space mapping of child nodes | ||
- interrupt-parent: phandle of parent interrupt controller | ||
- interrupt-controller: boolean | ||
- #address-cells: should be <1> | ||
- #size-cells: should be <1> | ||
|
||
One child node per control block with properties: | ||
- reg: address of registers for this control block | ||
- interrupt-controller: boolean | ||
- #interrupt-cells: should be <2>, interrupt index and flags per interrupts.txt | ||
- interrupts: interrupt spec of primary interrupt controller | ||
|
||
Example: | ||
|
||
interrupt-controller@6e000 { | ||
compatible = "sigma,smp8642-intc"; | ||
reg = <0x6e000 0x400>; | ||
ranges = <0x0 0x6e000 0x400>; | ||
interrupt-parent = <&gic>; | ||
interrupt-controller; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
|
||
irq0: interrupt-controller@0 { | ||
reg = <0x000 0x100>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; | ||
}; | ||
|
||
irq1: interrupt-controller@100 { | ||
reg = <0x100 0x100>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; | ||
}; | ||
|
||
irq2: interrupt-controller@300 { | ||
reg = <0x300 0x100>; | ||
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
interrupts = <GIC_SPI 4 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
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.