Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6369664rwr; Tue, 9 May 2023 14:17:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4r0vxlMLi9SH15jmfnbBilbMlQB+Gi1WZghWzhJNn6ehcPh6A0Fdqk5sdwGYK2H3rBMJFQ X-Received: by 2002:a05:6a00:ace:b0:63b:89a2:d624 with SMTP id c14-20020a056a000ace00b0063b89a2d624mr20042740pfl.12.1683667042942; Tue, 09 May 2023 14:17:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683667042; cv=none; d=google.com; s=arc-20160816; b=eCZx4HA6LG1QRpSJz9zRaLvECtRQdniDcNzR8vGv2/cps9QE3XSzVbFJG7ItpO3Y5z 6cZvArqeQyBN+OElY6dyo4Jx83Q5DamG9G6XyRJD+pM4pqngX9D4lsAk4lLGCDrXXPeU dgo2qcpi3Y27Awfj0mu4wDWAWv66RMSSm/IzpCtEKe/u06iRVfoZ+6vnl7MzrPuJzVS3 uj9LFBuNWGmi0EypZpZpS16AFTZSo7fSC9DKPxLooqE4j5OIZYFnxeCRoyv27AbOb9cN 47zxLbkb33fQdDPhLF02vPX8BPPyjiB57lG8WyrXoPk//i8iEebxx/sn2u5GijPfrlO7 y0Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ukK9pBrw2aIT7jlvn0w2t3Iy4fap82d4cOHvkwoP9OE=; b=mOjsFAd8xrrpPHOmPa6Fwz0id6S+Z3F+mGe0HlbwSQKUP5tGNhI+B0rSD7FehuQsKt Ur/xsxhLD7nL2bnevBI3mpLeL9jz1txhCYDTuRuVnhP33liG42st34eikLtCWN7m+SLF WTYkC4KIQLCr7/BhQqNKQJRr1FFLO3TG2CMkOrXLa8Cmto92Ghkk1v1a60cwRpps/Jqz i5YzLO/eL+OISyCTpr6wy4PQrueZABwvCgq7YUuaMRFKxHnFBYfjQzxZRiP5jIWW6Wiz 6TOA2qw9X6LCytUzMQLfYab7vMfJ3gYtld/jcItTtCQg35M1S1naemWoyzAnL1s05sxt vy5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="ItULmH/V"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a62cf05000000b0063a149e3c85si3147695pfg.401.2023.05.09.14.17.10; Tue, 09 May 2023 14:17:22 -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; dkim=pass header.i=@intel.com header.s=Intel header.b="ItULmH/V"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229738AbjEIUzT (ORCPT + 99 others); Tue, 9 May 2023 16:55:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235487AbjEIUzO (ORCPT ); Tue, 9 May 2023 16:55:14 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 476CE59E8; Tue, 9 May 2023 13:54:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683665684; x=1715201684; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Qb7JnGYGX/q0kXPU2rhDE3PwsSlBsEq5dhBfzcKgApM=; b=ItULmH/VZ61oT6Nwgz7iG+wxgLrigfSEv1M4VfXGit2kBCZM3+5TIPEm GuVZVnu9DuD8yjMhGZRWyyuPMb06GKugXpElluDOXgAb8xlSbxyzUmFmI XJjdHXSGEIv9nlBxLxRwyRaHnTrkVtX/zjR1CWlFqkhTJXnM8NyAqCbR2 esNg+TuFMHJoHtp1z8zqhC31evy210SPykq7XPL93ww1h9Xieqc3K76vO UwJ4cklLYGyJEM9JW0Ku+4qXffQbR73gOnuFoKJ54DYlyva760UZZXZ2u LkaYqs4tFyNC14kF5Xo81OIsSSWU7tyGhXDz0LMn4B5d60vtGId9oBbJ6 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="350081851" X-IronPort-AV: E=Sophos;i="5.99,262,1677571200"; d="scan'208";a="350081851" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2023 13:52:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10705"; a="649486667" X-IronPort-AV: E=Sophos;i="5.99,262,1677571200"; d="scan'208";a="649486667" Received: from lkp-server01.sh.intel.com (HELO dea6d5a4f140) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 09 May 2023 13:52:50 -0700 Received: from kbuild by dea6d5a4f140 with local (Exim 4.96) (envelope-from ) id 1pwUKH-0002UO-0a; Tue, 09 May 2023 20:52:49 +0000 Date: Wed, 10 May 2023 04:51:57 +0800 From: kernel test robot To: Youling Tang , Huacai Chen Cc: oe-kbuild-all@lists.linux.dev, Jonathan Corbet , Peter Zijlstra , Josh Poimboeuf , Jason Baron , WANG Xuerui , Zhangjin Wu , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev Subject: Re: [PATCH] LoongArch: Add jump-label implementation Message-ID: <202305100412.gazWW71q-lkp@intel.com> References: <1683617390-18015-1-git-send-email-tangyouling@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1683617390-18015-1-git-send-email-tangyouling@loongson.cn> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Youling, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.4-rc1 next-20230509] [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/Youling-Tang/LoongArch-Add-jump-label-implementation/20230509-153154 base: linus/master patch link: https://lore.kernel.org/r/1683617390-18015-1-git-send-email-tangyouling%40loongson.cn patch subject: [PATCH] LoongArch: Add jump-label implementation config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20230510/202305100412.gazWW71q-lkp@intel.com/config) 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://github.com/intel-lab-lkp/linux/commit/369827734136be509a0c817517fed12548d9c41f git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Youling-Tang/LoongArch-Add-jump-label-implementation/20230509-153154 git checkout 369827734136be509a0c817517fed12548d9c41f # 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 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch prepare If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305100412.gazWW71q-lkp@intel.com/ All errors (new ones prefixed by >>): scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr] scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr] scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples In file included from include/linux/cpumask.h:16, from arch/loongarch/include/asm/processor.h:9, from arch/loongarch/include/asm/thread_info.h:15, from arch/loongarch/include/asm/ptrace.h:10, from arch/loongarch/include/asm/inst.h:10, from arch/loongarch/include/asm/jump_label.h:13, from include/linux/jump_label.h:112, from include/linux/dynamic_debug.h:6, from include/linux/printk.h:564, from include/asm-generic/bug.h:22, from arch/loongarch/include/asm/bug.h:59, from include/linux/bug.h:5, from include/linux/fortify-string.h:5, from include/linux/string.h:254, from include/linux/uuid.h:11, from include/linux/mod_devicetable.h:14, from scripts/mod/devicetable-offsets.c:3: include/linux/numa.h: In function 'phys_to_target_node': >> include/linux/numa.h:41:9: error: implicit declaration of function 'pr_info_once' [-Werror=implicit-function-declaration] 41 | pr_info_once("Unknown target node for memory at 0x%llx, assuming node 0\n", | ^~~~~~~~~~~~ include/linux/cpumask.h: In function 'cpu_max_bits_warn': >> include/linux/cpumask.h:143:9: error: implicit declaration of function 'WARN_ON_ONCE' [-Werror=implicit-function-declaration] 143 | WARN_ON_ONCE(cpu >= bits); | ^~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:114: scripts/mod/devicetable-offsets.s] Error 1 make[2]: Target 'scripts/mod/' not remade because of errors. make[1]: *** [Makefile:1286: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:226: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/pr_info_once +41 include/linux/numa.h a927bd6ba952d1 Dan Williams 2020-11-21 29 a927bd6ba952d1 Dan Williams 2020-11-21 30 #ifndef memory_add_physaddr_to_nid a927bd6ba952d1 Dan Williams 2020-11-21 31 static inline int memory_add_physaddr_to_nid(u64 start) a927bd6ba952d1 Dan Williams 2020-11-21 32 { a927bd6ba952d1 Dan Williams 2020-11-21 33 pr_info_once("Unknown online node for memory at 0x%llx, assuming node 0\n", a927bd6ba952d1 Dan Williams 2020-11-21 34 start); a927bd6ba952d1 Dan Williams 2020-11-21 35 return 0; a927bd6ba952d1 Dan Williams 2020-11-21 36 } a927bd6ba952d1 Dan Williams 2020-11-21 37 #endif a927bd6ba952d1 Dan Williams 2020-11-21 38 #ifndef phys_to_target_node a927bd6ba952d1 Dan Williams 2020-11-21 39 static inline int phys_to_target_node(u64 start) a927bd6ba952d1 Dan Williams 2020-11-21 40 { a927bd6ba952d1 Dan Williams 2020-11-21 @41 pr_info_once("Unknown target node for memory at 0x%llx, assuming node 0\n", a927bd6ba952d1 Dan Williams 2020-11-21 42 start); a927bd6ba952d1 Dan Williams 2020-11-21 43 return 0; a927bd6ba952d1 Dan Williams 2020-11-21 44 } a927bd6ba952d1 Dan Williams 2020-11-21 45 #endif a927bd6ba952d1 Dan Williams 2020-11-21 46 #else /* !CONFIG_NUMA */ b2ca916ce392a9 Dan Williams 2020-02-16 47 static inline int numa_map_to_online_node(int node) b2ca916ce392a9 Dan Williams 2020-02-16 48 { b2ca916ce392a9 Dan Williams 2020-02-16 49 return NUMA_NO_NODE; b2ca916ce392a9 Dan Williams 2020-02-16 50 } a927bd6ba952d1 Dan Williams 2020-11-21 51 static inline int memory_add_physaddr_to_nid(u64 start) a927bd6ba952d1 Dan Williams 2020-11-21 52 { a927bd6ba952d1 Dan Williams 2020-11-21 53 return 0; a927bd6ba952d1 Dan Williams 2020-11-21 54 } a927bd6ba952d1 Dan Williams 2020-11-21 55 static inline int phys_to_target_node(u64 start) a927bd6ba952d1 Dan Williams 2020-11-21 56 { a927bd6ba952d1 Dan Williams 2020-11-21 57 return 0; a927bd6ba952d1 Dan Williams 2020-11-21 58 } b2ca916ce392a9 Dan Williams 2020-02-16 59 #endif b2ca916ce392a9 Dan Williams 2020-02-16 60 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests