All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/5] powerpc/mpic: Add non-contiguous interrupt sources
@ 2018-07-27  9:47 Bharat Bhushan
  2018-07-27  9:47 ` [RFC 1/5] powerpc/mpic: move last irq logic to function Bharat Bhushan
                   ` (4 more replies)
  0 siblings, 5 replies; 31+ messages in thread
From: Bharat Bhushan @ 2018-07-27  9:47 UTC (permalink / raw)
  To: benh, paulus, mpe, oss, galak, mark.rutland, kstewart, gregkh,
	devicetree, linuxppc-dev, linux-kernel
  Cc: robh, keescook, tyreld, joe, Bharat Bhushan

Freescale MPIC h/w may not support all interrupt sources reported
by hardware or "last-interrupt-source" or platform. On these platforms
a misconfigured device tree that assigns one of the reserved
interrupts leaves a non-functioning system without warning.
 
First Patch just moves the last-irq calculation logic to a function,
Second patch reworks same logic, While I feel that device-tree should
 get precedence over platform provided last-irq, but in this series
 I have not changed this logic.
Third and fourth patch add non-contiguous interrupt sources support
Fifth patch enables this for P2020RDB-PC for now.

Bharat Bhushan (5):
  powerpc/mpic: move last irq logic to function
  powerpc/mpic: Rework last source irq calculation logic
  powerpc/mpic: Add support for non-contiguous irq ranges
  powerpc/mpic: Boot print supported interrupt ranges
  powerpc/fsl: Add supported-irq-ranges for P2020

 .../devicetree/bindings/powerpc/fsl/mpic.txt       |   8 +
 arch/powerpc/boot/dts/fsl/p2020si-post.dtsi        |   3 +
 arch/powerpc/include/asm/mpic.h                    |   9 +
 arch/powerpc/platforms/85xx/mpc85xx_rdb.c          |   5 +
 arch/powerpc/sysdev/mpic.c                         | 184 ++++++++++++++++++---
 5 files changed, 182 insertions(+), 27 deletions(-)

-- 
1.9.3


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2018-08-09  7:04 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-27  9:47 [RFC 0/5] powerpc/mpic: Add non-contiguous interrupt sources Bharat Bhushan
2018-07-27  9:47 ` [RFC 1/5] powerpc/mpic: move last irq logic to function Bharat Bhushan
2018-07-27  9:47 ` [RFC 2/5] powerpc/mpic: Rework last source irq calculation logic Bharat Bhushan
2018-07-27  9:47 ` [RFC 3/5] powerpc/mpic: Add support for non-contiguous irq ranges Bharat Bhushan
2018-08-07 18:09   ` Rob Herring
2018-08-07 21:03     ` Scott Wood
2018-08-07 21:03       ` Scott Wood
2018-08-08  3:37       ` Bharat Bhushan
2018-08-08  3:37         ` Bharat Bhushan
2018-08-08  5:50         ` Scott Wood
2018-08-08  5:50           ` Scott Wood
2018-08-08  5:57           ` Bharat Bhushan
2018-08-08  5:57             ` Bharat Bhushan
2018-07-27  9:48 ` [RFC 4/5] powerpc/mpic: Boot print supported interrupt ranges Bharat Bhushan
2018-07-27  9:48 ` [RFC 5/5] powerpc/fsl: Add supported-irq-ranges for P2020 Bharat Bhushan
2018-08-07 21:13   ` Scott Wood
2018-08-07 21:13     ` Scott Wood
2018-08-08  3:44     ` Bharat Bhushan
2018-08-08  3:44       ` Bharat Bhushan
2018-08-08  5:55       ` Scott Wood
2018-08-08  5:55         ` Scott Wood
2018-08-08  6:28         ` Bharat Bhushan
2018-08-08  6:28           ` Bharat Bhushan
2018-08-08 17:57           ` Scott Wood
2018-08-08 17:57             ` Scott Wood
2018-08-09  3:28             ` Bharat Bhushan
2018-08-09  3:28               ` Bharat Bhushan
2018-08-09  6:11               ` Scott Wood
2018-08-09  6:11                 ` Scott Wood
2018-08-09  7:04                 ` Bharat Bhushan
2018-08-09  7:04                   ` Bharat Bhushan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.