Re: [PATCH 5/7] MIPS: SGI-IP27: rework HUB interrupts

2019-01-28 Thread Christoph Hellwig
> struct slice_data { > unsigned long irq_enable_mask[2]; > - int level_to_irq[LEVELS_PER_SLICE]; > }; Any reaason to keep struct slice_data around at all? > + HUB_S(hd->irq_mask_addr[0], si->irq_enable_mask[0]); > + HUB_S(hd->irq_mask_addr[1], si->irq_enable_mask[1]); I

[PATCH 5/7] MIPS: SGI-IP27: rework HUB interrupts

2019-01-24 Thread Thomas Bogendoerfer
This commit rearranges the HUB interrupt code by using MIPS_IRQ_CPU interrupt handling code and modern Linux IRQ framework features to get rid of global and per cpu arrays. It also adds support for irq affinity setting. Signed-off-by: Thomas Bogendoerfer --- arch/mips/Kconfig