From: Marc Zyngier <maz@kernel.org>
To: Zaid Al-Bassam <zalbassam@google.com>
Cc: Jesus Sanchez-Palencia <jesussanp@google.com>,
Russell King <linux@armlinux.org.uk>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
James Morse <james.morse@arm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Oliver Upton <oliver.upton@linux.dev>,
Zenghui Yu <yuzenghui@huawei.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org,
kvmarm@lists.linux.dev, kvmarm@lists.cs.columbia.edu,
Marc Zyngier <marc.zyngier@arm.com>
Subject: Re: [PATCH v2 2/8] arm64: perf: Abstract system register accesses away
Date: Sun, 12 Feb 2023 11:58:36 +0000 [thread overview]
Message-ID: <865yc7yu1f.wl-maz@kernel.org> (raw)
In-Reply-To: <20230210165500.2292608-3-zalbassam@google.com>
On Fri, 10 Feb 2023 16:54:54 +0000,
Zaid Al-Bassam <zalbassam@google.com> wrote:
>
> From: Marc Zyngier <marc.zyngier@arm.com>
>
> As we want to enable 32bit support, we need to distanciate the
> PMUv3 driver from the AArch64 system register names.
>
> This patch moves all system register accesses to an architecture
> specific include file, allowing the 32bit counterpart to be
> slotted in at a later time.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
> Co-developed-by: Zaid Al-Bassam <zalbassam@google.com>
> Signed-off-by: Zaid Al-Bassam <zalbassam@google.com>
> Signed-off-by: Marc Zyngier <maz@kernel.org>
> Link: https://lore.kernel.org/r/20230126204444.2204061-3-zalbassam@google.com
You can drop these links. They were inserted when I picked your series
from the list, but they don't mean much at this stage.
> ---
> arch/arm64/include/asm/arm_pmuv3.h | 149 +++++++++++++++++++++++++++++
> drivers/perf/arm_pmuv3.c | 115 +++++-----------------
> include/linux/perf/arm_pmuv3.h | 45 +++++++++
> 3 files changed, 217 insertions(+), 92 deletions(-)
> create mode 100644 arch/arm64/include/asm/arm_pmuv3.h
>
> diff --git a/arch/arm64/include/asm/arm_pmuv3.h b/arch/arm64/include/asm/arm_pmuv3.h
> new file mode 100644
> index 0000000000000..eb204adb8dee2
> --- /dev/null
> +++ b/arch/arm64/include/asm/arm_pmuv3.h
> @@ -0,0 +1,149 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +/*
> + * Copyright (C) 2012 ARM Ltd.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program. If not, see <http://www.gnu.org/licenses/>.
> + */
Please drop the license text, as we don't use this boilerplate anymore
(the SPDX tag is enough). Just keep:
/*
* Copyright (C) 2012 ARM Ltd.
*/
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
WARNING: multiple messages have this Message-ID (diff)
From: Marc Zyngier <maz@kernel.org>
To: Zaid Al-Bassam <zalbassam@google.com>
Cc: Jesus Sanchez-Palencia <jesussanp@google.com>,
Russell King <linux@armlinux.org.uk>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Alexander Shishkin <alexander.shishkin@linux.intel.com>,
Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
James Morse <james.morse@arm.com>,
Suzuki K Poulose <suzuki.poulose@arm.com>,
Oliver Upton <oliver.upton@linux.dev>,
Zenghui Yu <yuzenghui@huawei.com>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org,
kvmarm@lists.linux.dev, kvmarm@lists.cs.columbia.edu,
Marc Zyngier <marc.zyngier@arm.com>
Subject: Re: [PATCH v2 2/8] arm64: perf: Abstract system register accesses away
Date: Sun, 12 Feb 2023 11:58:36 +0000 [thread overview]
Message-ID: <865yc7yu1f.wl-maz@kernel.org> (raw)
In-Reply-To: <20230210165500.2292608-3-zalbassam@google.com>
On Fri, 10 Feb 2023 16:54:54 +0000,
Zaid Al-Bassam <zalbassam@google.com> wrote:
>
> From: Marc Zyngier <marc.zyngier@arm.com>
>
> As we want to enable 32bit support, we need to distanciate the
> PMUv3 driver from the AArch64 system register names.
>
> This patch moves all system register accesses to an architecture
> specific include file, allowing the 32bit counterpart to be
> slotted in at a later time.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
> Co-developed-by: Zaid Al-Bassam <zalbassam@google.com>
> Signed-off-by: Zaid Al-Bassam <zalbassam@google.com>
> Signed-off-by: Marc Zyngier <maz@kernel.org>
> Link: https://lore.kernel.org/r/20230126204444.2204061-3-zalbassam@google.com
You can drop these links. They were inserted when I picked your series
from the list, but they don't mean much at this stage.
> ---
> arch/arm64/include/asm/arm_pmuv3.h | 149 +++++++++++++++++++++++++++++
> drivers/perf/arm_pmuv3.c | 115 +++++-----------------
> include/linux/perf/arm_pmuv3.h | 45 +++++++++
> 3 files changed, 217 insertions(+), 92 deletions(-)
> create mode 100644 arch/arm64/include/asm/arm_pmuv3.h
>
> diff --git a/arch/arm64/include/asm/arm_pmuv3.h b/arch/arm64/include/asm/arm_pmuv3.h
> new file mode 100644
> index 0000000000000..eb204adb8dee2
> --- /dev/null
> +++ b/arch/arm64/include/asm/arm_pmuv3.h
> @@ -0,0 +1,149 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +/*
> + * Copyright (C) 2012 ARM Ltd.
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program. If not, see <http://www.gnu.org/licenses/>.
> + */
Please drop the license text, as we don't use this boilerplate anymore
(the SPDX tag is enough). Just keep:
/*
* Copyright (C) 2012 ARM Ltd.
*/
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-02-12 11:58 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-10 16:54 [PATCH v2 0/8] perf: arm: Make PMUv3 driver available for aarch32 Zaid Al-Bassam
2023-02-10 16:54 ` Zaid Al-Bassam
2023-02-10 16:54 ` [PATCH v2 1/8] arm64: perf: Move PMUv3 driver to drivers/perf Zaid Al-Bassam
2023-02-10 16:54 ` Zaid Al-Bassam
2023-02-10 16:54 ` [PATCH v2 2/8] arm64: perf: Abstract system register accesses away Zaid Al-Bassam
2023-02-10 16:54 ` Zaid Al-Bassam
2023-02-12 11:58 ` Marc Zyngier [this message]
2023-02-12 11:58 ` Marc Zyngier
2023-02-10 16:54 ` [PATCH v2 3/8] perf: pmuv3: Abstract PMU version checks Zaid Al-Bassam
2023-02-10 16:54 ` Zaid Al-Bassam
2023-02-10 16:54 ` [PATCH v2 4/8] perf: pmuv3: Move inclusion of kvm_host.h to the arch-specific helper Zaid Al-Bassam
2023-02-10 16:54 ` Zaid Al-Bassam
2023-02-10 16:54 ` [PATCH v2 5/8] perf: pmuv3: Change GENMASK to GENMASK_ULL Zaid Al-Bassam
2023-02-10 16:54 ` Zaid Al-Bassam
2023-02-10 16:54 ` [PATCH v2 6/8] ARM: Make CONFIG_CPU_V7 valid for 32bit ARMv8 implementations Zaid Al-Bassam
2023-02-10 16:54 ` Zaid Al-Bassam
2023-02-10 16:54 ` [PATCH v2 7/8] ARM: perf: Allow the use of the PMUv3 driver on 32bit ARM Zaid Al-Bassam
2023-02-10 16:54 ` Zaid Al-Bassam
2023-02-12 11:59 ` Marc Zyngier
2023-02-12 11:59 ` Marc Zyngier
2023-02-10 16:55 ` [PATCH v2 8/8] ARM: mach-virt: Select PMUv3 driver by default Zaid Al-Bassam
2023-02-10 16:55 ` Zaid Al-Bassam
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=865yc7yu1f.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=acme@kernel.org \
--cc=alexander.shishkin@linux.intel.com \
--cc=catalin.marinas@arm.com \
--cc=james.morse@arm.com \
--cc=jesussanp@google.com \
--cc=jolsa@kernel.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=kvmarm@lists.linux.dev \
--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=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=oliver.upton@linux.dev \
--cc=peterz@infradead.org \
--cc=suzuki.poulose@arm.com \
--cc=will@kernel.org \
--cc=yuzenghui@huawei.com \
--cc=zalbassam@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.