Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1146463rwl; Fri, 24 Mar 2023 06:57:43 -0700 (PDT) X-Google-Smtp-Source: AKy350YuSq2823z2HFLL+PiBDzWURtc3H7R5On+OgERxGow9Xle9nIsUQCX90v2e0a3DNt0AUcL9 X-Received: by 2002:aa7:c846:0:b0:4fb:8d3c:3b86 with SMTP id g6-20020aa7c846000000b004fb8d3c3b86mr2862462edt.1.1679666263277; Fri, 24 Mar 2023 06:57:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679666263; cv=none; d=google.com; s=arc-20160816; b=iCejkLLpPDVwwn/qZikceoOBgZwaY/jkiGUFN09L9ZPgI92OFr2byRQaVgf5ANlaQI qb15TZLXthQ9OhivEc/FUKxloF6oChN400U7U8QRueUZ5eozD0vEsvlPIBMW2M2XOMIs tyViv78HY0DGvc1NT7n04Vr9k26IHjHJ8f74pyWzP6PXV+5XjsTo15cu/sjlHlHdMLat TvlyZD+pyeA4qMQGsCEIhWvH7fcoTEwuBBHzjC21DodEJaev7EuCi2LArWyo6382QzfH kb/gxueORSoM+BojHaXfJ86kCyzAnUIrEsNa3zQrl4MUz3DeFEmbD4yGj2Xlfi2irxzv 0Gnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=yb49DJctDqaOwBc0f4YW2EGz7R7iS7uivyqNc29EO9o=; b=0EYvHIFWZ9OlcCV2wMjwmqoczm/N/cNJpcbUVmRZw4AcoZ391D2OH4+ap/m7skpsm2 N/pt4WTM+pFhlKO8ujyXmM908eo1NHFrlXI48IX+pPlQANO6SGYVrM0LwZTp7gU5gtuv Ge76qFZytLP3Jt71HWldHEl6MB8TM15kq/xXou9w7liDkke8rGAdwZBD/fGqoo/jatvy 1noGdWeRuPTa0WLZe1W3BzBXWpmdTC5SVp0epDakv5WTxnexX1r3KAWddc5Hdpct9kjw coUEuKTK3g12D6aUZLaNPAPfS8JmrvTlyHlDqBt/pDN/YDuRa0h0yDe1AW7/xyy6X4nK tRcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t26-20020aa7d4da000000b004acb712d32csi7711633edr.233.2023.03.24.06.57.19; Fri, 24 Mar 2023 06:57:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231806AbjCXN4y (ORCPT + 99 others); Fri, 24 Mar 2023 09:56:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231215AbjCXN4x (ORCPT ); Fri, 24 Mar 2023 09:56:53 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0BCB612CF6; Fri, 24 Mar 2023 06:56:52 -0700 (PDT) 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87v8iygyx2.wl-maz@kernel.org> X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.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.