Re: [PATCH 02/35] ARM: davinci: select GENERIC_IRQ_MULTI_HANDLER

2019-02-08 Thread Sekhar Nori
On 07/02/19 9:19 PM, Bartosz Golaszewski wrote: >>> +static asmlinkage void __exception_irq_entry >>> +cp_intc_handle_irq(struct pt_regs *regs) >>> +{ >>> + int irqnr = cp_intc_read(CP_INTC_PRIO_IDX); >>> + >>> + irqnr &= 0xff; >>> + >>> + handle_domain_irq(cp_intc_domain, irqnr, regs)

Re: [PATCH 02/35] ARM: davinci: select GENERIC_IRQ_MULTI_HANDLER

2019-02-07 Thread Bartosz Golaszewski
śr., 6 lut 2019 o 13:39 Sekhar Nori napisał(a): > > On 31/01/19 7:08 PM, Bartosz Golaszewski wrote: > > > diff --git a/arch/arm/mach-davinci/cp_intc.c > > b/arch/arm/mach-davinci/cp_intc.c > > index 67805ca74ff8..b9aec3c48a6a 100644 > > --- a/arch/arm/mach-davinci/cp_intc.c > > +++ b/arch/arm/mac

Re: [PATCH 02/35] ARM: davinci: select GENERIC_IRQ_MULTI_HANDLER

2019-02-06 Thread Sekhar Nori
On 31/01/19 7:08 PM, Bartosz Golaszewski wrote: > diff --git a/arch/arm/mach-davinci/cp_intc.c b/arch/arm/mach-davinci/cp_intc.c > index 67805ca74ff8..b9aec3c48a6a 100644 > --- a/arch/arm/mach-davinci/cp_intc.c > +++ b/arch/arm/mach-davinci/cp_intc.c > @@ -19,6 +19,7 @@ > #include > #include >

Re: [PATCH 02/35] ARM: davinci: select GENERIC_IRQ_MULTI_HANDLER

2019-02-04 Thread David Lechner
On 1/31/19 7:38 AM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski In order to support SPARSE_IRQ we first need to make davinci use the generic irq handler for ARM. Translate the legacy assembly to C and put the irq handlers into their respective drivers (aintc and cp-intc). Signed-off-b

[PATCH 02/35] ARM: davinci: select GENERIC_IRQ_MULTI_HANDLER

2019-01-31 Thread Bartosz Golaszewski
From: Bartosz Golaszewski In order to support SPARSE_IRQ we first need to make davinci use the generic irq handler for ARM. Translate the legacy assembly to C and put the irq handlers into their respective drivers (aintc and cp-intc). Signed-off-by: Bartosz Golaszewski --- arch/arm/Kconfig