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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50CD3C4332F for ; Tue, 22 Nov 2022 10:45:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D61806B0078; Tue, 22 Nov 2022 05:45:28 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D10746B007B; Tue, 22 Nov 2022 05:45:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BFF9D6B007D; Tue, 22 Nov 2022 05:45:28 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id B1F416B0078 for ; Tue, 22 Nov 2022 05:45:28 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 8306F80EC4 for ; Tue, 22 Nov 2022 10:45:28 +0000 (UTC) X-FDA: 80160746736.05.3EDDED7 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf06.hostedemail.com (Postfix) with ESMTP id CACCF18000F for ; Tue, 22 Nov 2022 10:45:27 +0000 (UTC) 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 453481FB; Tue, 22 Nov 2022 02:45:33 -0800 (PST) Received: from [10.57.37.38] (unknown [10.57.37.38]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EB55B3F587; Tue, 22 Nov 2022 02:45:25 -0800 (PST) Message-ID: Date: Tue, 22 Nov 2022 10:45:24 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [linux-next:master 7077/9540] drivers/perf/arm_cspmu/arm_cspmu.c:1105:29: error: implicit declaration of function 'get_acpi_id_for_cpu' To: Will Deacon , kernel test robot Cc: Besar Wicaksono , oe-kbuild-all@lists.linux.dev, Linux Memory Management List References: <202211221747.6AuvQi8G-lkp@intel.com> <20221122102839.GA19640@willie-the-truck> From: Suzuki K Poulose In-Reply-To: <20221122102839.GA19640@willie-the-truck> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=none; spf=pass (imf06.hostedemail.com: domain of suzuki.poulose@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=suzuki.poulose@arm.com; dmarc=pass (policy=none) header.from=arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1669113928; a=rsa-sha256; cv=none; b=0928YHxHvvQui3Aiob8RgF32egPveD8OsqkIG1IccoZ2eN3x2nHcWFpyKj8/qFLREKDX3+ qXtvOsVHkcWtTgWmiB9NLP2jKDnzX0I2kInmvaVG2gOMZhdvk4GIButBbFZJMnwAEjHzM5 Iba2MxO+bIrDA6Bl7suGy1dThSrsMq4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1669113928; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+AOfUpOrSM8ciZ1TQpLgu419NCybJav7qftS+pnWF/I=; b=BhzpDkrtNvnmNn14qR3a3LeaabZrym2P9hzVGqGJ1mQS7sbLPC7jMuRpkwD00YIshYXhWq tHrFYa6E6ZSSICFCCfs87HSPQ1hroEiGR/NYZIkMy4SsnP6d6YWFIOfLVurSRpm5PEoj2J YeO+hmbnkBGhS92YqrRx83T5Oc5zGYU= X-Rspamd-Queue-Id: CACCF18000F X-Rspam-User: Authentication-Results: imf06.hostedemail.com; dkim=none; spf=pass (imf06.hostedemail.com: domain of suzuki.poulose@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=suzuki.poulose@arm.com; dmarc=pass (policy=none) header.from=arm.com X-Rspamd-Server: rspam06 X-Stat-Signature: s58z4ugaoidt1qoqrzxt75ee6f4o81zp X-HE-Tag: 1669113927-896442 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 22/11/2022 10:28, Will Deacon wrote: > On Tue, Nov 22, 2022 at 05:27:38PM +0800, kernel test robot wrote: >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master >> head: 771a207d1ee9f38da8c0cee1412228f18b900bac >> commit: e37dfd65731dc4f001fa7dfa7f705e6840017d5a [7077/9540] perf: arm_cspmu: Add support for ARM CoreSight PMU driver >> config: loongarch-allmodconfig >> compiler: loongarch64-linux-gcc (GCC) 12.1.0 >> 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 >> # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e37dfd65731dc4f001fa7dfa7f705e6840017d5a >> git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git >> git fetch --no-tags linux-next master >> git checkout e37dfd65731dc4f001fa7dfa7f705e6840017d5a >> # save the config file >> mkdir build_dir && cp config build_dir/.config >> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/iio/magnetometer/ drivers/perf/arm_cspmu/ >> >> If you fix the issue, kindly add following tag where applicable >> | Reported-by: kernel test robot >> >> Note: the linux-next/master HEAD 771a207d1ee9f38da8c0cee1412228f18b900bac builds fine. >> It may have been fixed somewhere. >> >> All errors (new ones prefixed by >>): >> >> drivers/perf/arm_cspmu/arm_cspmu.c: In function 'arm_cspmu_get_cpus': >>>> drivers/perf/arm_cspmu/arm_cspmu.c:1105:29: error: implicit declaration of function 'get_acpi_id_for_cpu' [-Werror=implicit-function-declaration] >> 1105 | get_acpi_id_for_cpu(cpu)) { >> | ^~~~~~~~~~~~~~~~~~~ >> cc1: some warnings being treated as errors > > Besar, Suzuki, please can you look into this? This was fixed with a Kconfig depenedency on ARM64 [0]. The above commit picked up doesn't have the fix. i.e., this is a duplicate error report. [0] https://git.kernel.org/will/c/e72dbf9085b5 Thanks Suzuki