Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp1867426imi; Sat, 23 Jul 2022 21:55:40 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vEqFyQIC9Dz3yGd2mR0RCcimv/Qg69OWXrTuXPAlLEU9F9l3BGE4Olvu1naNgoWqrKl8HZ X-Received: by 2002:a17:902:db10:b0:16c:3ecc:eb2f with SMTP id m16-20020a170902db1000b0016c3ecceb2fmr6960250plx.145.1658638540332; Sat, 23 Jul 2022 21:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658638540; cv=none; d=google.com; s=arc-20160816; b=fSGtrVD8i8AjNr/XCXUIJbny2hIJW4RHRD6CLAji/UbfoPOnFE/uyCeVcp+/TAdhKv h+askClxA+O6Ez3bS4nDFp/Bbsmpr6OBg0cP7zWX2QwHppZWokcFDKs2uzYJ2or+Sgjt gK7YkQrcMBnK0qOvWezrxodbIjIDvwQFwa5PicI/eB4NuDoPtWpQsyTSlvP/vussuK95 FRq3x90zMpNbu250PoL5b9l5384VE/qVjubXX0hcU5UbOeR0kr6tZ0d3rBhwkYqdBcCk o63PFI6BZCDbldD89PoFAT52XpaKF2Ldg3Nf5fK4knTwoRT0bVaEtgGN3ebT6wmnckqs 3lAA== 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=9Z6t1rNyWsxQyNebnAckjTSQhnLv830+4L8l+ie4qm0=; b=m17IIHPN0k9hHTPqP9tb5R8F8L+kh3JzkS9WMKD10JqRAUj800mkJk8U7z4VIR09wu VDVPWzI4gqWmIr85MDqMwN5l8CM/ghOTa4IBq1Ya78wUNuroE2eWUa63ih0QIbg1Nz42 F3zFOX5LXAlpiYMUF0Zsjx1vnNP94FD2sBU61tSjw1PGqE9wPyB/mhoH6xREeifnRvpZ GUByc+BkP3zhuu0sJ5U4IEEG0BM0tN7P7KH4YL1oDAraypoA92QUOodaOw53qMovpbtX fwCgrtUPINhuPf4KLHHp0pfrhOwaW829Z+kehpWyKajO0e6/3ELqdqog4cQ4PU+d5jUZ V02w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ITqYXNnk; 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 n10-20020a170902d2ca00b0016c28a68ab4si13151283plc.480.2022.07.23.21.55.19; Sat, 23 Jul 2022 21:55:40 -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=ITqYXNnk; 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 S236591AbiGXEih (ORCPT + 99 others); Sun, 24 Jul 2022 00:38:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235283AbiGXEid (ORCPT ); Sun, 24 Jul 2022 00:38:33 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DB7A13F6D; Sat, 23 Jul 2022 21:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658637512; x=1690173512; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=jKItJCecvltUAB2bB/UxycCz6i1zC2y0CtUaVcxBqms=; b=ITqYXNnkHH2ZP0+FBku1jLvS5sHocWOK6HMuAKFRfaceylzNIGmZ74N/ /mpbpTDAmNzHsJWM8eCAh7l3NCaHxJyp6kOF47v7TAi6nbREGAGkd0ykS oieo1XZ+VJJ6LrnIxof9snwC+d6eLqXMD6aWrQnPfm8e55QldKxa5VNpF cAkv2eTNdPlsZIz8CSUz0+28n92ejFBXQ8LsrslBixZHHfktsQDRbKdlD /MT1jSxxumvl8iKObknUYh6SttHEJszOk4fT7gzeIyohJ3S2nNLwPc193 Gd6gymF+yr3HQbppSr5L1lrpS06JbrJdQl/XUDB+o9VSLataWw7BZWMDd w==; X-IronPort-AV: E=McAfee;i="6400,9594,10417"; a="313255913" X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="313255913" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2022 21:38:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="596344915" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 23 Jul 2022 21:38:26 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oFTNq-0003Xv-0N; Sun, 24 Jul 2022 04:38:26 +0000 Date: Sun, 24 Jul 2022 12:38:19 +0800 From: kernel test robot To: Huacai Chen , Arnd Bergmann , Huacai Chen , Thomas Bogendoerfer , Dave Hansen , Andy Lutomirski , Peter Zijlstra , Catalin Marinas , Will Deacon Cc: kbuild-all@lists.01.org, loongarch@lists.linux.dev, linux-arch@vger.kernel.org, Xuefeng Li , Guo Ren , Xuerui Wang , Jiaxun Yang , Andrew Morton , Linux Memory Management List , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Feiyang Chen , Min Zhou Subject: Re: [PATCH V5 2/4] LoongArch: Add sparse memory vmemmap support Message-ID: <202207241246.ZV8cRK1g-lkp@intel.com> References: <20220721130419.1904711-3-chenhuacai@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220721130419.1904711-3-chenhuacai@loongson.cn> X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 Huacai, Thank you for the patch! Yet something to improve: [auto build test ERROR on soc/for-next] [also build test ERROR on kvm/queue arm64/for-next/core linus/master v5.19-rc7 next-20220722] [cannot apply to akpm-mm/mm-everything tip/x86/mm] [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/Huacai-Chen/mm-sparse-vmemmap-Generalise-helpers-and-enable-for-LoongArch/20220721-211006 base: https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git for-next config: nios2-allnoconfig (https://download.01.org/0day-ci/archive/20220724/202207241246.ZV8cRK1g-lkp@intel.com/config) compiler: nios2-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/46a065b827f834b046cffafc7fa165b6fadd9c5c git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Huacai-Chen/mm-sparse-vmemmap-Generalise-helpers-and-enable-for-LoongArch/20220721-211006 git checkout 46a065b827f834b046cffafc7fa165b6fadd9c5c # 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=nios2 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 >>): In file included from kernel/fork.c:102: >> arch/nios2/include/asm/pgalloc.h:32:13: error: conflicting types for 'pmd_init'; have 'void(long unsigned int, long unsigned int)' 32 | extern void pmd_init(unsigned long page, unsigned long pagetable); | ^~~~~~~~ In file included from include/linux/pid_namespace.h:7, from include/linux/ptrace.h:10, from arch/nios2/include/uapi/asm/elf.h:24, from arch/nios2/include/asm/elf.h:9, from include/linux/elf.h:6, from include/linux/module.h:19, from kernel/fork.c:30: include/linux/mm.h:3206:6: note: previous declaration of 'pmd_init' with type 'void(void *)' 3206 | void pmd_init(void *addr); | ^~~~~~~~ kernel/fork.c:163:13: warning: no previous prototype for 'arch_release_task_struct' [-Wmissing-prototypes] 163 | void __weak arch_release_task_struct(struct task_struct *tsk) | ^~~~~~~~~~~~~~~~~~~~~~~~ kernel/fork.c:852:20: warning: no previous prototype for 'arch_task_cache_init' [-Wmissing-prototypes] 852 | void __init __weak arch_task_cache_init(void) { } | ^~~~~~~~~~~~~~~~~~~~ kernel/fork.c:947:12: warning: no previous prototype for 'arch_dup_task_struct' [-Wmissing-prototypes] 947 | int __weak arch_dup_task_struct(struct task_struct *dst, | ^~~~~~~~~~~~~~~~~~~~ -- In file included from mm/filemap.c:45: >> arch/nios2/include/asm/pgalloc.h:32:13: error: conflicting types for 'pmd_init'; have 'void(long unsigned int, long unsigned int)' 32 | extern void pmd_init(unsigned long page, unsigned long pagetable); | ^~~~~~~~ In file included from include/linux/dax.h:6, from mm/filemap.c:15: include/linux/mm.h:3206:6: note: previous declaration of 'pmd_init' with type 'void(void *)' 3206 | void pmd_init(void *addr); | ^~~~~~~~ vim +32 arch/nios2/include/asm/pgalloc.h cbd15b3fadc27e Ley Foon Tan 2014-11-06 28 cbd15b3fadc27e Ley Foon Tan 2014-11-06 29 /* cbd15b3fadc27e Ley Foon Tan 2014-11-06 30 * Initialize a new pmd table with invalid pointers. cbd15b3fadc27e Ley Foon Tan 2014-11-06 31 */ cbd15b3fadc27e Ley Foon Tan 2014-11-06 @32 extern void pmd_init(unsigned long page, unsigned long pagetable); cbd15b3fadc27e Ley Foon Tan 2014-11-06 33 -- 0-DAY CI Kernel Test Service https://01.org/lkp