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 14995C433EF for ; Sun, 24 Jul 2022 04:38:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2388E6B0072; Sun, 24 Jul 2022 00:38:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1E82C6B0073; Sun, 24 Jul 2022 00:38:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0B0EF6B0074; Sun, 24 Jul 2022 00:38:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id F25066B0072 for ; Sun, 24 Jul 2022 00:38:34 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id D186D1C690D for ; Sun, 24 Jul 2022 04:38:34 +0000 (UTC) X-FDA: 79720737348.06.87D0ED0 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf14.hostedemail.com (Postfix) with ESMTP id D2066100022 for ; Sun, 24 Jul 2022 04:38:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658637513; x=1690173513; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=jKItJCecvltUAB2bB/UxycCz6i1zC2y0CtUaVcxBqms=; b=V5fWiSP5wKKygyKpHRsGswzyF/adIsFGWV2Wa9itLwfSLRw8HoDTeVAE /0gYitDRB7amGniC8Z12LogxBHoEO2BcagtFV5ydYSDDDTW+OrmxDU2es UOSUZS2wv4HoJOW8fDNLi9m7AGqSs8AcumuCd5xKJSKrPJuRN/KH8s1EK 7ZNsWeBsZBrYt774AniWzdDyfsQa4IFj51PfcIs2mU3DutEeHmsnRysVU 2aozKd6O2hMEmTnIVrwvcaFG3FLmu1QkMwKgfwh94hL6uo+zrqeaiLhAC lJBrqxUJh5sKivBGF+0M8QNYkHaRrcGQK/37M3r/kGdFW9QCGxybw38mQ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10417"; a="349212238" X-IronPort-AV: E=Sophos;i="5.93,189,1654585200"; d="scan'208";a="349212238" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2022 21:38:31 -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> ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1658637514; a=rsa-sha256; cv=none; b=rUxPTIqf00ADKpqIi2hBRVdi/+MdOA+e3Nv64SrwS26HMFz4BaiixbbYdevxqQxel/3M05 +sgwbm3C0nuaT/VtVab5PfnZgjseAtRCVZUm2beRd0ksa1vmsJx/ZiZDTJ0jI9DyJk/9hj d6NryLJ5qnY+IT6BgKsiRPGPFWlHdGM= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=V5fWiSP5; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf14.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.31) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1658637514; 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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=9Z6t1rNyWsxQyNebnAckjTSQhnLv830+4L8l+ie4qm0=; b=5FQBeQ39eGBF4PVagZXEW1JY2b7saIR/80mCcojs0gaXyWXtRferccOAWm1y8UY441leKv KjCPjzvwpWHxPeo2xNY2kmPtieL/cJzO06o5NDeIXWYy4W8gmAl30uwT23NVJIR3DYgGBU oAxQLrYHeyc9Ix4L9PB7yYiJIOpuvAA= Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=V5fWiSP5; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf14.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.31) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: D2066100022 X-Stat-Signature: 96yyep6nu6twzibq7wqreidy6wur1iju X-HE-Tag: 1658637513-427457 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: 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