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 D94C6C636CC for ; Wed, 8 Feb 2023 00:48:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5BDA56B0078; Tue, 7 Feb 2023 19:48:57 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 56D536B007B; Tue, 7 Feb 2023 19:48:57 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 434626B007D; Tue, 7 Feb 2023 19:48:57 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 3397C6B0078 for ; Tue, 7 Feb 2023 19:48:57 -0500 (EST) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id C6B62AAFD1 for ; Wed, 8 Feb 2023 00:48:56 +0000 (UTC) X-FDA: 80442289872.25.B00BE18 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf13.hostedemail.com (Postfix) with ESMTP id 176BD20003 for ; Wed, 8 Feb 2023 00:48:53 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=YGn9LeGV; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1675817334; 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=7Z9uVV5PiYYie6vH5eptzifDIMB0PUFnRxYxMCAq6eA=; b=qKK+g3QFXo8bbaGwFffiQXv5ghKCp83SvVGl0V9hd6al39DW0hxbUhbIbwbAKs01djbnC3 +adjaMo+TuY70ljfxNbxhoWEeUo4le3CGDbGGxFeHnp9umqo6Ph3EPkUn6XT5Y3dwNwL84 1xuTb/9YF12oZgW5WPltBMn64xJ06MY= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=YGn9LeGV; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1675817334; a=rsa-sha256; cv=none; b=f/Q39/br6l6WcD3Cz+9NkbjtRmCZt+YjnQskuLsJn3sW69COmbBkLn3a3jdEanN4H+sAc3 MLqCiJ1l6Xlabx0gvpS/knads+wICnpPEgGH0GoH3HhGnFj6i8AW6KOhAUFqtJY+tnK2KI Y5JaolCVWFnnksEwfG9ZIFAYv3pxYO8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675817334; x=1707353334; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=iSU/wJUqxAA+x/6aRi8yZrp5knPufGQYsub+omXRCR8=; b=YGn9LeGVyDTbbpcFiAhSAzlosTfb6Ai6zqGTBNNh0Le6SGC6f5Mc9635 P/Mnj9V40AxLmLta0YliD+OChdLuCjyfpzh+7wAxR8tlP6y6FP0cuDUWV vIf6XXbKMTeka59BbMLCEnyOKNZnOXBLnTqqvLdRwZS6XQUx1ZAUTD9X1 7csZpGRiRHNjBWK/hzw9Zj/leMdd9mOSKynqc0ygxBcGTaZBziZz/44/1 PUSPUlImtNSdUhLre7soTTkfBbGkAB7z9Kni/JIn11OFkoDiudk2bTWVh 9UVljwxXHapHhPHpJA1JpgT+gSkwFrQfW96/i/tHf/9BmDMoy6ejJ+7xk w==; X-IronPort-AV: E=McAfee;i="6500,9779,10614"; a="392066874" X-IronPort-AV: E=Sophos;i="5.97,279,1669104000"; d="scan'208";a="392066874" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2023 16:48:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10614"; a="660458010" X-IronPort-AV: E=Sophos;i="5.97,279,1669104000"; d="scan'208";a="660458010" Received: from lkp-server01.sh.intel.com (HELO 4455601a8d94) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 07 Feb 2023 16:48:41 -0800 Received: from kbuild by 4455601a8d94 with local (Exim 4.96) (envelope-from ) id 1pPYdc-000412-2l; Wed, 08 Feb 2023 00:48:40 +0000 Date: Wed, 8 Feb 2023 08:48:10 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" , Yin Fengwei , linux-mm@kvack.org Cc: oe-kbuild-all@lists.linux.dev, "Matthew Wilcox (Oracle)" , david@redhat.com, dave.hansen@intel.com, tim.c.chen@intel.com, ying.huang@intel.com Subject: Re: [PATCH v5 2/5] mm: Add generic set_ptes() Message-ID: <202302080851.OXQ3usg2-lkp@intel.com> References: <20230207194937.122543-3-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230207194937.122543-3-willy@infradead.org> X-Rspamd-Queue-Id: 176BD20003 X-Stat-Signature: k5kbf45o38q3cywtreqeiue13rn6wo5j X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1675817333-83639 X-HE-Meta: U2FsdGVkX1/CrdR2vErVHzbCOFqK/ldWn61Go94bErAbqmGF6NLjYiceBJqUsRWrpPJaak/uSmyR9BQsTYtyTohxpei833qqjELnEmS/hnNmgc6Ou6Q3M5x5h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viPzPhxFgYUmXQC/7aL7ScnqKOuOVThtCaV5cHImuH5B8iGsBKT1tsUb686eMSCs3VBMC8plC/MWl+6XLaqDwxEAAPtNuoj/IIec4m0TCCmAFofn4yEtMgCFz+u7RtuWfoQQM/NrySX4+uArQKHo28/wWgmClNNKGpNbMa3iFKUAF6H1KhO0Z36yZnvMUP3lk7m5G9uBwLmLQybB376ZDypTBotDTgoMJ7gIKX0cx5Qg5yBHTB4c7qrh3bNzH7WPM1ELbpDhZPU4GrHyN90fguXS2oZDgNubamXDYhiYZa7RVNlTuuN6qzdiSyFORj8MC30ilf5GqLi1g7nHaOYmEfAn88= 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 Matthew, I love your patch! Yet something to improve: [auto build test ERROR on next-20230207] [also build test ERROR on v6.2-rc7] [cannot apply to linus/master v6.2-rc7 v6.2-rc6 v6.2-rc5] [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/Matthew-Wilcox-Oracle/filemap-Add-filemap_map_folio_range/20230208-041404 patch link: https://lore.kernel.org/r/20230207194937.122543-3-willy%40infradead.org patch subject: [PATCH v5 2/5] mm: Add generic set_ptes() config: arm-randconfig-r016-20230205 (https://download.01.org/0day-ci/archive/20230208/202302080851.OXQ3usg2-lkp@intel.com/config) compiler: arm-linux-gnueabi-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/1549aed85e99407fbf2600da432b84c0660d2029 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Matthew-Wilcox-Oracle/filemap-Add-filemap_map_folio_range/20230208-041404 git checkout 1549aed85e99407fbf2600da432b84c0660d2029 # 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=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm prepare 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 include/linux/mm.h:29, from arch/arm/kernel/asm-offsets.c:12: include/linux/pgtable.h: In function 'set_ptes': >> include/linux/pgtable.h:1458:17: error: implicit declaration of function 'set_pte_at'; did you mean 'set_ptes'? [-Werror=implicit-function-declaration] 1458 | set_pte_at(mm, addr, ptep, pte); | ^~~~~~~~~~ | set_ptes cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:114: arch/arm/kernel/asm-offsets.s] Error 1 make[2]: Target 'prepare' 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 +1458 include/linux/pgtable.h 1441 1442 #ifndef set_ptes 1443 /** 1444 * set_ptes - Map consecutive pages to a contiguous range of addresses. 1445 * @mm: Address space to map the pages into. 1446 * @addr: Address to map the first page at. 1447 * @ptep: Page table pointer for the first entry. 1448 * @pte: Page table entry for the first page. 1449 * @nr: Number of pages to map. 1450 * 1451 * Context: The caller holds the page table lock. The PTEs all lie 1452 * within a single PMD (and VMA, and folio). 1453 */ 1454 static inline void set_ptes(struct mm_struct *mm, unsigned long addr, 1455 pte_t *ptep, pte_t pte, unsigned int nr) 1456 { 1457 for (;;) { > 1458 set_pte_at(mm, addr, ptep, pte); 1459 if (--nr == 0) 1460 break; 1461 ptep++; 1462 addr += PAGE_SIZE; 1463 /* This works for x86. Check how PTEs are encoded */ 1464 pte = __pte(pte_val(pte) + PAGE_SIZE); 1465 } 1466 } 1467 #endif 1468 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests