Re: [PATCH v3] xtensa: replace setup_irq() by request_irq()

From: Max Filippov
Date: Tue Mar 03 2020 - 21:42:10 EST


On Tue, Mar 3, 2020 at 4:41 PM afzal mohammed <afzal.mohd.ma@xxxxxxxxx> wrote:
>
> request_irq() is preferred over setup_irq(). Invocations of setup_irq()
> occur after memory allocators are ready.
>
> Per tglx[1], setup_irq() existed in olden days when allocators were not
> ready by the time early interrupts were initialized.
>
> Hence replace setup_irq() by request_irq().
>
> [1] https://lkml.kernel.org/r/alpine.DEB.2.20.1710191609480.1971@nanos
>
> Signed-off-by: afzal mohammed <afzal.mohd.ma@xxxxxxxxx>
> ---
> Hi Max Filippov,
>
> i believe you are the maintainer of xtensa, if you are okay w/ this change,
> please consider taking it thr' your tree, else please let me know.

Sure. Applied to my xtensa tree.

--
Thanks.
-- Max