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 E0DB9C43334 for ; Tue, 5 Jul 2022 12:10:18 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=R9akhN2BHf8/eCSHYLxPe4nziNBGAmbACw2R60MNn00=; b=TO3L4abMGfP+r0 n1tM5cg4IfnQO7vF8pPCcElgJ07yb2DOvJu+M6ton5q7DhnEkvNKOdbXmdX48s0wpV1eFxH7/wJ0Q aKN1vyY+PxDqtDF4lU2wj9DS4veI7ymNFenk61iyPe4My6QEUJy2UVV0kpWQ/ecuG0VNvpiv6C/Be jO8GnwPvSp7b7qXHeTX3PlEXuX2cDknZ79ngDfAbBrsarVjTEogxGvV9iqCcvfDii7hrnVNxvJ8JR viKAEwDMZ1Bfyg+rIOQ6LDdXxQgsPCiMGDA+oZyarTqSMcKWxU+vASh0l81iw0loiLfFyLPzZ7lsO SRoaC7H8x+zTGxdcUpgw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8hMk-0002zX-2N; Tue, 05 Jul 2022 12:09:18 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o8hMg-0002xM-SS for linux-arm-kernel@lists.infradead.org; Tue, 05 Jul 2022 12:09:16 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id 7167661967; Tue, 5 Jul 2022 12:09:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91A71C341C7; Tue, 5 Jul 2022 12:09:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657022953; bh=gMe2Ijaw82c09SO8FL5eAqBwiWmmaGC/sirYUVrjV4w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Yyp5yggKgTaqkE3lKk9P7EyIRKmhnydHYGEKpT+MqyxZJQ/CDFnMtAOjK8Nhd68pB Np0ekJIh+/4WXcKN6nhGefi7JeHoKEtjvP60/xM75utygTBLSRiz1jf0pNXmwOdvl/ lT/rN4D0Mdj8g4d0nHX8jUd4P8ruSZaE9RUBQm9u563I2RBWey14BmVcLMifixTjUe kf6XI33rwEobfKyAK/ZaxoJVByJdldyFyDIYsmCO3SWt55taFfWUphpDdxa4Vlx9Yg 8w+MKa+jqvZKSe5jJnZ8QVLL422psnJki1MBMMcFNyfSPOkr2Y0da8WUwRzWLHW7Rh nUeAmjNMkuaTQ== Date: Tue, 5 Jul 2022 13:09:07 +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: <20220705120907.GA1012@willie-the-truck> References: <20220613100119.684673-1-anshuman.khandual@arm.com> <20220627110105.GF22095@willie-the-truck> <967c0a4f-c864-21ec-33f1-5e3943a42409@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <967c0a4f-c864-21ec-33f1-5e3943a42409@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220705_050914_996138_1F567270 X-CRM114-Status: GOOD ( 17.72 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jun 28, 2022 at 01:10:05PM +0530, Anshuman Khandual wrote: > > > On 6/27/22 16:31, Will Deacon wrote: > > 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 > > Hello Will, > > I did go through the above mentioned thread, but could not understand (clear > enough) - what needs to be done. Could you please help summerize the problem > and possible solutions which I can start looking into. Thank you. I don't recall any details beyond what was discussed in the thread. Your best bet is probably to talk to James (Clark) and German, as they reported the issue initially and you all work for the same company... Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel