On Thu, Aug 8, 2019 at 2:32 PM Linus Walleij <linus.walleij@xxxxxxxxxx> wrote: > Use the new infrastructure for hierarchical irqchips in > gpiolib. > > The major part of the rewrite was dues to the fact that > the driver was passing around a per-irq pointer to > struct thunderx_line * data container, and the central > handlers will assume struct gpio_chip * to be passed > to we need to use the hwirq as index to look up the > struct thunderx_line * for each IRQ. > > The pushing and pop:ing of the irqdomain was confusing > because I've never seen this before, but I tried to > replicate it as best I could. > > I have no chance to test or debug this so I need > help. > > Cc: David Daney <david.daney@xxxxxxxxxx> > Cc: Thierry Reding <treding@xxxxxxxxxx> > Cc: Brian Masney <masneyb@xxxxxxxxxxxxx> > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- > ChangeLog RFT v1-> RFT v2: > - Rebased. As noone seems interested in reviewing or testing ThunderX I have applied the patch, as I think there are ThunderX machines in the test farms, things will crop out now. Yours, Linus Walleij