Message ID | 20231115092805.737822-1-anshuman.khandual@arm.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp2421659vqg; Wed, 15 Nov 2023 01:28:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IF+UkAU5pQuSsnw72U3rMd4K0BgWmENJ+ZiGE2rrMvvWWjYcdn99M4dWV9DuEOj4Eu+DyIx X-Received: by 2002:a05:6e02:1bc9:b0:359:310d:2cbf with SMTP id x9-20020a056e021bc900b00359310d2cbfmr16715182ilv.5.1700040508814; Wed, 15 Nov 2023 01:28:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700040508; cv=none; d=google.com; s=arc-20160816; b=SGmnbA+mDzaZH8fIzMSOcuUz9s/VRd1F2K+b0g87rc/0oHQcnAUzKPI3z3hYLvtiGH nK2/siShmLVwbj6u81SPg09KTZwHk/KS1YyEF0IIIJba6pE3ZnTg0gT14t/fFlOMsNJT GRvLrs0VP8O4OTbguz7nsr6bMb5mzt2XaFiMXRxxE/nDS6djASLZR3Gr3dz7QRDCP8I+ ryOQMf4g/O8U+4cB/SFqECpfYMvUSVcjCBzFMQgTw0anF3+oggXzgpIfpUtTwLGBpNvS +ONkgn7/2ezuuUNmBjOf8RgHhEt3bwh4N3fMSIFmURVpnHFhoaeItgh0/IgHjE1tDsqc 3zhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=FUpbafZd1ido+IUiTB6QWnnD3U/JF+L+AXmXRUclSPQ=; fh=ptSJPLL9EzMEHMmZv4oZsDrn7PmjNVXYQaI0dW3aMfU=; b=AbFkpMgMKlv3D9ghsuQqxRUdudtVQ5iXmp8jCXvFsS5sQnipUO4dgHjJgKlrR4m0Ml fA3a44nbP+nzg5Zly998+xCVgIeRzkKerm1ApVn6N4UPh/cw23WlkudGH+TOQXSWkxp3 agmAR69M1kiKL3hpxF+XU+AUa2vDBKRSkvhtaSNwJfBbdSRORD5jmvpYXrwhPnpBcuXi hSVUBYwhB+gK4Q2G0XQu1FuXEQHOuc8GkalcdEAFFIJiQQn+mYbX+hSAZTIQeoztBfaj 5v5sz0FJEax+RMKtWcUcQC66vPlYAxM3ALEicdqU85ISJG18dlicdS9TCqoFautfeNIw 2ETQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id q9-20020a056a00088900b006c3b70b6433si10077935pfj.206.2023.11.15.01.28.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 01:28:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 925F281389A2; Wed, 15 Nov 2023 01:28:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234750AbjKOJ2X (ORCPT <rfc822;heyuhang3455@gmail.com> + 28 others); Wed, 15 Nov 2023 04:28:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234688AbjKOJ2W (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Nov 2023 04:28:22 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0FFE89B; Wed, 15 Nov 2023 01:28:18 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ACB29DA7; Wed, 15 Nov 2023 01:29:02 -0800 (PST) Received: from a077893.arm.com (unknown [10.163.37.87]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B3DB63F7B4; Wed, 15 Nov 2023 01:28:13 -0800 (PST) From: Anshuman Khandual <anshuman.khandual@arm.com> To: linux-arm-kernel@lists.infradead.org Cc: Anshuman Khandual <anshuman.khandual@arm.com>, Mark Rutland <mark.rutland@arm.com>, Will Deacon <will@kernel.org>, Russell King <linux@armlinux.org.uk>, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] drivers: perf: arm_pmu: Drop 'pmu_lock' element from 'struct pmu_hw_events' Date: Wed, 15 Nov 2023 14:58:03 +0530 Message-Id: <20231115092805.737822-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 15 Nov 2023 01:28:27 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782621676555688806 X-GMAIL-MSGID: 1782621676555688806 |
Series |
drivers: perf: arm_pmu: Drop 'pmu_lock' element from 'struct pmu_hw_events'
|
|
Message
Anshuman Khandual
Nov. 15, 2023, 9:28 a.m. UTC
This series drops 'pmu_lock' usage from all arm platforms which had already been dropped from arm64 platforms earlier via the following commit. commit 2a0e2a02e4b7 ("arm64: perf: Remove PMU locking"). Afterwards, drop unused 'pmu_lock' element from 'struct pmu_hw_events'. The series applies on 6.7-rc1 and has been tested on arm64. Although just build tested for arm platform. Cc: Mark Rutland <mark.rutland@arm.com> Cc: Will Deacon <will@kernel.org> Cc: Russell King <linux@armlinux.org.uk> Cc: linux-perf-users@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Changes in V1: - Added some build warning fixes RFC V1: https://lore.kernel.org/all/20231016052431.1390269-1-anshuman.khandual@arm.com/ Anshuman Khandual (2): arm: perf: Remove PMU locking drivers: perf: arm_pmu: Drop 'pmu_lock' element from 'struct pmu_hw_events' arch/arm/kernel/perf_event_v6.c | 28 ++++-------------- arch/arm/kernel/perf_event_v7.c | 44 ----------------------------- arch/arm/kernel/perf_event_xscale.c | 44 ++++++----------------------- drivers/perf/arm_pmu.c | 1 - include/linux/perf/arm_pmu.h | 6 ---- 5 files changed, 13 insertions(+), 110 deletions(-)
Comments
On 11/15/23 14:58, Anshuman Khandual wrote: > This series drops 'pmu_lock' usage from all arm platforms which had already > been dropped from arm64 platforms earlier via the following commit. > > commit 2a0e2a02e4b7 ("arm64: perf: Remove PMU locking"). > > Afterwards, drop unused 'pmu_lock' element from 'struct pmu_hw_events'. The > series applies on 6.7-rc1 and has been tested on arm64. Although just build > tested for arm platform. > > Cc: Mark Rutland <mark.rutland@arm.com> > Cc: Will Deacon <will@kernel.org> > Cc: Russell King <linux@armlinux.org.uk> > Cc: linux-perf-users@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > > Changes in V1: > > - Added some build warning fixes Hello Will/Mark, Any updates or concerns on this series ? - Anshuman
On Tue, Nov 28, 2023 at 10:59:49AM +0530, Anshuman Khandual wrote: > > > On 11/15/23 14:58, Anshuman Khandual wrote: > > This series drops 'pmu_lock' usage from all arm platforms which had already > > been dropped from arm64 platforms earlier via the following commit. > > > > commit 2a0e2a02e4b7 ("arm64: perf: Remove PMU locking"). > > > > Afterwards, drop unused 'pmu_lock' element from 'struct pmu_hw_events'. The > > series applies on 6.7-rc1 and has been tested on arm64. Although just build > > tested for arm platform. > > > > Cc: Mark Rutland <mark.rutland@arm.com> > > Cc: Will Deacon <will@kernel.org> > > Cc: Russell King <linux@armlinux.org.uk> > > Cc: linux-perf-users@vger.kernel.org > > Cc: linux-kernel@vger.kernel.org > > Cc: linux-arm-kernel@lists.infradead.org > > > > Changes in V1: > > > > - Added some build warning fixes > > Hello Will/Mark, > > Any updates or concerns on this series ? The changes themselves look good to me. I'd like to tweak the commit message for the first patch (and I've given specific wording that we can use). Will, are you happy to fold that in when applying, or would you prefer that Anshuman sends a v2? Mark.
On Wed, 15 Nov 2023 14:58:03 +0530, Anshuman Khandual wrote: > This series drops 'pmu_lock' usage from all arm platforms which had already > been dropped from arm64 platforms earlier via the following commit. > > commit 2a0e2a02e4b7 ("arm64: perf: Remove PMU locking"). > > Afterwards, drop unused 'pmu_lock' element from 'struct pmu_hw_events'. The > series applies on 6.7-rc1 and has been tested on arm64. Although just build > tested for arm platform. > > [...] Applied to will (for-next/perf), thanks! [1/2] arm: perf: Remove PMU locking https://git.kernel.org/will/c/5cd7da19cb97 [2/2] drivers: perf: arm_pmu: Drop 'pmu_lock' element from 'struct pmu_hw_events' https://git.kernel.org/will/c/118eb89b1e7f Cheers,