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 BA671C54EED for ; Mon, 30 Jan 2023 17:04:28 +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=NAuhYvd270KhPJa1Vl/xKOT5QDMR486Kt4/d6Rdwc88=; b=4YpnE/olqOJ/qq zrIX3off13lS6iOU+71whfhZem6/xMkGC0j2v8vo52+V4NzawsUrwIMO0fuUxSdKOa0eADrOjfHZg gTs39lPs9GXffysXRK+OUyPw46BVxj4Ehyqh3MBaoK19Vs5QyJjhjRhQeNX01b5kocZ1FPWl/dZ67 i7oLgFwNnXqICt2/EFMHwxsW5Fg1Uw5Y5AAXF95ZqDqc0bnu+P3VY5q56v6IrZL+EgutGkdua+OTb Bbs9eKWBV3Ku4/fVC47sO7L2tdfmA5kyWT0HfX6KRmCeRCGG5O59P2V7f55V9c4daTSX1Q+QiJRSY qwUNbxA98bPFw1MwODhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMXXm-004M8N-4A; Mon, 30 Jan 2023 17:02:10 +0000 Received: from mga09.intel.com ([134.134.136.24]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pMXWP-004M2K-Jl for linux-arm-kernel@lists.infradead.org; Mon, 30 Jan 2023 17:00:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675098045; x=1706634045; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=uOmtD6DCGmXjAqhlbykYDDLsIlNqsOOlSUyaWVTsLu8=; b=W9GZ5vz+IAv8+lRViMdoEGpSP3U0NKIXwNRutN0udlWqr27iathVkfuI 3UcIoPGpikaCLJfbMVDnZ/t23x3oCvk/MFCCyFqfQ9qtgBgiPiVzAB0yl bfc0f0w5TiI41JjZyoQeRpWimscYrNWdfKGTe/42OBZLdudaDO5Xs4ess b6hF8MJpt+9YLDO1nhNIRPyOBz59hdSSCrS5m2esZvF2cwpUGk4qEJOzJ 8PwXi5ZNxQCS+7QBY+7kJ5i4BF9LCnyoirrCwE5NcYv74YW3zkLtCCxtO VwploAVtyMgqJSIQPFFPi2IszfXz2N8OoImrZia+099Jb9fVt8x6EOwSG w==; X-IronPort-AV: E=McAfee;i="6500,9779,10606"; a="328879383" X-IronPort-AV: E=Sophos;i="5.97,258,1669104000"; d="scan'208";a="328879383" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jan 2023 08:29:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10606"; a="664153599" X-IronPort-AV: E=Sophos;i="5.97,258,1669104000"; d="scan'208";a="664153599" Received: from lkp-server01.sh.intel.com (HELO ffa7f14d1d0f) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 30 Jan 2023 08:29:09 -0800 Received: from kbuild by ffa7f14d1d0f with local (Exim 4.96) (envelope-from ) id 1pMX1o-0003kM-2p; Mon, 30 Jan 2023 16:29:08 +0000 Date: Tue, 31 Jan 2023 00:28:17 +0800 From: kernel test robot To: Anshuman Khandual , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will@kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Anshuman Khandual , 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 V8 5/6] arm64/perf: Add branch stack support in ARMV8 PMU Message-ID: <202301310047.b5iv9hM8-lkp@intel.com> References: <20230123125956.1350336-6-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230123125956.1350336-6-anshuman.khandual@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230130_090045_743943_A7E09334 X-CRM114-Status: GOOD ( 17.59 ) 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 Hi Anshuman, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on arm64/for-next/core] [also build test WARNING on tip/perf/core acme/perf/core linus/master v6.2-rc6 next-20230130] [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/20230123-210254 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core patch link: https://lore.kernel.org/r/20230123125956.1350336-6-anshuman.khandual%40arm.com patch subject: [PATCH V8 5/6] arm64/perf: Add branch stack support in ARMV8 PMU config: arm64-randconfig-r016-20230130 (https://download.01.org/0day-ci/archive/20230131/202301310047.b5iv9hM8-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 4196ca3278f78c6e19246e54ab0ecb364e37d66a) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/0deba04ac45f8632b8579cb5cbf908b9f4428402 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Anshuman-Khandual/drivers-perf-arm_pmu-Add-new-sched_task-callback/20230123-210254 git checkout 0deba04ac45f8632b8579cb5cbf908b9f4428402 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 prepare If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from arch/arm64/kernel/asm-offsets.c:15: In file included from include/linux/kvm_host.h:45: In file included from arch/arm64/include/asm/kvm_host.h:36: In file included from include/kvm/arm_pmu.h:11: >> arch/arm64/include/asm/perf_event.h:280:20: warning: function 'has_branch_stack' has internal linkage but is not defined [-Wundefined-internal] static inline bool has_branch_stack(struct perf_event *event); ^ arch/arm64/include/asm/perf_event.h:284:16: note: used here WARN_ON_ONCE(!has_branch_stack(event)); ^ 1 warning generated. -- In file included from arch/arm64/kernel/asm-offsets.c:15: In file included from include/linux/kvm_host.h:45: In file included from arch/arm64/include/asm/kvm_host.h:36: In file included from include/kvm/arm_pmu.h:11: >> arch/arm64/include/asm/perf_event.h:280:20: warning: function 'has_branch_stack' has internal linkage but is not defined [-Wundefined-internal] static inline bool has_branch_stack(struct perf_event *event); ^ arch/arm64/include/asm/perf_event.h:284:16: note: used here WARN_ON_ONCE(!has_branch_stack(event)); ^ 1 warning generated. vim +/has_branch_stack +280 arch/arm64/include/asm/perf_event.h 279 > 280 static inline bool has_branch_stack(struct perf_event *event); 281 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel