From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B744C05027 for ; Sun, 12 Feb 2023 12:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=e9tUpljqr4MzObgP2MsidFBHbfJaQYsyWWWHK9Ml4WM=; b=3TFzSY6pnQQbyW KZK6sYo3poj45c6aytgwnHkyugZK6aMv58lj3SVCfM1+8QWJOCX8f7WDbkJgIH6yA9pWcsQ41CP1n UMJdCZi2b59PM16QzgzHauQ5sW12VLNrTGO3ENifCUxXtEJURgwlNxgWRi8AnbYCh++5nXkEJET1u ajnq/GQakB1QX6o9vhwZSSxVxmg03eYbq3U1/6tYxe4NL343eKHrcG0fLipVhAg110SMvi2NWirTK BOza77RJPjbh22athvu5vDvWuydJ8Orj63v+pETfVoK7hKoOWcaa0TlLaO2I7aBd4xlfWe+E9QQQp shqWhO4Olr4ddxhceYhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRB1U-00BP8R-SW; Sun, 12 Feb 2023 12:00:01 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pRB1Q-00BP57-Sr for linux-arm-kernel@lists.infradead.org; Sun, 12 Feb 2023 11:59:58 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 4A844CE1379; Sun, 12 Feb 2023 11:59:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4221C433D2; Sun, 12 Feb 2023 11:59:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1676203182; bh=+RpDH0/cTiKgitsPw9+M0Ym/q48G8wKP3sv+C2fvWEk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Lk2wX2hoC2Np8OnYwCnV/AoRrcqIdj7gNQu92CRvUdUWc80Inu2aFLgjvCPgVZdJS LRONTz/VMHn3wDOxy8EFiGfsxhYX+/CozIg90+6zQqDJUT3JDT1nGUaS1zBhrDvSzc i6jcuXTsyzAiDmbYE2778ipgmsuYxTI6uXNfqVHBlO/TbydqHktE1FQ5++YPsq3QJR sWir/JU/8z71bvmIolWdPJAqFxW8+HEBRiR8kx1L0nUFZrWSjAXgV1b6J1TlWcfzsS rDgUHQdA6uSqRiidwxzb+EL/QFAd9Dqz5J0PCbCZ9RttUV20ojNpOATf4gIM3jeque qVPhEg1k0WGEA== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1pRB1A-009ikJ-If; Sun, 12 Feb 2023 11:59:40 +0000 Date: Sun, 12 Feb 2023 11:59:40 +0000 Message-ID: <864jrrytzn.wl-maz@kernel.org> From: Marc Zyngier To: Zaid Al-Bassam Cc: Jesus Sanchez-Palencia , Russell King , Catalin Marinas , Will Deacon , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , James Morse , Suzuki K Poulose , Oliver Upton , Zenghui Yu , 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 Subject: Re: [PATCH v2 7/8] ARM: perf: Allow the use of the PMUv3 driver on 32bit ARM In-Reply-To: <20230210165500.2292608-8-zalbassam@google.com> References: <20230210165500.2292608-1-zalbassam@google.com> <20230210165500.2292608-8-zalbassam@google.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: zalbassam@google.com, jesussanp@google.com, linux@armlinux.org.uk, catalin.marinas@arm.com, will@kernel.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, namhyung@kernel.org, james.morse@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, 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@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230212_035957_398553_6A6F4B76 X-CRM114-Status: GOOD ( 28.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 10 Feb 2023 16:54:59 +0000, Zaid Al-Bassam wrote: > > From: Marc Zyngier > > The only thing stopping the PMUv3 driver from compiling on 32bit > is the lack of defined system registers names and the handful of > required helpers. > > This is easily solved by providing the sysreg accessors and updating > the Kconfig entry. > > Signed-off-by: Marc Zyngier > Co-developed-by: Zaid Al-Bassam > Signed-off-by: Zaid Al-Bassam > Signed-off-by: Marc Zyngier > Link: https://lore.kernel.org/r/20230126204444.2204061-8-zalbassam@google.com > --- > arch/arm/include/asm/arm_pmuv3.h | 259 +++++++++++++++++++++++++++++++ > drivers/perf/Kconfig | 5 +- > drivers/perf/arm_pmuv3.c | 5 +- > 3 files changed, 265 insertions(+), 4 deletions(-) > create mode 100644 arch/arm/include/asm/arm_pmuv3.h > > diff --git a/arch/arm/include/asm/arm_pmuv3.h b/arch/arm/include/asm/arm_pmuv3.h > new file mode 100644 > index 0000000000000..b2d9dc9dedbac > --- /dev/null > +++ b/arch/arm/include/asm/arm_pmuv3.h > @@ -0,0 +1,259 @@ > +/* 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 . > + */ Same remark here. 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