Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6693286rdb; Fri, 15 Dec 2023 06:04:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHC178xSDa9phhJkm888rzMzgNFeXbR26BJNXAmULwKfao6kZI5KW2WndL10it9e5ss7Idu X-Received: by 2002:a05:6808:3998:b0:3b5:6533:d2cb with SMTP id gq24-20020a056808399800b003b56533d2cbmr18081081oib.46.1702649072982; Fri, 15 Dec 2023 06:04:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702649072; cv=none; d=google.com; s=arc-20160816; b=zli8PDLjOfbHMEAHddTZsZW70JjNdfhv0TGVtxFTm3oxam1wv+W6gLNCwuKa/Hz6dY 92h1iz7Lxr7jGkznOxjdDLewV/17DHWaoI2APPVguAAXSNi77GX5nP7B5iZ48i+vSwro a1rceeqiQMet5qC3Om1N39i1sttCCyQczmaLi65SKJKi5aUYP6u9hJaLD9fSYaOqRArB 2MOQyiYWFZmH5sa6Nbb0IEUCw0kQYflxSubyoXxa6zmPIZGzAVWzG8szYRiIb0TlkApy P70SB7bK0hfrBLFaf7JSrDsWdcEFIpLEXLgdF0I60f/8/rMBvVWNn76QDqvoEHG9KayU jKcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=1m3Q/6wZn78j3Q79L/Mx7ee13JSSDIR3fG+PaGRCkok=; fh=jqX4AZhbE9BEqpSEJU/M34leR8eiUKJyT4Wezlzqh9Y=; b=NCIoyxbUIeKfPniqylzStdp9KFNDfD1WgUqzANBK21/GCtx37m1vHC63cOulYXxrmm xJJLm9oT4ixhJlp5woab72xnD2f7Hx/AB64hMr0ad2HeOsOeTpklXxuoNukcYF03hWES AM5OQ1UoJ08pNX/tzU/542N+zAa62QdiOMYb/7xfRir/8I4JiELKieNiargQhYH5TslJ /k8VYgCmpOWir3/YnxWufmACfPCUZ7Zm4X+2nwctdOapRi4H6pLkhi26MSjRtb9QSIOP 7ayE/zs+YjMl9fDxv6TeOAyvS/gpkS/+vXhT7VQYZ2mTBtUn8N4TqAtq4qTgLz1gNBAW 6q1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1071-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u22-20020a67f516000000b004665a89cb2bsi970395vsn.810.2023.12.15.06.04.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 06:04:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-1071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-1071-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-1071-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0E6DE1C206FD for ; Fri, 15 Dec 2023 14:04:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C5C13DBB5; Fri, 15 Dec 2023 14:00:04 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6C5173DBAF for ; Fri, 15 Dec 2023 14:00:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rE8iy-0002lK-KK; Fri, 15 Dec 2023 14:59:32 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rE8it-00G2ZD-Fu; Fri, 15 Dec 2023 14:59:27 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1rE8it-003cBz-4n; Fri, 15 Dec 2023 14:59:27 +0100 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Will Deacon , Mark Rutland Cc: Shuai Xue , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jiucheng Xu , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , linux-amlogic@lists.infradead.org, Ilkka Koskinen , Suzuki K Poulose , Besar Wicaksono , Robin Murphy , Raag Jadav , Frank Li , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Yicong Yang , Jonathan Cameron , Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-arm-msm@vger.kernel.org, Khuong Dinh Subject: [PATCH 00/18] perf: Convert to platform remove callback returning void Date: Fri, 15 Dec 2023 14:59:00 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Developer-Signature: v=1; a=openpgp-sha256; l=3618; i=u.kleine-koenig@pengutronix.de; h=from:subject:message-id; bh=QIF36TPLiswSJ7BGiTaGhS7zuJ523QsVTA+4ETPdeHY=; b=owEBbQGS/pANAwAKAY+A+1h9Ev5OAcsmYgBlfFukmiA7JF09OlxcCekWHX8K7N+brb2dL8yu1 L79tE8736eJATMEAAEKAB0WIQQ/gaxpOnoeWYmt/tOPgPtYfRL+TgUCZXxbpAAKCRCPgPtYfRL+ Thd3B/9bi37yHbyCmxtoBnTyzghErF03a3MQ2kLvT2WmB6Vq6D8LnRwzOn4qBxY8ZfeDwdwKqld VmyWYR4z12b2U0+t6+ECIYcIjWxvDKcBiUJSS79pIL6fT0UeHQ4H2od/hSZnok7vIJ6fJa6XtqM Zl+rLWPBfpQmhBkomYlmL8hSpsWm+NSe3gKOlCV6mjshMhP9BUbBTKxrfHgYWlBrvaBZMZ2pLPL ZqQvKMYTRYvzctEkxL+nfaZrX+/Hd3Z2fsxNMGprvpEDQQcQJjPId5k36TG+jic7RZVP3M93Oh2 /DnXMSYbdraUhMvDc20qEUTd8vLV2/RzXtBaIw/o0ZZplz3k X-Developer-Key: i=u.kleine-koenig@pengutronix.de; a=openpgp; fpr=0D2511F322BFAB1C1580266BE2DCDD9132669BD6 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org 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