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 DE472C43219 for ; Wed, 19 Oct 2022 08:39:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3628B6B0072; Wed, 19 Oct 2022 04:39:21 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 313316B0073; Wed, 19 Oct 2022 04:39:21 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1DA7C6B0074; Wed, 19 Oct 2022 04:39:21 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 0B9B86B0072 for ; Wed, 19 Oct 2022 04:39:21 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id D003F1A09A1 for ; Wed, 19 Oct 2022 08:39:20 +0000 (UTC) X-FDA: 80037049680.13.B52FF3C Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by imf19.hostedemail.com (Postfix) with ESMTP id D98111A0030 for ; Wed, 19 Oct 2022 08:39:18 +0000 (UTC) Received: from dggpemm500024.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MskYL38pyz1P7BJ; Wed, 19 Oct 2022 16:34:30 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggpemm500024.china.huawei.com (7.185.36.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 16:39:13 +0800 Received: from [10.174.178.55] (10.174.178.55) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 19 Oct 2022 16:39:12 +0800 Subject: Re: [PATCH v7 11/11] kallsyms: Add self-test facility To: kernel test robot , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , , , "Masahiro Yamada" , Alexei Starovoitov , Jiri Olsa , Kees Cook , Andrew Morton , Luis Chamberlain , , Steven Rostedt , "Ingo Molnar" CC: , Linux Memory Management List References: <20221017064950.2038-12-thunder.leizhen@huawei.com> <202210181740.PAAHM5dR-lkp@intel.com> From: "Leizhen (ThunderTown)" Message-ID: <9cc2b731-0de8-6c43-5ea0-a2465d0f1c31@huawei.com> Date: Wed, 19 Oct 2022 16:39:12 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <202210181740.PAAHM5dR-lkp@intel.com> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.55] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1666168760; 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=XiVX0kAlNIEJHB7uE2ori9ZeNGwtS6YFWH/IvXYhd+Q=; b=GHt0bsVxWYpPsXEC7Mrz5B+VxJRjcptkQEKWUorqgMzN2tEgdISshBi9WFjXMogdZGAqn6 75Xnep74iE5jv7BiiSX1BjLZmGAeM/QE42cadQllbdxqkzglBFlSdafSwbAjh7uHTgvdp1 fs/xpdt7yMUdDzKPMQ4YWFe5g3JOHiA= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf19.hostedemail.com: domain of thunder.leizhen@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=thunder.leizhen@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1666168760; a=rsa-sha256; cv=none; b=QLTAWLpvwutuxO79XtTHulorgnRCNaL+KU6+hFzIw+3q1Mbj+PCiU/Nszj/lcj5QEZr7YX tVigWWyueQTDLd5YVYisfUCrn9/ohZZNRGSWeBBFrP19pnBgL4lkY/5yIjX8sRZzCwdE0s /TY05j8KZkoyybziIMy5gQL3hgMVcng= Authentication-Results: imf19.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf19.hostedemail.com: domain of thunder.leizhen@huawei.com designates 45.249.212.255 as permitted sender) smtp.mailfrom=thunder.leizhen@huawei.com X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: D98111A0030 X-Stat-Signature: z4rxz7p4mmgwh7zjefeyjjhsyoowi8qe X-Rspam-User: X-HE-Tag: 1666168758-988219 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 2022/10/18 17:32, kernel test robot wrote: > Hi Zhen, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on masahiroy-kbuild/for-next] > [also build test ERROR on linus/master v6.1-rc1 next-20221018] > [cannot apply to mcgrof/modules-next] > [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/Zhen-Lei/kallsyms-Optimizes-the-performance-of-lookup-symbols/20221017-145455 > base: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git for-next > patch link: https://lore.kernel.org/r/20221017064950.2038-12-thunder.leizhen%40huawei.com > patch subject: [PATCH v7 11/11] kallsyms: Add self-test facility > config: mips-allyesconfig > compiler: mips-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://github.com/intel-lab-lkp/linux/commit/3f5fc7fa1f657df865ef14b2d24f837a7cc079c9 > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Zhen-Lei/kallsyms-Optimizes-the-performance-of-lookup-symbols/20221017-145455 > git checkout 3f5fc7fa1f657df865ef14b2d24f837a7cc079c9 > # 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=mips SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All errors (new ones prefixed by >>): > > arch/mips/kernel/head.o: in function `kernel_entry': > (.ref.text+0xac): relocation truncated to fit: R_MIPS_26 against `start_kernel' > init/main.o: in function `set_reset_devices': > main.c:(.init.text+0x20): relocation truncated to fit: R_MIPS_26 against `_mcount' > main.c:(.init.text+0x30): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc' > init/main.o: in function `debug_kernel': > main.c:(.init.text+0xa4): relocation truncated to fit: R_MIPS_26 against `_mcount' > main.c:(.init.text+0xb4): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc' > init/main.o: in function `quiet_kernel': > main.c:(.init.text+0x128): relocation truncated to fit: R_MIPS_26 against `_mcount' > main.c:(.init.text+0x138): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc' > init/main.o: in function `warn_bootconfig': > main.c:(.init.text+0x1ac): relocation truncated to fit: R_MIPS_26 against `_mcount' > main.c:(.init.text+0x1bc): relocation truncated to fit: R_MIPS_26 against `__sanitizer_cov_trace_pc' > init/main.o: in function `init_setup': > main.c:(.init.text+0x234): relocation truncated to fit: R_MIPS_26 against `_mcount' > main.c:(.init.text+0x254): additional relocation overflows omitted from the output > mips-linux-ld: kernel/kallsyms_selftest.o: in function `test_perf_kallsyms_lookup_name': >>> kallsyms_selftest.c:(.text.unlikely.test_perf_kallsyms_lookup_name+0x100): undefined reference to `__udivdi3' OK, thanks. I will fix it in the next version. > -- Regards, Zhen Lei