From: Pan Chuang <panchuang@vivo.com>
To: Shuai Xue <xueshuai@linux.alibaba.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>,
Yushan Wang <wangyushan12@huawei.com>,
Ji Sheng Teoh <jisheng.teoh@starfivetech.com>,
Khuong Dinh <khuong@os.amperecomputing.com>,
Besar Wicaksono <bwicaksono@nvidia.com>,
Ilkka Koskinen <ilkka@os.amperecomputing.com>,
Jonathan Cameron <jic23@kernel.org>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Chengwen Feng <fengchengwen@huawei.com>,
Yury Norov <ynorov@nvidia.com>, Ma Ke <make24@iscas.ac.cn>,
Pan Chuang <panchuang@vivo.com>,
linux-arm-kernel@lists.infradead.org (moderated list:ARM PMU
PROFILING AND DEBUGGING),
linux-perf-users@vger.kernel.org (open list:ARM PMU PROFILING
AND DEBUGGING), linux-kernel@vger.kernel.org (open list),
imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM
ARCHITECTURE),
linux-arm-msm@vger.kernel.org (open list:ARM/QUALCOMM MAILING
LIST)
Subject: [PATCH 0/3] perf: Remove redundant error messages on IRQ request failure
Date: Fri, 17 Jul 2026 18:31:16 +0800 [thread overview]
Message-ID: <20260717103123.34887-1-panchuang@vivo.com> (raw)
devm_request_threaded_irq() and devm_request_any_context_irq()
automatically log detailed error messages on failure via
the devm_request_result() helper, which prints device
name, IRQ number, handler functions, and error code.
Since devm_request_irq() is a static inline wrapper around
devm_request_threaded_irq(), it also benefits from this
automatic logging.
Remove the now-redundant dev_err() and dev_err_probe() calls
in perf drivers that follow these devm_request_*_irq()
functions, as the core now provides more detailed diagnostic
information on failure.
Pan Chuang (3):
perf: Remove redundant dev_err()/dev_err_probe()
perf: arm_cspmu: Remove redundant dev_err()
drivers/perf: hisi: Remove redundant dev_err()/dev_err_probe()
drivers/perf/alibaba_uncore_drw_pmu.c | 5 +----
drivers/perf/arm_cspmu/arm_cspmu.c | 4 +---
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/hisilicon/hisi_uncore_l3c_pmu.c | 3 +--
drivers/perf/hisilicon/hisi_uncore_pmu.c | 5 +----
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 +---
11 files changed, 11 insertions(+), 32 deletions(-)
--
2.34.1
next reply other threads:[~2026-07-17 10:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-17 10:31 Pan Chuang [this message]
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-17 10:31 ` [PATCH 2/3] perf: arm_cspmu: Remove redundant dev_err() Pan Chuang
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=20260717103123.34887-1-panchuang@vivo.com \
--to=panchuang@vivo.com \
--cc=Frank.li@nxp.com \
--cc=bwicaksono@nvidia.com \
--cc=fengchengwen@huawei.com \
--cc=festevam@gmail.com \
--cc=ilkka@os.amperecomputing.com \
--cc=imx@lists.linux.dev \
--cc=jic23@kernel.org \
--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=make24@iscas.ac.cn \
--cc=mark.rutland@arm.com \
--cc=s.hauer@pengutronix.de \
--cc=suzuki.poulose@arm.com \
--cc=wangyushan12@huawei.com \
--cc=will@kernel.org \
--cc=xu.yang_2@nxp.com \
--cc=xueshuai@linux.alibaba.com \
--cc=ynorov@nvidia.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