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 [thread overview]
Message-ID: <20231115092805.737822-1-anshuman.khandual@arm.com> (raw)
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(-)
--
2.25.1
next reply other threads:[~2023-11-15 9:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-15 9:28 Anshuman Khandual [this message]
2023-11-15 9:28 ` [PATCH 1/2] arm: perf: Remove PMU locking Anshuman Khandual
2023-12-04 9:45 ` Mark Rutland
2023-11-15 9:28 ` [PATCH 2/2] drivers: perf: arm_pmu: Drop 'pmu_lock' element from 'struct pmu_hw_events' Anshuman Khandual
2023-12-04 9:45 ` Mark Rutland
2023-11-28 5:29 ` [PATCH 0/2] " Anshuman Khandual
2023-12-04 9:48 ` Mark Rutland
2023-12-05 15:16 ` 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=20231115092805.737822-1-anshuman.khandual@arm.com \
--to=anshuman.khandual@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=mark.rutland@arm.com \
--cc=will@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).