From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Will Deacon <will@kernel.org>, Mark Rutland <mark.rutland@arm.com>
Cc: Shuai Xue <xueshuai@linux.alibaba.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Jiucheng Xu <jiucheng.xu@amlogic.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kevin Hilman <khilman@baylibre.com>,
Jerome Brunet <jbrunet@baylibre.com>,
Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
linux-amlogic@lists.infradead.org,
Ilkka Koskinen <ilkka@os.amperecomputing.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Besar Wicaksono <bwicaksono@nvidia.com>,
Robin Murphy <robin.murphy@arm.com>,
Raag Jadav <raag.jadav@intel.com>, Frank Li <Frank.li@nxp.com>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
NXP Linux Team <linux-imx@nxp.com>,
Yicong Yang <yangyicong@hisilicon.com>,
Jonathan Cameron <jonathan.cameron@huawei.com>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
linux-arm-msm@vger.kernel.org,
Khuong Dinh <khuong@os.amperecomputing.com>
Subject: [PATCH 00/18] perf: Convert to platform remove callback returning void
Date: Fri, 15 Dec 2023 14:59:00 +0100 [thread overview]
Message-ID: <cover.1702648124.git.u.kleine-koenig@pengutronix.de> (raw)
Hello,
this series converts all drivers below drivers/perf to use
.remove_new(). See commit 5c5a7680e67b ("platform: Provide a remove
callback that returns no value") for an extended explanation and the
eventual goal. The TL;DR; is to make it harder for driver authors to
leak resources without noticing.
I based the patches on today's next, I had to revert commits
3115ee021bfb ("arm64: perf: Include threshold control fields in
PMEVTYPER mask") and 816c26754447 ("arm64: perf: Add support for event
counting threshold") to compile test on ARCH=arm (this is a problem in
next, not in my patch series).
This is merge window material. All patches are pairwise independent of
each other so they can be applied individually. Still it would be great
to let them go in all together.
Best regards
Uwe
Uwe Kleine-König (18):
perf: alibaba_uncore_drw: Convert to platform remove callback
returning void
perf: amlogic: Convert to platform remove callback returning void
perf: arm-cci: Convert to platform remove callback returning void
perf: arm-ccn: Convert to platform remove callback returning void
perf: arm-cmn: Convert to platform remove callback returning void
perf: arm_cspmu: Convert to platform remove callback returning void
perf: arm_dmc620: Convert to platform remove callback returning void
perf: arm_dsu: Convert to platform remove callback returning void
perf: arm_smmuv3: Convert to platform remove callback returning void
perf: arm_spe: Convert to platform remove callback returning void
perf: fsl_imx8_ddr: Convert to platform remove callback returning void
perf: fsl_imx9_ddr: Convert to platform remove callback returning void
perf: hisilicon: Convert to platform remove callback returning void
perf: marvell_cn10k_ddr: Convert to platform remove callback returning void
perf: marvell_cn10k_tad: Convert to platform remove callback returning void
perf: qcom_l2: Convert to platform remove callback returning void
perf: thunderx2: Convert to platform remove callback returning void
perf: xgene: Convert to platform remove callback returning void
drivers/perf/alibaba_uncore_drw_pmu.c | 6 ++----
drivers/perf/amlogic/meson_g12_ddr_pmu.c | 6 ++----
drivers/perf/arm-cci.c | 8 +++-----
drivers/perf/arm-ccn.c | 6 ++----
drivers/perf/arm-cmn.c | 5 ++---
drivers/perf/arm_cspmu/arm_cspmu.c | 6 ++----
drivers/perf/arm_dmc620_pmu.c | 6 ++----
drivers/perf/arm_dsu_pmu.c | 6 ++----
drivers/perf/arm_smmuv3_pmu.c | 6 ++----
drivers/perf/arm_spe_pmu.c | 5 ++---
drivers/perf/fsl_imx8_ddr_perf.c | 5 ++---
drivers/perf/fsl_imx9_ddr_perf.c | 6 ++----
drivers/perf/hisilicon/hisi_uncore_cpa_pmu.c | 5 ++---
drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c | 5 ++---
drivers/perf/hisilicon/hisi_uncore_hha_pmu.c | 5 ++---
drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c | 5 ++---
drivers/perf/hisilicon/hisi_uncore_pa_pmu.c | 5 ++---
drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c | 5 ++---
drivers/perf/marvell_cn10k_ddr_pmu.c | 5 ++---
drivers/perf/marvell_cn10k_tad_pmu.c | 6 ++----
drivers/perf/qcom_l2_pmu.c | 5 ++---
drivers/perf/thunderx2_pmu.c | 5 ++---
drivers/perf/xgene_pmu.c | 6 ++----
23 files changed, 47 insertions(+), 81 deletions(-)
base-commit: 17cb8a20bde66a520a2ca7aad1063e1ce7382240
--
2.42.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
next reply other threads:[~2023-12-15 14:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-15 13:59 Uwe Kleine-König [this message]
2023-12-15 13:59 ` [PATCH 02/18] perf: amlogic: Convert to platform remove callback returning void Uwe Kleine-König
2024-01-10 8:56 ` [PATCH 00/18] perf: " Uwe Kleine-König
2024-01-12 13:50 ` Will Deacon
2024-01-12 18:53 ` Uwe Kleine-König
2024-02-09 18:31 ` Will Deacon
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=cover.1702648124.git.u.kleine-koenig@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=Frank.li@nxp.com \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=bwicaksono@nvidia.com \
--cc=festevam@gmail.com \
--cc=ilkka@os.amperecomputing.com \
--cc=jbrunet@baylibre.com \
--cc=jiucheng.xu@amlogic.com \
--cc=jonathan.cameron@huawei.com \
--cc=kernel@pengutronix.de \
--cc=khilman@baylibre.com \
--cc=khuong@os.amperecomputing.com \
--cc=konrad.dybcio@linaro.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=martin.blumenstingl@googlemail.com \
--cc=neil.armstrong@linaro.org \
--cc=raag.jadav@intel.com \
--cc=robin.murphy@arm.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=suzuki.poulose@arm.com \
--cc=will@kernel.org \
--cc=xueshuai@linux.alibaba.com \
--cc=yangyicong@hisilicon.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