Re: [PATCH v7 2/5] genirq: Add handle_fasteoi_{level,edge}_irq flow handlers.

2017-08-16 Thread Thomas Gleixner
On Wed, 16 Aug 2017, David Daney wrote: > On 08/14/2017 03:25 AM, Thomas Gleixner wrote: > > On Wed, 9 Aug 2017, David Daney wrote: > > > #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY > > > > Can we please make them conditional in order not to bloat all kernels with > > it? Like we do for handle_edge_eoi

Re: [PATCH v7 2/5] genirq: Add handle_fasteoi_{level,edge}_irq flow handlers.

2017-08-16 Thread David Daney
On 08/14/2017 03:25 AM, Thomas Gleixner wrote: On Wed, 9 Aug 2017, David Daney wrote: #ifdefCONFIG_IRQ_DOMAIN_HIERARCHY Can we please make them conditional in order not to bloat all kernels with it? Like we do for handle_edge_eoi_irq() ? Yes. Because these are initially used by e

Re: [PATCH v7 2/5] genirq: Add handle_fasteoi_{level,edge}_irq flow handlers.

2017-08-14 Thread Thomas Gleixner
On Wed, 9 Aug 2017, David Daney wrote: > #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY Can we please make them conditional in order not to bloat all kernels with it? Like we do for handle_edge_eoi_irq() ? > /** > + * handle_fasteoi_edge_irq - irq handler for edge hierarchy > + * stacked on trans

[PATCH v7 2/5] genirq: Add handle_fasteoi_{level,edge}_irq flow handlers.

2017-08-09 Thread David Daney
Follow-on patch for gpio-thunderx uses a irqdomain hierarchy which requires slightly different flow handlers, add them to chip.c which contains most of the other flow handlers. Signed-off-by: David Daney --- include/linux/irq.h | 2 ++ kernel/irq/chip.c | 102