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 A74E67E2EE for ; Sat, 2 Apr 2022 09:57:13 +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=fbiLjiIT; 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 1FF58B8049B; Sat, 2 Apr 2022 09:57:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6647C3410F; Sat, 2 Apr 2022 09:57:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648893430; bh=tNEYj6qWpjR4LDDLwHTWok2cg8Gv7S8PvGfWvnVsaxM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fbiLjiITInNNlqq2fBa7KVuP1L7N0hiCEj0fKipdAcfXwx1Hvccs6hCLbzuXRESKv 1QvR8gwO5zp/iMzAoFlM/OOLWZoSAoGHfzxuOn/drv0/elXmSumawdYc1ZuTDrJJw2 51SO51Y9FHCUqrc7vlOt3DTEMF8Etq6ZdPrhI/ComT6m6iOVFzuYadroDZos2tNooR 0yKdVEqpy/gKuuOZplJb8sMpdweoR5vXBKk1DPRY4GA/wRdTLRjFi02zrSIpGTd/e5 S42i5FHsOFpL3beKIuoX2P9NQlivPhfFsj4rg6Z0OR9NCo+wBZCThzfBect2KaDJKX 8k1/DSYV3Oa2Q== 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 1naaVI-0010mT-J1; Sat, 02 Apr 2022 10:57:08 +0100 Date: Sat, 02 Apr 2022 10:57:08 +0100 Message-ID: <87pmlzbyff.wl-maz@kernel.org> From: Marc Zyngier To: Ammar Faizi Cc: kernel test robot , 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: <9fa2454e-aef5-c879-eb0d-2eb23e603b55@gnuweeb.org> References: <202204021112.ErKMELRr-lkp@intel.com> <87r16fbzaq.wl-maz@kernel.org> <9fa2454e-aef5-c879-eb0d-2eb23e603b55@gnuweeb.org> 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: ammarfaizi2@gnuweeb.org, 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 Ammar, On Sat, 02 Apr 2022 10:52:39 +0100, Ammar Faizi wrote: > > Hi Marc, > > On 4/2/22 4:38 PM, Marc Zyngier wrote: > > 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? > > It's my tree. Didn't realize it yields many irrelevant errors like this. > I will stop pushing Android stuff to this tree. > > Sorry for bothering you. It doesn't bother me at all, and you shouldn't stop pushing stuff that is useful to you. My objection is to the testing of random trees and spamming of random people, specially when it is pretty obvious that the tree isn't targeting upstream Linux. You really shouldn't change anything in your workflow on my account. Thanks, M. -- Without deviation from the norm, progress is not possible.