From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 510815688 for ; Fri, 24 Mar 2023 13:56:52 +0000 (UTC) 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 C7C7711FB; Fri, 24 Mar 2023 06:57:35 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.55.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 344073F71E; Fri, 24 Mar 2023 06:56:48 -0700 (PDT) Date: Fri, 24 Mar 2023 13:56:42 +0000 From: Mark Rutland To: Marc Zyngier Cc: Zaid Al-Bassam , Will Deacon , Jesus Sanchez-Palencia , Russell King , Catalin Marinas , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , 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, "f.fainelli@gmail.comm Anshuman Khandual" Subject: Re: [PATCH v4 0/8] perf: arm: Make PMUv3 driver available for aarch32 Message-ID: References: <20230317195027.3746949-1-zalbassam@google.com> <87v8iygyx2.wl-maz@kernel.org> Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87v8iygyx2.wl-maz@kernel.org> On Sat, Mar 18, 2023 at 10:02:33AM +0000, Marc Zyngier wrote: > On Fri, 17 Mar 2023 19:50:19 +0000, > Zaid Al-Bassam wrote: > > > > Currently, PMUv3 driver is only available for ARMv8 aarch64 platforms, > > ARMv8 platorms running in aarch32 mode dont have access to the driver. > > This is, especially, a problem for ARMv8 platforms that only have > > aarch32 support, like the Cortex-A32. > > > > Make the PMUv3 driver available to arm arch (ARMv8 aarch32) by moving > > the PMUv3 driver from arm64 to drivers, that makes the driver common > > to both arm and arm64 architectures, then add PMUv3 arm Support. > > > > The main work in this patchset was made a while back by Marc Zyngier > > in [1]. Patchset version 1 [v1] rebases Marc's patches to the latest > > kernel revision and adds additional patches to accommodate the changes > > in the kernel since Marc wrote the patches. > > > > version 2 [v2] of the patchset was created by Marc Zyngier and I > > picked it up from [2]. > > The SoB chain is now a bit off as you picked it from my tree. Nothing > that we can't fix, but please be careful in the future. You also > failed to pick Florian's Tested-by: tags, which is worse. Please make > sure to pick these things as people reply to your series. > > Will, Mark: any objection to the general shape of this series? I've > been using it again to test the 32bit PMU support in KVM, and would > rather see something merged while the architecture still has some > relevance. I think the general shape looks fine, but this is going to conflict with Anshuman's BRBE series, so we'll need to figure out how to stage these w.r.t. one another. Will, any preference between handling the merge manually or rebasing one atop the other? We'll presumably want to place the BRBE files under drivers/perf/ if we've moved the PMUv3 code there. Thanks, Mark.