Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp751022rwi; Wed, 19 Oct 2022 02:23:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7JoJSBZl0eaLsF/C1KkZY91azbkZga6zUL/5IXVocV7vxMzbthMAwkhS8LsYhSPRHBsybw X-Received: by 2002:a17:906:7308:b0:78e:191e:8389 with SMTP id di8-20020a170906730800b0078e191e8389mr5824700ejc.170.1666171417970; Wed, 19 Oct 2022 02:23:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666171417; cv=none; d=google.com; s=arc-20160816; b=OJDvQY5F8B6oEv369L94W9mGZsiw+WeUVj3FTmb+9Nk67aYWy29pDTjXMg5s882Mgu /vC/RrZDjhW/gXx6YBKIsNJFr3QUSK5eDIUq0stqL9ckOLzACsSSxfj9dMv1YMdk4l7s YEWpUNwjDqKfiW7lAKNNhJrLd92I2Iob+f1EfiFvMjtdLmDLmWYNnLs7iLKc7m8wGANq 1emplnWuFxKjdJQRLhOPGTL4+ko6Yx9Jbn7ACTjE/UMlizMEBwvkc1SN0VLvZ7LG0Bi3 Rfc+FWL6UAYiINo/0Dn4MVE7659+u5DacZ5t7ljZrbHNNJkv8Ex8xehI02rnKbUszUKv dvSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=XiVX0kAlNIEJHB7uE2ori9ZeNGwtS6YFWH/IvXYhd+Q=; b=b8EbGdI46DgcEh4M+3Bbrkf3mflcrP0gOJ5o1AopgjbMfzH/Ax+dHDSRb/oma7oTSx 9l6NHJCoFwsYsZxMxnCcCTUcsYZqhWUAW80XbOdfm7MhHQnY+Tpa/bs+Nb33NftINaf8 yxK3iKBa3m46DefHUoAGBLyxLhPTqLMu9h5dby7xLAxbg7nMrOm9qzwJ6jyBABqM9/cF CHYpLP42/nPbz+P/dw1oG7gjHWkvGghkh99y2fKkeAiTVzE5XaHfLKrrJNrlJ4VL9Tz3 0fQhtYtZu2n5/+t94trNGmuP0P6sfzQdKAsyt8gDhU6FOZMvWYilHyQO3jBQp6EXv1yl 1P6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w3-20020a50fa83000000b004584e4d62c3si12042170edr.187.2022.10.19.02.23.11; Wed, 19 Oct 2022 02:23:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230520AbiJSIm1 (ORCPT + 99 others); Wed, 19 Oct 2022 04:42:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230372AbiJSIlm (ORCPT ); Wed, 19 Oct 2022 04:41:42 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99D8281125; Wed, 19 Oct 2022 01:39:16 -0700 (PDT) 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 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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