diff options
author | Kyle Moffett <Kyle.D.Moffett@boeing.com> | 2011-12-22 11:19:13 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-02-23 00:50:00 +0100 |
commit | c1b8d45db4dbc64cc6015f97922f767fdf782f64 (patch) | |
tree | c23f986f6601b2f67645eca5b8744c8d753bc094 /arch/powerpc/boot | |
parent | powerpc/mpic: Remove MPIC_BROKEN_FRR_NIRQS and duplicate irq_count (diff) | |
download | linux-c1b8d45db4dbc64cc6015f97922f767fdf782f64.tar.xz linux-c1b8d45db4dbc64cc6015f97922f767fdf782f64.zip |
powerpc/mpic: Add "last-interrupt-source" property to override hardware
The FreeScale PowerQUICC-III-compatible (mpc85xx/mpc86xx) MPICs do not
correctly report the number of hardware interrupt sources, so software
needs to override the detected value with "256".
To avoid needing to write custom board-specific code to detect that
scenario, allow it to be easily overridden in the device-tree.
Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi b/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi index 658bd81982cb..fdedf7b1fe0f 100644 --- a/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi +++ b/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi @@ -41,6 +41,7 @@ mpic: pic@40000 { device_type = "open-pic"; big-endian; single-cpu-affinity; + last-interrupt-source = <255>; }; timer@41100 { |