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 B77C4C6FD1D for ; Tue, 21 Mar 2023 16:47:24 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject:MIME-Version: Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=2XwB2P+mFZsNkmps1rDCMkZnXSVj1uPnemi5gJStf9Q=; b=hjDk7vX9XCgJbdHvlvgOZBjLaH yPeHTqz6JJns0f2dH8ZpMQefmOcanSNdMtF418jY8CBi4osF1GPR4U5FAXCt/yPu30YiPGc5PLCog RHXOEkeTxlEh+Y6I+BBydIfkOFRUdFOKMWMCcInZaTp6cKXd05bPEH4UG9HpW+XbHLB71JsiA9hdv KfTff/sDragCLWh34QvzrRWj5WZAGdy8R/AocQ5/vgA+3njn7VdecqAM4Cbqat6MlrRY9lHMCVD2o Bkz12usbhW2bFHYT6oFkoraV/rSgg6OkxCRuwjedVEdiJO4EITGOJVTxDsVld1M7pSLrBR7jVgLeB 1RdCdh/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pef6o-00D7E1-32; Tue, 21 Mar 2023 16:45:14 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pef6m-00D7D6-0x for linux-arm-kernel@lists.infradead.org; Tue, 21 Mar 2023 16:45:13 +0000 Received: by mail-pl1-x632.google.com with SMTP id kc4so2047781plb.10 for ; Tue, 21 Mar 2023 09:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679417109; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=PlarJ0OGF8pkEDqeJJSsl/9GBmK/xQa68WOfjnTxTjk=; b=k2dHWrk4ZA7dyNnN5vp5tHWFuDNVcxzxToAO3J3ugpvZ0E10NmX+QZnq/zOW2tl+I/ MBMxavAdD9q8L85YzDAE1zObQtM56Zb1YSFKZmFBP6zRk19ym9kC5GvAsprt7ItIWAG/ P1U1KRitFyZl/acODJBOFxejxZCh9VcyqbL5Sf5Hxj0mETFG43mU9XTn36/B9NAIC8p5 sIPbGfdexpXAxLTKI6w2sStgztHlhV4+3gGO28i/yWLOpSrNuTiiJHahoVgzZLGBQrv5 ddU/Q7PwFbbXom3XSsaX+NOjIeFHnNylPhEdIxYElbjGwQqBuh32gLChhxwYEcUA/FGE wUzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679417109; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PlarJ0OGF8pkEDqeJJSsl/9GBmK/xQa68WOfjnTxTjk=; b=lySUQEit8hS3SCgjRg/f6E09mwvrW+OkP63dkjMt38bCSGnJT9yMubCuD5TiTA0nyO rQdHF5MGaIQedqFqGLGGYji+PFldFeLFGmv8ozLbP9EtqkzZ3B0oWstH93lGKVMJVpJo ifYUiLK1fFxghOAE7UZpOhxhHrO6+kF6CDhck0YeLkl4tLmf+YsUkGhCy/8VRkUU+7Xj 9KHN/v/Iyw1K9HI2tn1R7RsNBK5PreXXlpDuSJqHoZoTlRbZOVd4HlzNMx08aKkaMD2q AOHmlnK2DLSUxKRRr1AngT2LfeBOMX6+QlrC+XV2AKY56U7iWG8JSDgrdc/E7pYavlR3 65fA== X-Gm-Message-State: AO0yUKWhNSiOhv4SV77m7ocn/aDU7V12tz8DKRUyx7DWwB0Zo9w4EBCQ J7e7UH1ZU3RdncFPlQFogJHX49X+mWIM9g== X-Google-Smtp-Source: AK7set/0xYNfpLT23Vcb8VnUON0ApbKO9wIPEff4ECW/aMWqnvsEFwzc7VGHpqSz8WKyA4OyIMzJAw== X-Received: by 2002:a17:90b:4b07:b0:234:889f:c35d with SMTP id lx7-20020a17090b4b0700b00234889fc35dmr606544pjb.3.1679417109058; Tue, 21 Mar 2023 09:45:09 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id pc2-20020a17090b3b8200b00229b00cc8desm3475194pjb.0.2023.03.21.09.45.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Mar 2023 09:45:08 -0700 (PDT) Message-ID: <6f57ea15-08bf-38f3-5065-b3c5fe4863d0@gmail.com> Date: Tue, 21 Mar 2023 09:44:57 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v4 0/8] perf: arm: Make PMUv3 driver available for aarch32 Content-Language: en-US To: Zaid Al-Bassam , 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 , Marc Zyngier , 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 References: <20230317195027.3746949-1-zalbassam@google.com> From: Florian Fainelli In-Reply-To: <20230317195027.3746949-1-zalbassam@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230321_094512_339770_1C5E7F65 X-CRM114-Status: GOOD ( 22.68 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 3/17/23 12:50, 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]. > > Changes in v2: > - Flattened the nested switches in the arm_pmuv3.h for arm. > - Removed wrappers and added stubs for the PMU KVM functions for arm. > - Added PMU version abstractions. > > Changes in v3: > - Removed the link tag from the commit messages. > - Fixed the license header in the arm_pmuv3.h files. > > Changes in v4: > - Rebased to 6.3.0-rc2 (Clean rebase) > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm/pmuv3-32bit > [2] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/log/?h=arm/pmuv3 > > [v1] https://lore.kernel.org/all/20230126204444.2204061-1-zalbassam@google.com/ > [v2] https://lore.kernel.org/all/20230210165500.2292608-1-zalbassam@google.com/ > [v3] https://lore.kernel.org/all/20230213210319.1075872-1-zalbassam@google.com/ > > Thank you, > Zaid Al-Bassam Tested-by: Florian Fainelli on Cortex-A53 and Cortex-A72, thanks! -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel