Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2331050rwd; Fri, 16 Jun 2023 02:27:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5FF/z24cuQFlxAW4vxmiO1l+yJCu4/rvxOCllRuVrI4FhZdZxzi0eZdTo9f05drpRMuqYT X-Received: by 2002:a17:902:d507:b0:1b1:82a6:7c84 with SMTP id b7-20020a170902d50700b001b182a67c84mr1545606plg.62.1686907646375; Fri, 16 Jun 2023 02:27:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686907646; cv=none; d=google.com; s=arc-20160816; b=D0PidO43nRlhfMzSWA9BC2MLtrVyd1riXLdKsDpvNtwYNh45lhNvEY2pF+SpUYtzP3 RxLXBk9DJ+ppF3eFahh0bUhWuJiWRe4X0YkGfnUBWiDcaqAQh5PeDV+uhuIJF4hqPoL/ w/rkTB8W8wPScrgx8Yp3zKctY+BK9LZoq03mE1tBuSkavl5pK1EAUroAkhWaDyMy5bPv xhkLl3HR7rW9raDBoQlVwEG/RhzD+UeVdAGMbIxrKo0DBjsA6rpZDYM/GJ/mpKHKkBSC KNnTlLqFjwapv26DkzXgDMyAdLyz9vV2SxemtRcZ6vDxODeEoouPyG7IY874Pt0hxXKF UDtg== 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=hliC4ZNWx/vaVHDa3P2cXDMfknfoTbq20nQy5UpS9J8=; b=vnSLy4GmeFFFlgcYenA5fGN7zmvWaElq7gDlPShQMv1dnMpGjoHCkOuZeAUWoYwYQ3 +PAndqCZmdJBGeqhGQV5WG9hhXys8qSZLTIQ5hu6ZDpZxrnbRtUbMDLOJLaJgKNaQglf buQ5nDI+LDrtReTQx9siorBBlZ5ED7SkQkVSIgS2HYE5qMf2SVs7+kA3NaIDdt583Ebj aWSJXTKi00R/Xtl60dO+nTLyrsOz4CdVm7sdnGr2EyEl/n2D2N1+lOAj0HsPze/4wogy h4jw/ndGEsdHRYNp6nnVV2zY7eUHlxBDGdiODXKjl5KWxFsPdD2UaJIRNzPgSOAjj4Zv 92nA== 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 k3-20020a170902c40300b001a961bfe4b7si7523782plk.362.2023.06.16.02.27.12; Fri, 16 Jun 2023 02:27:26 -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 S244797AbjFPJVj (ORCPT + 99 others); Fri, 16 Jun 2023 05:21:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232796AbjFPJVh (ORCPT ); Fri, 16 Jun 2023 05:21:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B130EA; Fri, 16 Jun 2023 02:21:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AABF361B86; Fri, 16 Jun 2023 09:21:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 238A6C433C0; Fri, 16 Jun 2023 09:21:31 +0000 (UTC) Date: Fri, 16 Jun 2023 10:21:29 +0100 From: Catalin Marinas To: Anshuman Khandual Cc: kernel test robot , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will@kernel.org, mark.rutland@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 Subject: Re: [PATCH V12 05/10] arm64/perf: Add branch stack support in ARMV8 PMU Message-ID: References: <20230615133239.442736-6-anshuman.khandual@arm.com> <202306160706.Uei5XDoi-lkp@intel.com> <883f2a20-fe20-4d43-86cf-7847d59e2169@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <883f2a20-fe20-4d43-86cf-7847d59e2169@arm.com> X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Fri, Jun 16, 2023 at 06:57:52AM +0530, Anshuman Khandual wrote: > On 6/16/23 05:12, kernel test robot wrote: > > kernel test robot noticed the following build errors: > > > > [auto build test ERROR on arm64/for-next/core] > > [also build test ERROR on tip/perf/core acme/perf/core linus/master v6.4-rc6 next-20230615] > > [If your patch is applied to the wrong git tree, kindly drop us a note. > > And when submitting patch, we suggest to use '--base' as documented in > > https://git-scm.com/docs/git-format-patch#_base_tree_information] > > > > url: https://github.com/intel-lab-lkp/linux/commits/Anshuman-Khandual/drivers-perf-arm_pmu-Add-new-sched_task-callback/20230615-223352 > > base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core > > patch link: https://lore.kernel.org/r/20230615133239.442736-6-anshuman.khandual%40arm.com > > patch subject: [PATCH V12 05/10] arm64/perf: Add branch stack support in ARMV8 PMU > > config: arm-randconfig-r004-20230615 (https://download.01.org/0day-ci/archive/20230616/202306160706.Uei5XDoi-lkp@intel.com/config) > > compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a) > > reproduce (this is a W=1 build): > > mkdir -p ~/bin > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > # install arm cross compiling tool for clang build > > # apt-get install binutils-arm-linux-gnueabi > > git remote add arm64 https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git > > git fetch arm64 for-next/core > > git checkout arm64/for-next/core > > b4 shazam https://lore.kernel.org/r/20230615133239.442736-6-anshuman.khandual@arm.com > > # save the config file > > mkdir build_dir && cp config build_dir/.config > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=arm olddefconfig > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang ~/bin/make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/perf/ > > I am unable to reproduce this on mainline 6.4-rc6 via default cross compiler > on a W=1 build. Looking at all other problems reported on the file, it seems > something is not right here. Reported build problems around these callbacks, > i.e armv8pmu_branch_XXXX() do not make sense as they are available via config > CONFIG_PERF_EVENTS which is also enabled along with CONFIG_ARM_PMUV3 in this > test config. Have you tried applying this series on top of the arm64 for-next/core branch? That's what the robot it testing (in the absence of a --base option when generating the patches). -- Catalin