[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200226163140.GP37466@atomide.com>
Date: Wed, 26 Feb 2020 08:31:40 -0800
From: Tony Lindgren <tony@...mide.com>
To: afzal mohammed <afzal.mohd.ma@...il.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org, Krzysztof Halasa <khalasa@...p.pl>,
Russell King <linux@...linux.org.uk>,
Hartley Sweeten <hsweeten@...ionengravers.com>,
Alexander Sverdlin <alexander.sverdlin@...il.com>,
Lubomir Rintel <lkundrak@...sk>,
Kevin Hilman <khilman@...nel.org>,
Aaro Koskinen <aaro.koskinen@....fi>,
Viresh Kumar <vireshk@...nel.org>,
Shiraz Hashim <shiraz.linux.kernel@...il.com>,
Jason Cooper <jason@...edaemon.net>,
Andrew Lunn <andrew@...n.ch>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Gregory Clement <gregory.clement@...tlin.com>,
Allison Randal <allison@...utok.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
Arnd Bergmann <arnd@...db.de>, Enrico Weigelt <info@...ux.net>
Subject: Re: [PATCH v2 02/18] ARM: replace setup_irq() by request_irq()
* afzal mohammed <afzal.mohd.ma@...il.com> [200224 00:49]:
> request_irq() is preferred over setup_irq(). The early boot setup_irq()
> invocations happen either via 'init_IRQ()' or 'time_init()', while
> memory allocators are ready by 'mm_init()'.
>
> 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().
>
> Seldom remove_irq() usage has been observed coupled with setup_irq(),
> wherever that has been found, it too has been replaced by free_irq().
>
> [1] https://lkml.kernel.org/r/alpine.DEB.2.20.1710191609480.1971@nanos
>
> Signed-off-by: afzal mohammed <afzal.mohd.ma@...il.com>
> Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
> Acked-by: Alexander Sverdlin <alexander.sverdlin@...il.com> # EP93xx
> Tested-by: Alexander Sverdlin <alexander.sverdlin@...il.com> # EP93xx
Works for me:
Tested-by: Tony Lindgren <tony@...mide.com> # omap1 osk
Powered by blists - more mailing lists