Re: [PATCH 1/2] MIPS: Malta: Fix i8259 irqchip setup

2017-03-31 Thread Matt Redfearn
Hi Ralf, On 31/03/17 13:49, Ralf Baechle wrote: On Fri, Mar 31, 2017 at 12:05:31PM +0100, Matt Redfearn wrote: diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c index cb675ec6f283..474b372e0dd9 100644 --- a/arch/mips/mti-malta/malta-int.c +++ b/arch/mips/mti-malta

Re: [PATCH 1/2] MIPS: Malta: Fix i8259 irqchip setup

2017-03-31 Thread Ralf Baechle
On Fri, Mar 31, 2017 at 12:05:31PM +0100, Matt Redfearn wrote: > diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c > index cb675ec6f283..474b372e0dd9 100644 > --- a/arch/mips/mti-malta/malta-int.c > +++ b/arch/mips/mti-malta/malta-int.c > @@ -232,6 +232,19 @@ void __in

[PATCH 1/2] MIPS: Malta: Fix i8259 irqchip setup

2017-03-31 Thread Matt Redfearn
Since commit 4cfffcfa5106 ("irqchip/mips-gic: Fix local interrupts"), the gic driver has been allocating virq's for local interrupts during its initialisation. Unfortunately on Malta platforms, these are the first IRQs to be allocated and so are allocated virqs 1-3. The i8259 driver uses a legacy i