Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2428744rdh; Wed, 27 Sep 2023 02:14:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFPazBd0w5aZHNogvYvaYQyj8WWyOc0pheO1waAIuvFIBLzPoi0HGiBvU0dkgX9BhqonT/U X-Received: by 2002:a17:902:f541:b0:1c5:70d3:f193 with SMTP id h1-20020a170902f54100b001c570d3f193mr1263248plf.10.1695806082763; Wed, 27 Sep 2023 02:14:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695806082; cv=none; d=google.com; s=arc-20160816; b=gi9x89t3bqCyybPfBoNx8116WmO4ttITn3xT17Y1rVeIbGcAOKO1qB0Od2ryded9WU 8vLE61h6CBPESXiWp2sdDsYa9jVX/WVVKjUAw64VSPhQZzDFykFDUhABdpdNHH89N0S2 IZJ6EnW+XYXEHElX5/FBbK0246rp5jjIiWiGRnc2GJjYq2NgGjAQgcLQXkEICeopSX2J dpZoG8OLsmDD8EWqGeEFtrBDEMpqPkvzjeaw0O4hbWTiHnTPqA1/Hi6Wd1Uy4WNvhL/p 8nAw+iKAgWdYicQEKrS/64ovyXESex9jEk/fjaabfZAab2FbJl6cE1yE1ov45zLvBSD3 VvzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=5a6j/AIZ2y3YAUFoiP+3smLikQXSZXZYEmDfl4Yja6Q=; fh=Nl5Ib0mwy1x17taDmeU5iEIw+gQwB3vJaCuSUMBXrno=; b=gni7UI9Rgvd0LOqeNLWLqeOb0px/FtlKwKAiPxuVLRjVwOYPr/01ttL91u0R8lbzFF YjPvQyYk6rp46dFUe13lM6Ca6xgOx5nWM1q9Po2YsMFHH8Mi1Wvpnz3NnBjzREwAqJ8q M9pGxJxuutZmBF8sNKd/FXQqmbd4Bgva8A71dQFLQBd/2OX1atQICkeMGCwrd3wjZU9a BZ0r2g3qx506/IH9NJP8icG/RJ6QVnCqJDNzsvzyXn+25kBG2ZELl/bzUhrmKjzmX4ru 8YlieUEIeNHlljVjn53eafihqFKBoNY+Ic7pwrof9HOLLX2+RFhRr0dyXS5QOb/VIjYX xotg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id h5-20020a170902680500b001ab29e00303si4245785plk.426.2023.09.27.02.14.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 02:14:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 6504581BE2FA; Wed, 27 Sep 2023 01:45:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230290AbjI0IpA (ORCPT + 99 others); Wed, 27 Sep 2023 04:45:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230329AbjI0Io4 (ORCPT ); Wed, 27 Sep 2023 04:44:56 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9D4EFCFD; Wed, 27 Sep 2023 01:37:08 -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 1C8E41FB; Wed, 27 Sep 2023 01:37:46 -0700 (PDT) Received: from [10.162.41.8] (a077893.blr.arm.com [10.162.41.8]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 082A83F59C; Wed, 27 Sep 2023 01:37:03 -0700 (PDT) Message-ID: <240f888a-1394-8624-7315-8d4a198d20dd@arm.com> Date: Wed, 27 Sep 2023 14:07:00 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH V13 - RESEND 00/10] arm64/perf: Enable branch stack sampling Content-Language: en-US To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com Cc: Mark Brown , James Clark , Rob Herring , Marc Zyngier , Suzuki Poulose , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , linux-perf-users@vger.kernel.org References: <20230711082455.215983-1-anshuman.khandual@arm.com> From: Anshuman Khandual In-Reply-To: <20230711082455.215983-1-anshuman.khandual@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 27 Sep 2023 01:45:12 -0700 (PDT) On 7/11/23 13:54, Anshuman Khandual wrote: > This series enables perf branch stack sampling support on arm64 platform > via a new arch feature called Branch Record Buffer Extension (BRBE). All > relevant register definitions could be accessed here. > > https://developer.arm.com/documentation/ddi0601/2021-12/AArch64-Registers > > This series applies on 6.5-rc1. > > Changes in V13: > > https://lore.kernel.org/all/20230622065351.1092893-1-anshuman.khandual@arm.com/ > > - Added branch callback stubs for aarch32 pmuv3 based platforms > - Updated the comments for capture_brbe_regset() > - Deleted the comments in __read_brbe_regset() > - Reversed the arguments order in capture_brbe_regset() and brbe_branch_save() > - Fixed BRBE_BANK[0|1]_IDX_MAX indices comparison in armv8pmu_branch_read() > - Fixed BRBE_BANK[0|1]_IDX_MAX indices comparison in capture_brbe_regset() Hello All, Upcoming V14 series is still being worked out, and might take some more time. But meanwhile please find its corresponding development branch for experimentation purpose, if required. Thank you. https://git.gitlab.arm.com/linux-arm/linux-anshuman.git (brbe_v14_rc3) - Anshuman