Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Shuai Xue <xueshuai@linux.alibaba.com>
To: Pan Chuang <panchuang@vivo.com>, Will Deacon <will@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>, Frank Li <Frank.li@nxp.com>,
	Xu Yang <xu.yang_2@nxp.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Ji Sheng Teoh <jisheng.teoh@starfivetech.com>,
	Khuong Dinh <khuong@os.amperecomputing.com>,
	"moderated list:ARM PMU PROFILING AND DEBUGGING"
	<linux-arm-kernel@lists.infradead.org>,
	"open list:ARM PMU PROFILING AND DEBUGGING"
	<linux-perf-users@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>,
	"open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
	<imx@lists.linux.dev>,
	"open list:ARM/QUALCOMM MAILING LIST"
	<linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH 1/3] perf: Remove redundant dev_err()/dev_err_probe()
Date: Thu, 23 Jul 2026 09:32:26 +0800	[thread overview]
Message-ID: <31bebd39-8534-417c-866d-6d6e3468473c@linux.alibaba.com> (raw)
In-Reply-To: <20260717103123.34887-2-panchuang@vivo.com>



On 7/17/26 6:31 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() and dev_err_probe() calls.
> 
> Signed-off-by: Pan Chuang <panchuang@vivo.com>
> ---
>   drivers/perf/alibaba_uncore_drw_pmu.c | 5 +----
>   drivers/perf/fsl_imx8_ddr_perf.c      | 4 +---
>   drivers/perf/fsl_imx9_ddr_perf.c      | 4 +---
>   drivers/perf/fujitsu_uncore_pmu.c     | 2 +-
>   drivers/perf/qcom_l2_pmu.c            | 5 +----
>   drivers/perf/qcom_l3_pmu.c            | 5 +----
>   drivers/perf/starfive_starlink_pmu.c  | 2 +-
>   drivers/perf/xgene_pmu.c              | 4 +---
>   8 files changed, 8 insertions(+), 23 deletions(-)
> 
> diff --git a/drivers/perf/alibaba_uncore_drw_pmu.c b/drivers/perf/alibaba_uncore_drw_pmu.c
> index 74786a5dd6a2..fc934bccf4a6 100644
> --- a/drivers/perf/alibaba_uncore_drw_pmu.c
> +++ b/drivers/perf/alibaba_uncore_drw_pmu.c
> @@ -449,11 +449,8 @@ static struct ali_drw_pmu_irq *__ali_drw_pmu_init_irq(struct platform_device
>   	 */
>   	ret = devm_request_irq(&pdev->dev, irq_num, ali_drw_pmu_isr,
>   			       IRQF_SHARED, dev_name(&pdev->dev), irq);
> -	if (ret < 0) {
> -		dev_err(&pdev->dev,
> -			"Fail to request IRQ:%d ret:%d\n", irq_num, ret);
> +	if (ret < 0)
>   		goto out_free;
> -	}
>   
>   	ret = irq_set_affinity_hint(irq_num, cpumask_of(irq->cpu));
>   	if (ret)
For Alibaba PMU part,

Reviewed-by: Shuai Xue <xueshuai@linux.alibaba.com>

Thanks,
Shuai


  parent reply	other threads:[~2026-07-23  1:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-17 10:31 [PATCH 0/3] perf: Remove redundant error messages on IRQ request failure Pan Chuang
2026-07-17 10:31 ` [PATCH 1/3] perf: Remove redundant dev_err()/dev_err_probe() Pan Chuang
2026-07-17 11:06   ` Xu Yang
2026-07-17 16:00   ` Frank Li
2026-07-23  1:32   ` Shuai Xue [this message]
2026-07-17 10:31 ` [PATCH 2/3] perf: arm_cspmu: Remove redundant dev_err() Pan Chuang
2026-07-23 22:38   ` Ilkka Koskinen
2026-07-17 10:31 ` [PATCH 3/3] drivers/perf: hisi: Remove redundant dev_err()/dev_err_probe() Pan Chuang
2026-07-20  4:05   ` Yushan Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=31bebd39-8534-417c-866d-6d6e3468473c@linux.alibaba.com \
    --to=xueshuai@linux.alibaba.com \
    --cc=Frank.li@nxp.com \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=jisheng.teoh@starfivetech.com \
    --cc=kernel@pengutronix.de \
    --cc=khuong@os.amperecomputing.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=panchuang@vivo.com \
    --cc=s.hauer@pengutronix.de \
    --cc=will@kernel.org \
    --cc=xu.yang_2@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox