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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DE379C61DA4 for ; Sat, 18 Mar 2023 10:02:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229843AbjCRKCm (ORCPT ); Sat, 18 Mar 2023 06:02:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229630AbjCRKCk (ORCPT ); Sat, 18 Mar 2023 06:02:40 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A9A11165C; Sat, 18 Mar 2023 03:02:38 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id F335B60B4C; Sat, 18 Mar 2023 10:02:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5181EC433EF; Sat, 18 Mar 2023 10:02:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679133757; bh=SdAwA+yHmCjXzJB/aenMpFVAdyQsRtXN1tQ01msm5Cs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=RqY6KopL7ppyQlvW6i3ZwxS+hbTy+fvymdMHSNtaF+v3LemFtoyinunkzxynSnDVR tBjblgW/mYpTyycNu0X36cBD7+EUgc2fisTzcDj8wXIi4mOOipZIjIGphqHoxKiZGZ ABI80Aeg0LzIYPPM+3WrUAxi2RlNpn6kuht5rcIfMCnUTJGWZ16vFesqiGGI2aqqlO K9LbFETxjc9LHXK93QRT7k/liOfpqJNdMu4NVkRR6TuU3Hj8Pcpnz/lVG0EbN/tDOw YZTEm1OuKFyDmu1nt/Zdwyi4fugx0fKBph9xJdCP/MtJp2SxPxrNzksgcNOxfH5hGy WR2tNkEkWMHdQ== Received: from [89.213.33.168] (helo=wait-a-minute.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 1pdTOU-001Anm-NT; Sat, 18 Mar 2023 10:02:34 +0000 Date: Sat, 18 Mar 2023 10:02:33 +0000 Message-ID: <87v8iygyx2.wl-maz@kernel.org> From: Marc Zyngier To: Zaid Al-Bassam , Mark Rutland , Will Deacon Cc: 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.com Subject: Re: [PATCH v4 0/8] perf: arm: Make PMUv3 driver available for aarch32 In-Reply-To: <20230317195027.3746949-1-zalbassam@google.com> References: <20230317195027.3746949-1-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/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 89.213.33.168 X-SA-Exim-Rcpt-To: zalbassam@google.com, mark.rutland@arm.com, will@kernel.org, jesussanp@google.com, linux@armlinux.org.uk, catalin.marinas@arm.com, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, 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, f.fainelli@gmail.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks, M. -- Without deviation from the norm, progress is not possible.