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 7B201C636CC for ; Wed, 8 Feb 2023 16:41:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231638AbjBHQlL (ORCPT ); Wed, 8 Feb 2023 11:41:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231665AbjBHQkh (ORCPT ); Wed, 8 Feb 2023 11:40:37 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E35F44DE20; Wed, 8 Feb 2023 08:40:33 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 8C581B81ED3; Wed, 8 Feb 2023 16:40:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 301B6C4339B; Wed, 8 Feb 2023 16:40:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675874431; bh=D2OluPc0dSUTVeREFrJP8sxggpzYpEkdyv/n/Ex2PR8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qUR+O+i3QT60DVzFb997p8CERl6JUrJxpLq5j88dGj4FXvajmMtafGxrgPPy9dpeo LCANYlg3q60bIn2MC554uv4V1Oexes0X0DNPmRrKSwVqAmIeQ4Gjp3SZVn7IfeeiKR /Ozjweo4Ke3eIBnl+PkmD320fU9dn4sCXsYVJDcOZNPYZ58BcysKzCgUjMtEhfpXJ/ FhPibkZ7HAAV48awWs5eDcKKtww85lGSH6+tanzN4ADwbLFOx8RdI5MOEZeEUAWNYw 0tfB7UdDzuvMfvt36NsweiD/WlEdWu3bFehmQbsBZxbnqk1Mbk6JonGeQjyP+Ia2DA WIB0KgKgFSMqA== 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 1pPnUi-008iHd-Px; Wed, 08 Feb 2023 16:40:28 +0000 Date: Wed, 08 Feb 2023 16:40:28 +0000 Message-ID: <86fsbgyutf.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 Subject: Re: [PATCH 0/8] perf: arm: Make PMUv3 driver available for aarch32 In-Reply-To: <20230126204444.2204061-1-zalbassam@google.com> References: <20230126204444.2204061-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/28.2 (aarch64-unknown-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: 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 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 Thu, 26 Jan 2023 20:44:36 +0000, Zaid Al-Bassam wrote: > > Currently, PMUv3 driver is only available for ARMv8 aarch64 > platforms, ARMv8 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. FWIW, I've pushed out my own interpretation of this series to [1], including the changes I suggested. The results seems to correctly work in a 32bit guest on a 64bit host, which is what I (used to) care about. Feel free to pick it up. M. [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=arm/pmuv3 -- Without deviation from the norm, progress is not possible.