From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-6.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by gnuweeb.org (Postfix) with ESMTPS id 751187E358 for ; Sat, 2 Apr 2022 09:38:27 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=VRrkgaBZ; dkim-atps=neutral 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 C13DDB802C5; Sat, 2 Apr 2022 09:38:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D4F9C340EC; Sat, 2 Apr 2022 09:38:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648892304; bh=2ak9OZ9f5R7OEQWeox4qMrQ22mVIHcwU/KEeeTEMFWo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=VRrkgaBZm+exp4RB9Pdnp7d84qLLSaRdpb5zb4iqW6LvKHekkoJ52t33JvI9GhFky erGlKZvMHNF5y1EVrl5rHfDpfLvdB5FpW+2MU1EJryRqhoyXHLGzSkE0jgdGGhfBMK 6jx3swPL18k3+0fzTxMDJE79gUa1cNvdmwRrUK7XfEjdYTlzmVjifmwQXoxpyVWE47 f/MgQ/tOp8/v1ZtpzKUw+Rhd8/mJ3sMJBgBeGVi/e56Pg4DG87BshSlffGVaeUIp+p fIHP4Hrq0Kujlfe983SdeKecse9Qm1U2jlRJRWrlYmGxoInMERp+zaNw4bWRkIH6LY pY+0ocvYpc4vg== Received: from sofa.misterjones.org ([185.219.108.64] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1naaD8-0010b2-4J; Sat, 02 Apr 2022 10:38:22 +0100 Date: Sat, 02 Apr 2022 10:38:21 +0100 Message-ID: <87r16fbzaq.wl-maz@kernel.org> From: Marc Zyngier To: kernel test robot Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org, Quentin Perret , Alexandru Elisei , Will Deacon Subject: Re: [ammarfaizi2-block:google/android/kernel/common/android12-5.10-2022-03 199/9999] arch/arm64/kvm/perf.c:58:36: error: implicit declaration of function 'perf_num_counters' In-Reply-To: <202204021112.ErKMELRr-lkp@intel.com> References: <202204021112.ErKMELRr-lkp@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: lkp@intel.com, llvm@lists.linux.dev, kbuild-all@lists.01.org, gwml@vger.gnuweeb.org, linux-kernel@vger.kernel.org, qperret@google.com, alexandru.elisei@arm.com, willdeacon@google.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false List-Id: Hi Robot, On Sat, 02 Apr 2022 04:47:04 +0100, kernel test robot wrote: > > Hi Marc, > > FYI, the error/warning still remains. > > tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-5.10-2022-03 Oh look, a random Android tree based on ... 5.10. > head: 64099431c232d4a95f621411747a3972cc1c8061 > commit: 13dbdc0759fd4b89417f64d399ffa6a86fdc7caf [199/9999] FROMGIT: KVM: arm64: Turn kvm_arm_support_pmu_v3() into a static key > config: arm64-randconfig-r024-20220331 (https://download.01.org/0day-ci/archive/20220402/202204021112.ErKMELRr-lkp@intel.com/config) > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project cc2e2b80a1f36a28fa7c96c38c2674b10868f09f) > 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/ammarfaizi2/linux-block/commit/13dbdc0759fd4b89417f64d399ffa6a86fdc7caf > git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block > git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-5.10-2022-03 > git checkout 13dbdc0759fd4b89417f64d399ffa6a86fdc7caf > # save the config file to linux build tree > mkdir build_dir > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/ > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > >> arch/arm64/kvm/perf.c:58:36: error: implicit declaration of function 'perf_num_counters' [-Werror,-Wimplicit-function-declaration] > if (IS_ENABLED(CONFIG_ARM_PMU) && perf_num_counters() > 0) > ^ > 1 error generated. $ ls -l arch/arm64/kvm/perf.c ls: cannot access 'arch/arm64/kvm/perf.c': No such file or directory What is the point of testing trees that have no resemblance with upstream? Thanks, M. -- Without deviation from the norm, progress is not possible.