Re: [PATCH v3] ARM: imx: avic: Convert to using IRQCHIP_DECLARE

From: Saravana Kannan
Date: Thu Feb 04 2021 - 21:09:13 EST


On Thu, Feb 4, 2021 at 5:54 PM Fabio Estevam <festevam@xxxxxxxxx> wrote:
>
> Hi Saravana,
>
> On Thu, Feb 4, 2021 at 10:39 PM Saravana Kannan <saravanak@xxxxxxxxxx> wrote:
> >
> > Using IRQCHIP_DECLARE lets fw_devlink know that it should not wait for
> > these interrupt controllers to be populated as struct devices. Without
> > this change, fw_devlink=on will make the consumers of these interrupt
> > controllers wait for the struct device to be added and thereby block the
> > consumers' probes forever. Converting to IRQCHIP_DECLARE addresses boot
> > issues on imx25 with fw_devlink=on that were reported by Martin.
> >
> > This also removes a lot of boilerplate code.
> >
> > Fixes: e590474768f1 ("driver core: Set fw_devlink=on by default")
> > Reported-by: Martin Kaiser <martin@xxxxxxxxx>
> > Signed-off-by: Saravana Kannan <saravanak@xxxxxxxxxx>
> > Tested-by: Martin Kaiser <martin@xxxxxxxxx>
>
> Thanks for the respin:
>
> Reviewed-by: Fabio Estevam <festevam@xxxxxxxxx>

Thanks for the quick review.

-Saravana