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 77876C636D3 for ; Tue, 31 Jan 2023 15:53:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 14D676B0071; Tue, 31 Jan 2023 10:53:12 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 0FCB26B0072; Tue, 31 Jan 2023 10:53:12 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EDF556B0074; Tue, 31 Jan 2023 10:53:11 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id DB3A46B0071 for ; Tue, 31 Jan 2023 10:53:11 -0500 (EST) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 98D7716081D for ; Tue, 31 Jan 2023 15:53:11 +0000 (UTC) X-FDA: 80415538182.26.B78BC78 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf13.hostedemail.com (Postfix) with ESMTP id AA7722001F for ; Tue, 31 Jan 2023 15:53:07 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=PbeK5Uh5; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1675180388; 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=WOE9jZ5bDX95m+qeIzFNtRny9kDb84X0CBkCWOkRLCk=; b=ZNkFPsSQ4cRuH1KReu2Ya0w/VoDQ8yXW0qfkq2bUnt5Hr3uYjz1cC8Hz20urFxGUdaKwIr rRkMTxVpIm75F1r91tvJktg9ztasrNK7mfFU2PoKqB9LCqftIg/UWBi/4AKICKbKX4QbVh 3Zkq9wxZhRItuH48W2/oi6AdC27uZeY= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=PbeK5Uh5; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf13.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1675180388; a=rsa-sha256; cv=none; b=BmQmKRYZVpBY2DeRHYdmhXR0jsr2dsCwGhnQKxEQQmowfM+v3ZDjNXm3payZhxe7IJAWIJ i+odKaPQePRs6zfTMM6u60Arh34zpLMfTx/yTkAne+KgknEeS3x+opNt4bxhQkvjZE8TVp aMFkq/TsqVpQX1eKLiw+CeBOCxPrypk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675180387; x=1706716387; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Ul30YowJ/hdgvarujvqemzj4xp48ISoRMAjzYZ6+Ks4=; b=PbeK5Uh5J9OfWvNTTbtyhFlDhZIJukhriIiAx5Vfpo9ogWB1yqI0XVzL l6BcruQEzm/fJwrk6EohHcNHHgvdyKYvlfwRvdlYMMd70khDBpVwKW8KF 0gtSaiBEWxDfFAm7PWH6TipTLK7m3MCWd+PUHIf60TBrPbVyr72VdtTYg wB+Oghg9nXY38ayRDaPltyMLB69P9WRdzuP9rOMwlC9yD50ESqexu6aKQ MSW9cZQGiMqLsZZrYHhiufBLTFrLawB9pOipi+t1F5Pxcyf0u+6nGuXOi g2DW7GZwtXv3W9svSeICn/k0+TdGzwgIZhLdoiqq2eSGDoB77sljj5F2l Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10606"; a="329983909" X-IronPort-AV: E=Sophos;i="5.97,261,1669104000"; d="scan'208";a="329983909" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2023 07:53:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10606"; a="909953990" X-IronPort-AV: E=Sophos;i="5.97,261,1669104000"; d="scan'208";a="909953990" Received: from lkp-server01.sh.intel.com (HELO ffa7f14d1d0f) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 31 Jan 2023 07:52:59 -0800 Received: from kbuild by ffa7f14d1d0f with local (Exim 4.96) (envelope-from ) id 1pMswM-0004WY-1B; Tue, 31 Jan 2023 15:52:58 +0000 Date: Tue, 31 Jan 2023 23:52:26 +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 v9 2/3] fs/proc/task_mmu: Implement IOCTL to get and/or the clear info about PTEs Message-ID: <202301312359.8WtBkSkQ-lkp@intel.com> References: <20230131083257.3302830-3-usama.anjum@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230131083257.3302830-3-usama.anjum@collabora.com> X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: AA7722001F X-Stat-Signature: bpf8zjcgmqt9hs4o9bz6i4haji8dp9q4 X-HE-Tag: 1675180387-580634 X-HE-Meta: U2FsdGVkX19dlrFqg97o4qpYKtU8rwyctl6+GzjkVcAK+mS5Rf2NUot5WMlMMxMeE4QDJ9AtKZfmLzh67W4xdTUxJ4Ppzn5OcnKMz05NgoXH58cZ6SBb5/4/O4jLMTlj56yw6tcXghuNSKsHGP2QxJMEymn1Fnw+ylQBW16qhusjohobVcj64OYk5Sy5lhM5jd8y4YPpxXxVtld3tNNWk0YvJa1ZHmkHLcBv6sSie25P+Wp80rCongtsWczcI0TG0X/33CWdrmoMnra52fJUfrQaedh4OOmrL84NrZ9/K0o3Ccqv8mfNUPpDCgTn0pv91RaZffnOsh4h9SC5vtlyow+F4+XH11SvHZWHxvDX8Dp7UcqYA+DEDZTI7YzstZklBVWgtRM+qfZ1Qmct99AQ8MKyppD2sOQa5EkonwxPshfP8PruaeKJYmY3Z+UTDpNkuUZclmx/weS/ft79lywuB0Sj8y9k2ueccjLgj6f6xpyqivgEu3U8i5jtcvkelXk79X0d6IWpjjpb7WdKqF9nZsSzQf3pIQPtz8tr4z/uY5tQaAABDNqjSJyRiln+6hQaQ+mKJqhHlE11Q+Dihq9WU8RyieWpk/3lB88GERKQIydEQMfFRcY7qMfvIgC1vWepL0lfM+vGe88RXRo5hDqy8++mozQqwKfGPBjgzdGcYpihJTXp4CSigzLEM+BrFR4F3NcSq5NDy7jQEuvtQ28aBPx1kYfQEKjmuiX3JYti28tXoxYKlDSZsO8g9jvwFlD0+CCDiqRAnM98F3Kj6Pb18isLCHrdbImwTBsKiIaFIjiPxOmO6Yzy+w7MHm8q9vGAJ0Aust3P3xXbogwy+mtHXprHktYhsOv07UnNNeEFflJG2Xv4u1RPj5b36cn48QH3hKnH4jvO/dPRXovy6mckSC9ldYoU7dv6630yCo/IZN+Hzcmn62zMfMhtGbiRuzZ5OUuLCE/gUHhaZAqWRVe PQJEOLui zYqPOtC6UzfbyNaDS4DQOz8sy+S7z92zKeo3VDbrt1NwOPeGF7/MbMxeF4lX6E/U6uZs97zb8MKtxtUZDpOZtqIJ2MB5mu3WXxWDdhjvmfA5IZ4OFkA7h/jBO7SlEo6NZ219keYR53ZHTzSlIVDKbOVqve1CKWe9rJSfbJ168xw47rDSZRFatwz4JWj5rWMKQR6MR+dlKQXsptlx/HygdJ7v0C7LE/F10kgUIPQBaogqV81GsDEFszL5EZaCtlCa6uvH4TOBOtHi7I+sb460W/YeGcOhZoH+lxCVUrdpNU6oxtWVVLR63pNf0zK86gMU9LsyFnbZs7wjD4IzOyYKqiixFLUWxsBZFpxcn4+Dg61E+mxm381NDc8yqK2Vn7e0u+2Dj56DmQBREpxc6rvKF+bZf6gJSAYyhINAFR0TadYLL9iTEUw1fuV9SBWZ97n1YM552fhlE7eoDpwfoRPCnFrgwM3D9nPIl6/e/dWg5gFbn1XPwoEWRPdeoki61YFvpXbc2tBlKlxWyuOc= 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! Yet something to improve: [auto build test ERROR on shuah-kselftest/fixes] [also build test ERROR on linus/master v6.2-rc6 next-20230131] [cannot apply to shuah-kselftest/next] [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/20230131-163537 base: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git fixes patch link: https://lore.kernel.org/r/20230131083257.3302830-3-usama.anjum%40collabora.com patch subject: [PATCH v9 2/3] fs/proc/task_mmu: Implement IOCTL to get and/or the clear info about PTEs config: arc-defconfig (https://download.01.org/0day-ci/archive/20230131/202301312359.8WtBkSkQ-lkp@intel.com/config) compiler: arc-elf-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/11677b6b7fda958031115ea40aa219fc32c7dea4 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/20230131-163537 git checkout 11677b6b7fda958031115ea40aa219fc32c7dea4 # 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=arc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc 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 >>): fs/proc/task_mmu.c: In function 'pagemap_scan_pmd_entry': >> fs/proc/task_mmu.c:1927:17: error: implicit declaration of function 'uffd_wp_range' [-Werror=implicit-function-declaration] 1927 | uffd_wp_range(walk->mm, vma, start, addr - start, true); | ^~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/uffd_wp_range +1927 fs/proc/task_mmu.c 1915 1916 pte = pte_offset_map_lock(vma->vm_mm, pmd, start, &ptl); 1917 if (IS_GET_OP(p)) { 1918 for (addr = start; addr < end; pte++, addr += PAGE_SIZE) { 1919 ret = pagemap_scan_output(!is_pte_uffd_wp(*pte), vma->vm_file, 1920 pte_present(*pte), is_swap_pte(*pte), p, addr, 1); 1921 if (ret) 1922 break; 1923 } 1924 } 1925 pte_unmap_unlock(pte - 1, ptl); 1926 if ((!ret || ret == -ENOSPC) && IS_WP_ENGAGE_OP(p) && (addr - start)) > 1927 uffd_wp_range(walk->mm, vma, start, addr - start, true); 1928 1929 cond_resched(); 1930 return ret; 1931 } 1932 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests