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 C39A8C25B4E for ; Tue, 24 Jan 2023 11:05:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3BE6A6B0071; Tue, 24 Jan 2023 06:05:04 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 347496B0072; Tue, 24 Jan 2023 06:05:04 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1C20B6B0074; Tue, 24 Jan 2023 06:05:04 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 0A26F6B0071 for ; Tue, 24 Jan 2023 06:05:04 -0500 (EST) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id C5B8F1C61DE for ; Tue, 24 Jan 2023 11:05:03 +0000 (UTC) X-FDA: 80389410486.13.1CFB83A Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by imf26.hostedemail.com (Postfix) with ESMTP id 3015B14000E for ; Tue, 24 Jan 2023 11:05:00 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=McNtBX3Z; spf=pass (imf26.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 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=1674558301; 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=guBd1W7vbChCJiObbVvAKzXJENKSjgIzw1NxR0V78j0=; b=t2hvTLMWYlY+5oFRLm+9Wtj77pCo0ngaPsKA6Ms5yokNBGLtQvGfsVTgCVv1fz3EMEjjdg 3S4Zf6JQtH2QSquj7tXTbt5byzSGRLJ/+OB+TXnZXgG1fH6LMusmKELUoshmbOHqCZfIH0 O2mlSOY5rsWxOmarUCEfMJdkYkzbMOE= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=McNtBX3Z; spf=pass (imf26.hostedemail.com: domain of lkp@intel.com designates 134.134.136.20 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=1674558301; a=rsa-sha256; cv=none; b=kVg5MWMFRPvZXH1zLmUEvIDti60H0zkUtAmZmTmlkd9uUXqfd4Nz4niYzX1N112P4ZljYl O0AMwe6L7Wa9JDBTuHizO8EMLvvVpkDXUfeZHVu/fEsyG9p17pl3lPn0rK9cphMQqrUStW Ms0tn6K7hzvp9g3gPyPY5FkQTkrOk/s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674558301; x=1706094301; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=u+FzOBKj0QPqSqfYENp7du/NiCKXB3DsBUyRD+FK49U=; b=McNtBX3Zj3/XJiGex7mgTONeoAodooIviA9yIwSKLfM/l+W21CNGth1e w6wazya+VlxVGpqKtmjoT5nXpQVRWc9tdqf3QFMra9W+DGBdFcI8TnST3 uHYNfclthlMyWEFPyRoOEAf4lUDHyKdu/ac4F2pQIEi1ZYR93n9d+hsr/ xye2uMoebH9OS71lcECzWsF97ALugOTFo6MLZ+oUeZTB8nNC0Lp3xzwD+ O1Se5eFKYfKeLVEnXEAlsTr8SDIevpwWYkYvw8+T2Tyoa3LVkYEBHKH7S q7znQrwqVr/awmTl/zXbDqhfLqzY6sY2Dt38RxKSOWRZPH590w8FZRNG6 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10599"; a="314171055" X-IronPort-AV: E=Sophos;i="5.97,242,1669104000"; d="scan'208";a="314171055" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2023 03:04:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10599"; a="835924857" X-IronPort-AV: E=Sophos;i="5.97,242,1669104000"; d="scan'208";a="835924857" Received: from lkp-server01.sh.intel.com (HELO 5646d64e7320) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 24 Jan 2023 03:04:51 -0800 Received: from kbuild by 5646d64e7320 with local (Exim 4.96) (envelope-from ) id 1pKH6g-0006Mo-36; Tue, 24 Jan 2023 11:04:50 +0000 Date: Tue, 24 Jan 2023 19:04:48 +0800 From: kernel test robot To: Muhammad Usama Anjum , Peter Xu , David Hildenbrand , Andrew Morton , =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Andrei Vagin , Danylo Mocherniuk , Paul Gofman , Cyrill Gorcunov Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Alexander Viro , Shuah Khan , Christian Brauner , Yang Shi , Vlastimil Babka , "Liam R . Howlett" , Yun Zhou , Suren Baghdasaryan , Alex Sierra , Muhammad Usama Anjum , Matthew Wilcox , Pasha Tatashin , Mike Rapoport , Nadav Amit , Axel Rasmussen , "Gustavo A . R . Silva" , Dan Williams , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kselftest@vger.kernel.org, Greg KH Subject: Re: [PATCH v8 1/4] userfaultfd: Add UFFD WP Async support Message-ID: <202301241800.pdnow11d-lkp@intel.com> References: <20230124084323.1363825-2-usama.anjum@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230124084323.1363825-2-usama.anjum@collabora.com> X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 3015B14000E X-Rspam-User: X-Stat-Signature: dnnp4exr4np39ix9k1cr6e5wbxz9ead8 X-HE-Tag: 1674558300-527208 X-HE-Meta: U2FsdGVkX18ePy+70OgO8fFkLCfDGK1eGvPQjTjja/4F5kwkc2rg8lZHbE0qG8xi2rVxpquiwFgRP/WF5f8IQxvHxh/LT/mJlWehR6oAS4USH5RquuHOyg7SYB6gt9jiVD3MkaWNJ7coUUH7yGhwHFZAxyI2cy2L2wyrHi6RaNx3w64eoXebAc6T+8W3iMG7+HPaac7upDsfwCwqgbmbf4TZfRMkdGedIcbNMWe6GrY2YBUUaM4gqYTRW3lC/tLPDYUI47LRy9VpwQ8QwLPtVy1ANPhpbCrCCShy1ol3b7SCv3LODQsFQwzYjW5V9eIGpz64LcaDI36iTiZk1MEdSXJg7YuMGwMKM0kmYPof8VpioijWYTmxXMOapAyPg+9h7lXMbRoJeoJPAhRLIdnwuxP+Yh3boJSLTqqxaHmEgA9f2w9N5GO5A4dD//g7oSLjN0o2AXArULjY4WE74OtUDXsmrJbMOHSzrlDH2bCoLwHUEF6jdRzGkq4NHpJNa54ry6/DZzRHQMYTwclWsgInjK250DJWfolrdKLY8Pp00k4yVwk3qEb4oq0KCGl8HkXzyjKrndSQeXJlqUQlM9NrB6jpxjyaDZLJUPol8aJ7FtCpKKYd8iL370JKooahQ3z2nI1vCDgT9oyMpoiAcRScufAxEGA6xZgR6v5/k9+sDihT2HOUbxoPPYt5SczQ+AIzHedZOTV4I0jmqfXc8WrayDnkvP3uWUpzfL/vcX/sUIm7hcOjb8zZkE5N83f/5QtJs+NmbfFLDJmr9QG421H2w+J8mf0q4KKIniyh9BcW0UwPMXOeOUcQnnbWxLiNDsomNuLAxOp0jzzA7K8EMnCWtIZuR1FnaRlKhuXcX1N5sHF/9CqlEpZl02TjqCeT2jwzb0oT9s+dOXxxxGg6Ttlnky9afWzcI54uA3OlaxKu1xESnOR4PP/tP/pbJAjB7CCZDM0UywQkuUsLtKhRlSs otcfhIaT bsk/0tV4EOB6tW0B/VoKHdSW4pzAYXLb3DxTNB4yjE9aGTh/54PHa0tXgZM7BmBmOnrgBonRLPkxXFQNdm4WgnXgbBlZE4nLWfMgylg9TFmEQtb0/3Q1aPNtqQN5hHo7S0Bj0HuO5HVK1TamjdnQon5iJOS+jOGqJIuxS3aXtbRcUa9IBsewlgz5k+TtG6psfW+rEXd/UC3gjdX87vDPPujrSjKuI/wENKouKyX2O8nf97LDKIOYn/D8fjgbNVLNjF07mLNZ5ZckEr5dirNGZc7LPJMiUx9BJYlKKF/facyittOqj7eVdCh2PY8ZgFE2aKwNct09gxtbusl2/7si87UfU8rr5ZPcbf9RFd2j1h8+YPyZwXAlxZnoerJTfZLK/TjmKAFn5Tbtq0NiN46IJlg6fcLuOLgGrYKteti7SCxPhqihjJ1p0T5g6wc8LW6IIC/Jn 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 Muhammad, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on shuah-kselftest/next] [also build test WARNING on shuah-kselftest/fixes linus/master v6.2-rc5 next-20230124] [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/Muhammad-Usama-Anjum/userfaultfd-Add-UFFD-WP-Async-support/20230124-164601 base: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next patch link: https://lore.kernel.org/r/20230124084323.1363825-2-usama.anjum%40collabora.com patch subject: [PATCH v8 1/4] userfaultfd: Add UFFD WP Async support config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20230124/202301241800.pdnow11d-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/intel-lab-lkp/linux/commit/59e98aec663b7ca8fd5f3b3d2a0f17f777f425c4 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Muhammad-Usama-Anjum/userfaultfd-Add-UFFD-WP-Async-support/20230124-164601 git checkout 59e98aec663b7ca8fd5f3b3d2a0f17f777f425c4 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=um SUBARCH=i386 olddefconfig make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/mm_inline.h:9, from kernel/fork.c:46: >> include/linux/userfaultfd_k.h:278:5: warning: no previous prototype for 'userfaultfd_wp_async' [-Wmissing-prototypes] 278 | int userfaultfd_wp_async(struct vm_area_struct *vma) | ^~~~~~~~~~~~~~~~~~~~ kernel/fork.c:162:13: warning: no previous prototype for 'arch_release_task_struct' [-Wmissing-prototypes] 162 | void __weak arch_release_task_struct(struct task_struct *tsk) | ^~~~~~~~~~~~~~~~~~~~~~~~ kernel/fork.c:862:20: warning: no previous prototype for 'arch_task_cache_init' [-Wmissing-prototypes] 862 | void __init __weak arch_task_cache_init(void) { } | ^~~~~~~~~~~~~~~~~~~~ kernel/fork.c:957:12: warning: no previous prototype for 'arch_dup_task_struct' [-Wmissing-prototypes] 957 | int __weak arch_dup_task_struct(struct task_struct *dst, | ^~~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/hugetlb.h:14, from kernel/sysctl.c:46: >> include/linux/userfaultfd_k.h:278:5: warning: no previous prototype for 'userfaultfd_wp_async' [-Wmissing-prototypes] 278 | int userfaultfd_wp_async(struct vm_area_struct *vma) | ^~~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/mm_inline.h:9, from mm/memory.c:44: >> include/linux/userfaultfd_k.h:278:5: warning: no previous prototype for 'userfaultfd_wp_async' [-Wmissing-prototypes] 278 | int userfaultfd_wp_async(struct vm_area_struct *vma) | ^~~~~~~~~~~~~~~~~~~~ mm/memory.c: In function 'wp_huge_pmd': mm/memory.c:4824:33: error: implicit declaration of function 'set_pmd_at'; did you mean 'set_pte_at'? [-Werror=implicit-function-declaration] 4824 | set_pmd_at(vmf->vma->vm_mm, vmf->address, vmf->pmd, | ^~~~~~~~~~ | set_pte_at cc1: some warnings being treated as errors -- In file included from include/linux/hugetlb.h:14, from fs/proc/meminfo.c:6: >> include/linux/userfaultfd_k.h:278:5: warning: no previous prototype for 'userfaultfd_wp_async' [-Wmissing-prototypes] 278 | int userfaultfd_wp_async(struct vm_area_struct *vma) | ^~~~~~~~~~~~~~~~~~~~ fs/proc/meminfo.c:22:28: warning: no previous prototype for 'arch_report_meminfo' [-Wmissing-prototypes] 22 | void __attribute__((weak)) arch_report_meminfo(struct seq_file *m) | ^~~~~~~~~~~~~~~~~~~ vim +/userfaultfd_wp_async +278 include/linux/userfaultfd_k.h 277 > 278 int userfaultfd_wp_async(struct vm_area_struct *vma) 279 { 280 return false; 281 } 282 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests