[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <865yc7yu1f.wl-maz@kernel.org>
Date: Sun, 12 Feb 2023 11:58:36 +0000
From: Marc Zyngier <maz@...nel.org>
To: Zaid Al-Bassam <zalbassam@...gle.com>
Cc: Jesus Sanchez-Palencia <jesussanp@...gle.com>,
Russell King <linux@...linux.org.uk>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
James Morse <james.morse@....com>,
Suzuki K Poulose <suzuki.poulose@....com>,
Oliver Upton <oliver.upton@...ux.dev>,
Zenghui Yu <yuzenghui@...wei.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org, kvmarm@...ts.linux.dev,
kvmarm@...ts.cs.columbia.edu, Marc Zyngier <marc.zyngier@....com>
Subject: Re: [PATCH v2 2/8] arm64: perf: Abstract system register accesses away
On Fri, 10 Feb 2023 16:54:54 +0000,
Zaid Al-Bassam <zalbassam@...gle.com> wrote:
>
> From: Marc Zyngier <marc.zyngier@....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@....com>
> Co-developed-by: Zaid Al-Bassam <zalbassam@...gle.com>
> Signed-off-by: Zaid Al-Bassam <zalbassam@...gle.com>
> Signed-off-by: Marc Zyngier <maz@...nel.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.
Powered by blists - more mailing lists