[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <22eeb976-8e4f-48e2-bbeb-a92f91503bad@amlogic.com>
Date: Mon, 26 Jan 2026 14:05:45 +0800
From: Xianwei Zhao <xianwei.zhao@...ogic.com>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
linux-kernel@...r.kernel.org
Cc: linux-rt-devel@...ts.linux.dev, Thomas Gleixner <tglx@...nel.org>,
Yiting Deng <yiting.deng@...ogic.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
linux-amlogic@...ts.infradead.org, linux-rtc@...r.kernel.org
Subject: Re: [PATCH 14/21] rtc: amlogic-a4: Remove IRQF_ONESHOT
Reviewed-by: Xianwei Zhao <xianwei.zhao@...ogic.com>
On 2026/1/23 19:37, Sebastian Andrzej Siewior wrote:
> [ EXTERNAL EMAIL ]
>
> Passing IRQF_ONESHOT ensures that the interrupt source is masked until
> the secondary (threaded) handler is done. If only a primary handler is
> used then the flag makes no sense because the interrupt can not fire
> (again) while its handler is running.
> The flag also disallows force-threading of the primary handler and the
> irq-core will warn about this.
>
> Remove IRQF_ONESHOT from irqflags.
>
> Cc: Yiting Deng <yiting.deng@...ogic.com>
> Cc: Xianwei Zhao <xianwei.zhao@...ogic.com>
> Cc: Alexandre Belloni <alexandre.belloni@...tlin.com>
> Cc: linux-amlogic@...ts.infradead.org
> Cc: linux-rtc@...r.kernel.org
> Fixes: c89ac9182ee29 ("rtc: support for the Amlogic on-chip RTC")
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
> ---
> drivers/rtc/rtc-amlogic-a4.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/rtc/rtc-amlogic-a4.c b/drivers/rtc/rtc-amlogic-a4.c
> index 123fb372fc9fe..50938c35af36a 100644
> --- a/drivers/rtc/rtc-amlogic-a4.c
> +++ b/drivers/rtc/rtc-amlogic-a4.c
> @@ -369,7 +369,7 @@ static int aml_rtc_probe(struct platform_device *pdev)
> return PTR_ERR(rtc->rtc_dev);
>
> ret = devm_request_irq(dev, rtc->irq, aml_rtc_handler,
> - IRQF_ONESHOT, "aml-rtc alarm", rtc);
> + 0, "aml-rtc alarm", rtc);
> if (ret) {
> dev_err_probe(dev, ret, "IRQ%d request failed, ret = %d\n",
> rtc->irq, ret);
> --
> 2.51.0
>
Powered by blists - more mailing lists