* [PATCH 1/7] soc: fsl: dpio: Remove redundant dev_err()
2026-07-20 9:59 [PATCH 0/7] soc: Remove redundant error messages on IRQ request failure Pan Chuang
@ 2026-07-20 9:59 ` Pan Chuang
2026-07-20 9:59 ` [PATCH 2/7] soc: ixp4xx: " Pan Chuang
` (4 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Pan Chuang @ 2026-07-20 9:59 UTC (permalink / raw)
To: Roy Pledge, Christophe Leroy (CS GROUP),
open list:DPAA2 DATAPATH I/O (DPIO) DRIVER,
open list:FREESCALE SOC DRIVERS,
moderated list:FREESCALE SOC DRIVERS
Cc: Pan Chuang
Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err() calls.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
---
drivers/soc/fsl/dpio/dpio-driver.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/soc/fsl/dpio/dpio-driver.c b/drivers/soc/fsl/dpio/dpio-driver.c
index 9e3fddd8f5a9..d5198ffc4455 100644
--- a/drivers/soc/fsl/dpio/dpio-driver.c
+++ b/drivers/soc/fsl/dpio/dpio-driver.c
@@ -102,12 +102,8 @@ static int register_dpio_irq_handlers(struct fsl_mc_device *dpio_dev, int cpu)
0,
dev_name(&dpio_dev->dev),
&dpio_dev->dev);
- if (error < 0) {
- dev_err(&dpio_dev->dev,
- "devm_request_irq() failed: %d\n",
- error);
+ if (error < 0)
return error;
- }
/* set the affinity hint */
if (irq_set_affinity_hint(irq->virq, cpumask_of(cpu)))
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 2/7] soc: ixp4xx: Remove redundant dev_err()
2026-07-20 9:59 [PATCH 0/7] soc: Remove redundant error messages on IRQ request failure Pan Chuang
2026-07-20 9:59 ` [PATCH 1/7] soc: fsl: dpio: Remove redundant dev_err() Pan Chuang
@ 2026-07-20 9:59 ` Pan Chuang
2026-07-20 9:59 ` [PATCH 3/7] soc: mediatek: mtk-svs: Remove redundant dev_err_probe() Pan Chuang
` (3 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Pan Chuang @ 2026-07-20 9:59 UTC (permalink / raw)
To: Linus Walleij, Imre Kaloz,
moderated list:ARM/INTEL IXP4XX ARM ARCHITECTURE, open list
Cc: Pan Chuang
Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err() calls.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
---
drivers/soc/ixp4xx/ixp4xx-qmgr.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/soc/ixp4xx/ixp4xx-qmgr.c b/drivers/soc/ixp4xx/ixp4xx-qmgr.c
index 475e229039e3..6e1fca630b80 100644
--- a/drivers/soc/ixp4xx/ixp4xx-qmgr.c
+++ b/drivers/soc/ixp4xx/ixp4xx-qmgr.c
@@ -421,19 +421,13 @@ static int ixp4xx_qmgr_probe(struct platform_device *pdev)
err = devm_request_irq(dev, irq1, handler1, 0, "IXP4xx Queue Manager",
NULL);
- if (err) {
- dev_err(dev, "failed to request IRQ%i (%i)\n",
- irq1, err);
+ if (err)
return err;
- }
err = devm_request_irq(dev, irq2, handler2, 0, "IXP4xx Queue Manager",
NULL);
- if (err) {
- dev_err(dev, "failed to request IRQ%i (%i)\n",
- irq2, err);
+ if (err)
return err;
- }
used_sram_bitmap[0] = 0xF; /* 4 first pages reserved for config */
spin_lock_init(&qmgr_lock);
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 3/7] soc: mediatek: mtk-svs: Remove redundant dev_err_probe()
2026-07-20 9:59 [PATCH 0/7] soc: Remove redundant error messages on IRQ request failure Pan Chuang
2026-07-20 9:59 ` [PATCH 1/7] soc: fsl: dpio: Remove redundant dev_err() Pan Chuang
2026-07-20 9:59 ` [PATCH 2/7] soc: ixp4xx: " Pan Chuang
@ 2026-07-20 9:59 ` Pan Chuang
2026-07-20 9:59 ` [PATCH 6/7] soc: ti: wkup_m3_ipc: Remove redundant dev_err() Pan Chuang
` (2 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Pan Chuang @ 2026-07-20 9:59 UTC (permalink / raw)
To: Matthias Brugger, AngeloGioacchino Del Regno,
open list:ARM/Mediatek SoC support,
moderated list:ARM/Mediatek SoC support,
moderated list:ARM/Mediatek SoC support
Cc: Pan Chuang
Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_threaded_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err_probe() calls.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
---
drivers/soc/mediatek/mtk-svs.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/soc/mediatek/mtk-svs.c b/drivers/soc/mediatek/mtk-svs.c
index 99edecb204f2..39af0728ce61 100644
--- a/drivers/soc/mediatek/mtk-svs.c
+++ b/drivers/soc/mediatek/mtk-svs.c
@@ -2908,10 +2908,8 @@ static int svs_probe(struct platform_device *pdev)
ret = devm_request_threaded_irq(svsp->dev, svsp_irq, NULL, svs_isr,
IRQF_ONESHOT, svsp_data->name, svsp);
- if (ret) {
- dev_err_probe(svsp->dev, ret, "register irq(%d) failed\n", svsp_irq);
+ if (ret)
goto svs_probe_iounmap;
- }
ret = svs_start(svsp);
if (ret) {
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 6/7] soc: ti: wkup_m3_ipc: Remove redundant dev_err()
2026-07-20 9:59 [PATCH 0/7] soc: Remove redundant error messages on IRQ request failure Pan Chuang
` (2 preceding siblings ...)
2026-07-20 9:59 ` [PATCH 3/7] soc: mediatek: mtk-svs: Remove redundant dev_err_probe() Pan Chuang
@ 2026-07-20 9:59 ` Pan Chuang
2026-07-20 14:17 ` Hari Prasath G E
2026-07-20 9:59 ` [PATCH 7/7] soc: xilinx: " Pan Chuang
2026-07-24 16:38 ` (subset) [PATCH 0/7] soc: Remove redundant error messages on IRQ request failure Nishanth Menon
5 siblings, 1 reply; 11+ messages in thread
From: Pan Chuang @ 2026-07-20 9:59 UTC (permalink / raw)
To: Nishanth Menon, Santosh Shilimkar,
open list:TI KEYSTONE MULTICORE NAVIGATOR DRIVERS,
moderated list:TI KEYSTONE MULTICORE NAVIGATOR DRIVERS
Cc: Pan Chuang
Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err() calls.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
---
drivers/soc/ti/wkup_m3_ipc.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c
index 5845fc652adc..f8640cdc2a21 100644
--- a/drivers/soc/ti/wkup_m3_ipc.c
+++ b/drivers/soc/ti/wkup_m3_ipc.c
@@ -630,10 +630,8 @@ static int wkup_m3_ipc_probe(struct platform_device *pdev)
ret = devm_request_irq(dev, irq, wkup_m3_txev_handler,
0, "wkup_m3_txev", m3_ipc);
- if (ret) {
- dev_err(dev, "request_irq failed\n");
+ if (ret)
return ret;
- }
m3_ipc->mbox_client.dev = dev;
m3_ipc->mbox_client.tx_done = NULL;
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [PATCH 6/7] soc: ti: wkup_m3_ipc: Remove redundant dev_err()
2026-07-20 9:59 ` [PATCH 6/7] soc: ti: wkup_m3_ipc: Remove redundant dev_err() Pan Chuang
@ 2026-07-20 14:17 ` Hari Prasath G E
0 siblings, 0 replies; 11+ messages in thread
From: Hari Prasath G E @ 2026-07-20 14:17 UTC (permalink / raw)
To: Pan Chuang, Nishanth Menon, Santosh Shilimkar,
open list:TI KEYSTONE MULTICORE NAVIGATOR DRIVERS,
moderated list:TI KEYSTONE MULTICORE NAVIGATOR DRIVERS
On 7/20/2026 3:29 PM, Pan Chuang wrote:
> Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
> devm_request_*_irq()"), devm_request_irq() automatically logs
> detailed error messages on failure. Remove the now-redundant
> driver-specific dev_err() calls.
>
Thanks for the patch
Reviewed-by: Hari Prasath Gujulan Elango <gehariprasath@ti.com>
> Signed-off-by: Pan Chuang <panchuang@vivo.com>
> ---
> drivers/soc/ti/wkup_m3_ipc.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/drivers/soc/ti/wkup_m3_ipc.c b/drivers/soc/ti/wkup_m3_ipc.c
> index 5845fc652adc..f8640cdc2a21 100644
> --- a/drivers/soc/ti/wkup_m3_ipc.c
> +++ b/drivers/soc/ti/wkup_m3_ipc.c
> @@ -630,10 +630,8 @@ static int wkup_m3_ipc_probe(struct platform_device *pdev)
>
> ret = devm_request_irq(dev, irq, wkup_m3_txev_handler,
> 0, "wkup_m3_txev", m3_ipc);
> - if (ret) {
> - dev_err(dev, "request_irq failed\n");
> + if (ret)
> return ret;
> - }
>
> m3_ipc->mbox_client.dev = dev;
> m3_ipc->mbox_client.tx_done = NULL;
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 7/7] soc: xilinx: Remove redundant dev_err()
2026-07-20 9:59 [PATCH 0/7] soc: Remove redundant error messages on IRQ request failure Pan Chuang
` (3 preceding siblings ...)
2026-07-20 9:59 ` [PATCH 6/7] soc: ti: wkup_m3_ipc: Remove redundant dev_err() Pan Chuang
@ 2026-07-20 9:59 ` Pan Chuang
2026-07-20 15:50 ` Pandey, Radhey Shyam
2026-07-24 16:38 ` (subset) [PATCH 0/7] soc: Remove redundant error messages on IRQ request failure Nishanth Menon
5 siblings, 1 reply; 11+ messages in thread
From: Pan Chuang @ 2026-07-20 9:59 UTC (permalink / raw)
To: Michal Simek, Prasanna Kumar T S M, Pan Chuang, Marco Crivellari,
Jay Buddhabhatti, moderated list:ARM/ZYNQ ARCHITECTURE, open list
Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_threaded_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err() calls.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
---
drivers/soc/xilinx/zynqmp_power.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/soc/xilinx/zynqmp_power.c b/drivers/soc/xilinx/zynqmp_power.c
index 370e61ac47d8..54c796afb89e 100644
--- a/drivers/soc/xilinx/zynqmp_power.c
+++ b/drivers/soc/xilinx/zynqmp_power.c
@@ -368,11 +368,8 @@ static int zynqmp_pm_probe(struct platform_device *pdev)
IRQF_NO_SUSPEND | IRQF_ONESHOT,
dev_name(&pdev->dev),
&pdev->dev);
- if (ret) {
- dev_err(&pdev->dev, "devm_request_threaded_irq '%d' failed with %d\n",
- irq, ret);
+ if (ret)
return ret;
- }
} else {
dev_err(&pdev->dev, "Required property not found in DT node\n");
return -ENOENT;
--
2.34.1
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [PATCH 7/7] soc: xilinx: Remove redundant dev_err()
2026-07-20 9:59 ` [PATCH 7/7] soc: xilinx: " Pan Chuang
@ 2026-07-20 15:50 ` Pandey, Radhey Shyam
2026-07-21 5:49 ` Michal Simek
0 siblings, 1 reply; 11+ messages in thread
From: Pandey, Radhey Shyam @ 2026-07-20 15:50 UTC (permalink / raw)
To: Pan Chuang, Michal Simek, Prasanna Kumar T S M, Marco Crivellari,
Jay Buddhabhatti, moderated list:ARM/ZYNQ ARCHITECTURE, open list
On 7/20/2026 3:29 PM, Pan Chuang wrote:
> Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
> devm_request_*_irq()"), devm_request_threaded_irq() automatically logs
> detailed error messages on failure. Remove the now-redundant
> driver-specific dev_err() calls.
>
> Signed-off-by: Pan Chuang <panchuang@vivo.com>
> ---
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Thanks!
> drivers/soc/xilinx/zynqmp_power.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>
> diff --git a/drivers/soc/xilinx/zynqmp_power.c b/drivers/soc/xilinx/zynqmp_power.c
> index 370e61ac47d8..54c796afb89e 100644
> --- a/drivers/soc/xilinx/zynqmp_power.c
> +++ b/drivers/soc/xilinx/zynqmp_power.c
> @@ -368,11 +368,8 @@ static int zynqmp_pm_probe(struct platform_device *pdev)
> IRQF_NO_SUSPEND | IRQF_ONESHOT,
> dev_name(&pdev->dev),
> &pdev->dev);
> - if (ret) {
> - dev_err(&pdev->dev, "devm_request_threaded_irq '%d' failed with %d\n",
> - irq, ret);
> + if (ret)
> return ret;
> - }
> } else {
> dev_err(&pdev->dev, "Required property not found in DT node\n");
> return -ENOENT;
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [PATCH 7/7] soc: xilinx: Remove redundant dev_err()
2026-07-20 15:50 ` Pandey, Radhey Shyam
@ 2026-07-21 5:49 ` Michal Simek
2026-07-22 2:23 ` Pan Chuang
0 siblings, 1 reply; 11+ messages in thread
From: Michal Simek @ 2026-07-21 5:49 UTC (permalink / raw)
To: Pandey, Radhey Shyam, Pan Chuang, Prasanna Kumar T S M,
Marco Crivellari, Jay Buddhabhatti,
moderated list:ARM/ZYNQ ARCHITECTURE, open list, Arnd Bergmann
On 7/20/26 17:50, Pandey, Radhey Shyam wrote:
> On 7/20/2026 3:29 PM, Pan Chuang wrote:
>> Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
>> devm_request_*_irq()"), devm_request_threaded_irq() automatically logs
>> detailed error messages on failure. Remove the now-redundant
>> driver-specific dev_err() calls.
>>
>> Signed-off-by: Pan Chuang <panchuang@vivo.com>
>> ---
>
> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
> Thanks!
>> drivers/soc/xilinx/zynqmp_power.c | 5 +----
>> 1 file changed, 1 insertion(+), 4 deletions(-)
>>
>> diff --git a/drivers/soc/xilinx/zynqmp_power.c b/drivers/soc/xilinx/
>> zynqmp_power.c
>> index 370e61ac47d8..54c796afb89e 100644
>> --- a/drivers/soc/xilinx/zynqmp_power.c
>> +++ b/drivers/soc/xilinx/zynqmp_power.c
>> @@ -368,11 +368,8 @@ static int zynqmp_pm_probe(struct platform_device *pdev)
>> IRQF_NO_SUSPEND | IRQF_ONESHOT,
>> dev_name(&pdev->dev),
>> &pdev->dev);
>> - if (ret) {
>> - dev_err(&pdev->dev, "devm_request_threaded_irq '%d' failed with
>> %d\n",
>> - irq, ret);
>> + if (ret)
>> return ret;
>> - }
>> } else {
>> dev_err(&pdev->dev, "Required property not found in DT node\n");
>> return -ENOENT;
>
No issue with this patch but how do you want this to be merged?
It should go via soc specific trees and then to Arnd. I don't think Arnd will
take this directly to soc tree.
My suggestion would be to split it and get that patches merged separately.
Just in case
Acked-by: Michal Simek <michal.simek@amd.com>
Thanks,
Michal
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [PATCH 7/7] soc: xilinx: Remove redundant dev_err()
2026-07-21 5:49 ` Michal Simek
@ 2026-07-22 2:23 ` Pan Chuang
0 siblings, 0 replies; 11+ messages in thread
From: Pan Chuang @ 2026-07-22 2:23 UTC (permalink / raw)
To: michal.simek
Cc: arnd, jay.buddhabhatti, linux-arm-kernel, linux-kernel,
marco.crivellari, panchuang, ptsm, radheys
On 2026/7/21 13:49, Michal Simek wrote:
>
>
> On 7/20/26 17:50, Pandey, Radhey Shyam wrote:
>> On 7/20/2026 3:29 PM, Pan Chuang wrote:
>>> Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
>>> devm_request_*_irq()"), devm_request_threaded_irq() automatically logs
>>> detailed error messages on failure. Remove the now-redundant
>>> driver-specific dev_err() calls.
>>>
>>> Signed-off-by: Pan Chuang <panchuang@vivo.com>
>>> ---
>>
>> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
>> Thanks!
>>> drivers/soc/xilinx/zynqmp_power.c | 5 +----
>>> 1 file changed, 1 insertion(+), 4 deletions(-)
>>>
>>> diff --git a/drivers/soc/xilinx/zynqmp_power.c b/drivers/soc/xilinx/ zynqmp_power.c
>>> index 370e61ac47d8..54c796afb89e 100644
>>> --- a/drivers/soc/xilinx/zynqmp_power.c
>>> +++ b/drivers/soc/xilinx/zynqmp_power.c
>>> @@ -368,11 +368,8 @@ static int zynqmp_pm_probe(struct platform_device *pdev)
>>> IRQF_NO_SUSPEND | IRQF_ONESHOT,
>>> dev_name(&pdev->dev),
>>> &pdev->dev);
>>> - if (ret) {
>>> - dev_err(&pdev->dev, "devm_request_threaded_irq '%d' failed with %d\n",
>>> - irq, ret);
>>> + if (ret)
>>> return ret;
>>> - }
>>> } else {
>>> dev_err(&pdev->dev, "Required property not found in DT node\n");
>>> return -ENOENT;
>>
>
> No issue with this patch but how do you want this to be merged?
> It should go via soc specific trees and then to Arnd. I don't think Arnd will take this directly to soc tree.
>
> My suggestion would be to split it and get that patches merged separately.
>
> Just in case
> Acked-by: Michal Simek <michal.simek@amd.com>
>
> Thanks,
> Michal
Thanks for the suggestion. I'll split it by platform and send each patch separately.
Best Regards,
PanChuang
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: (subset) [PATCH 0/7] soc: Remove redundant error messages on IRQ request failure
2026-07-20 9:59 [PATCH 0/7] soc: Remove redundant error messages on IRQ request failure Pan Chuang
` (4 preceding siblings ...)
2026-07-20 9:59 ` [PATCH 7/7] soc: xilinx: " Pan Chuang
@ 2026-07-24 16:38 ` Nishanth Menon
5 siblings, 0 replies; 11+ messages in thread
From: Nishanth Menon @ 2026-07-24 16:38 UTC (permalink / raw)
To: Roy Pledge, Christophe Leroy (CS GROUP), Linus Walleij,
Imre Kaloz, Matthias Brugger, AngeloGioacchino Del Regno,
Bjorn Andersson, Konrad Dybcio, Thierry Reding, Jonathan Hunter,
Santosh Shilimkar, Michal Simek, Shashank Balaji, Gary Guo,
Sumit Gupta, Rahul Bukte, Bruno Sobreira França,
Prasanna Kumar T S M, Marco Crivellari, Jay Buddhabhatti,
linux-kernel, linuxppc-dev, linux-arm-kernel, linux-mediatek,
linux-arm-msm, linux-tegra, Pan Chuang
Cc: Nishanth Menon
Hi Pan Chuang,
On Mon, 20 Jul 2026 17:59:06 +0800, Pan Chuang wrote:
> Commit 55b48e23f5c4 ("genirq/devres: Add error handling in
> devm_request_*_irq()") added automatic error logging to
> devm_request_threaded_irq() and devm_request_any_context_irq()
> via the new devm_request_result() helper, which prints device
> name, IRQ number, handler functions, and error code on failure.
>
> Since devm_request_irq() is a static inline wrapper around
> devm_request_threaded_irq(), it also benefits from this
> automatic logging.
>
> [...]
I have applied the following to branch ti-drivers-soc-next on [1].
Thank you!
[6/7] soc: ti: wkup_m3_ipc: Remove redundant dev_err()
commit: dce7afe3efe485a99200a59dc78738539cbd133f
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
https://ti.com/opensource
^ permalink raw reply [flat|nested] 11+ messages in thread