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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A99FEC05027 for ; Thu, 9 Feb 2023 02:51:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232270AbjBICvg (ORCPT ); Wed, 8 Feb 2023 21:51:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232245AbjBICum (ORCPT ); Wed, 8 Feb 2023 21:50:42 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2A01D1708; Wed, 8 Feb 2023 18:48:21 -0800 (PST) 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 304C7150C; Wed, 8 Feb 2023 18:49:03 -0800 (PST) Received: from [10.162.40.17] (unknown [10.162.40.17]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2291C3F71E; Wed, 8 Feb 2023 18:48:14 -0800 (PST) Message-ID: <6fd66a78-6c18-3b61-483b-0e821082aaac@arm.com> Date: Thu, 9 Feb 2023 08:18:11 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH V8 5/6] arm64/perf: Add branch stack support in ARMV8 PMU Content-Language: en-US To: Mark Rutland Cc: Will Deacon , kernel test robot , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, 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: <20230123125956.1350336-6-anshuman.khandual@arm.com> <202301310047.b5iv9hM8-lkp@intel.com> <20230203113153.GA5927@willie-the-truck> <143549b7-6f16-209f-b1be-c8202fd55d05@arm.com> From: Anshuman Khandual In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/9/23 01:36, Mark Rutland wrote: > On Mon, Feb 06, 2023 at 09:46:25AM +0530, Anshuman Khandual wrote: >> On 2/3/23 17:01, Will Deacon wrote: >>> On Tue, Jan 31, 2023 at 12:28:17AM +0800, kernel test robot wrote: > > [...] > >>> This looks like it should be fixed. I'd also like to see Mark's ack on the >> >> This build warning is triggered when CONFIG_PERF_EVENTS is not enabled, when >> all the fallback stubs in there try to use has_branch_stack() which does not >> get defined. The following change, fixes the problem. > > I expect that you'll post a v9 with that folded in, and I've just made some > comments on v7 which I expect will require some changes, so I'm going to wait > for v9 for further review to keep this manageable. Sure, will work on a V9 and post when ready.