Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2907313iog; Mon, 27 Jun 2022 05:32:02 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vZgAC9Jq4ExtneKXjd5LFbyM7wGhovEE9mmdHU3DwHXoyDkELvEv+YQRtlE2IFU8cuHnRD X-Received: by 2002:a05:6a00:b45:b0:525:7ad2:91a7 with SMTP id p5-20020a056a000b4500b005257ad291a7mr14621821pfo.22.1656333121907; Mon, 27 Jun 2022 05:32:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333121; cv=none; d=google.com; s=arc-20160816; b=qJdE6yEXv1oO4+Q5SD+Xy6zJb7Napl3TomiFmxoS/ddXlU4EHwa7sNoETtAfFh9jMW JqFaKPmkNBwnvZcFmAHPneMSOUyvTxVBCF3qEECLrS6AfC4uARFr9H6aSxprFbLL/TX7 s0/l8EFmcTcNsWV0A7Xyidiyy2hcK7bZqvM/NOGEJr4WIAW3feNXXJdwO/Rihxcz32Mb nZKM6zElvNPbcS0Nh/OhfwyvwdYsSa0oNgn4EyiFa8WOWVX259LGGTTQIiseJ4GFu/yn 8SOV8slOtHmBJgdwOTwBSD/y6lyooXqD/Sf1/5MGrMh92aXNsBipn+0ndGwLgN5tj+6I P3Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=DwWixzGa0Any8otfuqHpqOjOuj8j5d30DPO6cCcYN+I=; b=PPukjXWB38byZE63mH6A5abEB0RpwETWjLSeN7ukq0mEQjSmmhqpWIL9jfWeQV1fr6 d4BpDSWFt4FQAAI2MNQRGoGALyTMLBJZuzdEogDd5fzWPE6Lo+apJONMBGLVXPC/hgqJ OTFUq6y4BIZohN5XPbUyedFMPYLAuj1v+C15h+X5lxp6DNVX9Lb9fV+ooFeOLru5LqFL 8HSfgcDt2xYly3kA+bSSltIEAxz6i0E8MgT5xNnbOTFLBQpvtaHYVybY4dds0Trj5z7r 8e5qvwkyDE3QKsFkJqhOz8foaJIt3nZlW9NSovjj53afqAAz36kg9Um6ZPqUEzf9CNUt n+/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AOuDenpt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s19-20020a170902989300b0016406db85e0si11021221plp.266.2022.06.27.05.31.49; Mon, 27 Jun 2022 05:32:01 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AOuDenpt; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234326AbiF0LBQ (ORCPT + 99 others); Mon, 27 Jun 2022 07:01:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233658AbiF0LBP (ORCPT ); Mon, 27 Jun 2022 07:01:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7860B6470; Mon, 27 Jun 2022 04:01:14 -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 ams.source.kernel.org (Postfix) with ESMTPS id 3302CB810A3; Mon, 27 Jun 2022 11:01:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A5391C3411D; Mon, 27 Jun 2022 11:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656327672; bh=dnVo2kKU4XfL2p5JbW7BGQOVgWSy6yL9g0TtFxZ2uJs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AOuDenptTw43xrEUM45YSwOY3l2Z1fhndBUy9ZoEFd/dGBAYgGa3Fwak2NmUv4VOG lprN6GaJghhxI+q0fwCIO+Ih1+XH3IsopttRnP05SwWVIPQPqQFeqr/cjG7gvUs10d 198E9elLVuW2OCv24ftya9bTi4Ykchgv9MHsLUxWv9xp0fZ+2RvlFDje1iPuJFfFH0 bKt2L2EAyj5TCGjEegZWLxZEtr5/2NkqzBPL1TL0mosGkgNrrzj85owf5HKD3wS/QL V91ir/tEEy3VVpUTyH2BItNhLruqJBbktbJByhsAv2laT40rCTxWoQCBwRWSZttkYu wrj9OQ/pzYGZw== Date: Mon, 27 Jun 2022 12:01:05 +0100 From: Will Deacon To: Anshuman Khandual Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, peterz@infradead.org, acme@kernel.org, mark.rutland@arm.com, Catalin Marinas , James Clark , Rob Herring , Marc Zyngier , Ingo Molnar , linux-perf-users@vger.kernel.org Subject: Re: [PATCH 0/8] arm64/perf: Enable branch stack sampling Message-ID: <20220627110105.GF22095@willie-the-truck> References: <20220613100119.684673-1-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220613100119.684673-1-anshuman.khandual@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Mon, Jun 13, 2022 at 03:31:11PM +0530, 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 v5.19-rc2 after the BRBE related perf ABI changes series > (V6) that was posted earlier. > > https://lore.kernel.org/linux-arm-kernel/20220610035101.424112-1-anshuman.khandual@arm.com/ > > Following issues remain inconclusive > > - Jame's concerns regarding permission inadequacy related to perfmon_capable() > - Jame's concerns regarding using perf_event_paranoid along with perfmon_capable() afaict, the capability stuff remains unresolved with the SPE driver, so I'd really like to see it fixed there first before we add more broken drivers. https://lore.kernel.org/r/20220118100702.GB16547@willie-the-truck Will