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 03F4AC52D7C for ; Tue, 13 Aug 2024 06:38:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8DBCF6B0088; Tue, 13 Aug 2024 02:38:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 88B406B0092; Tue, 13 Aug 2024 02:38:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 752DD6B0095; Tue, 13 Aug 2024 02:38:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 56DDC6B0088 for ; Tue, 13 Aug 2024 02:38:19 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 002BEC0655 for ; Tue, 13 Aug 2024 06:38:18 +0000 (UTC) X-FDA: 82446267918.22.1089660 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) by imf01.hostedemail.com (Postfix) with ESMTP id 2A80B40012 for ; Tue, 13 Aug 2024 06:38:14 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="YwmUOoz/"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 198.175.65.18 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1723531084; a=rsa-sha256; cv=none; b=jX6OrP063JoPi7stL6CnOpFz6GoOyC531jkN7/BIdFt2obuYmf9yhwgp95INOTBx6miytU eyaiTete5948iAYnJC0xzEy05ZU/BhOeGqf99yof5gzBX1dhVduA5qeYwmNn+jQq/uwoIm YIfuoAkdGMc2gVLPvDU4U3RPoUpgdvQ= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="YwmUOoz/"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 198.175.65.18 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=1723531084; 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=Ok3jt6gk+kqCJnmqqlhpDIZ72sHUCC6fL60FPKi2P20=; b=ddtjsofyufx1FLlAXHXqfpU8f9QP+h6+M4528AFlbHi7ds5SA44q4zYJepbUNJeWDOr/yD VJV0a2L+GJh+1MEiN9WrY5Y9QsD2UhJzq2IKKylsnYsr4jVRQJVmgz2FdXdieaILQePd/z PiEXtVABTngnmwCgAMonwqCbSQKXgYI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1723531095; x=1755067095; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=bI3QCyj1ouSefMrJYxldIjc9xOGTvnZw7aaw26QGLm0=; b=YwmUOoz/x0VsHxPHTokjoPEs48vkQODfC0sgJhBxtMFyUZrboMuopd8I VQVlPX6aEiF8Ih4o2bNNalJaIU8KkGIf9M+ES3bTYjPHwWq/ntu+gjl+t oZMSH2TfK1OJqXZJBhrADJR8TUc2rR0kzBO8DF9jbI3AqfYa/6OzgpVvT UWxjR7W9kAesVq1uvewriDtsgrDys9akLQxzMqp2DWgmokJQgYKoe4W3w Q93YLnRk8ZjoFco2HtKnQh1ZLN56qUMUnfUXgWN43ei8Po7cSLV7AHqbi s7Tr+IoPbMt8G0wdrXZoqbOe2NcPXy9csLiNCDnOhSUWSZZvKhZdTNAr/ g==; X-CSE-ConnectionGUID: 4/o6gvYoR46fogCqXvt7vQ== X-CSE-MsgGUID: /t2Pu3rYR+Kha9Pi1UAVpA== X-IronPort-AV: E=McAfee;i="6700,10204,11162"; a="21816021" X-IronPort-AV: E=Sophos;i="6.09,285,1716274800"; d="scan'208";a="21816021" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2024 23:38:13 -0700 X-CSE-ConnectionGUID: 6UhcKNQEQkOFiAUabJw7PA== X-CSE-MsgGUID: Q6L2i1QFTLy43wvGSJeQpQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,285,1716274800"; d="scan'208";a="63252911" Received: from lkp-server01.sh.intel.com (HELO 9a732dc145d3) ([10.239.97.150]) by fmviesa004.fm.intel.com with ESMTP; 12 Aug 2024 23:38:11 -0700 Received: from kbuild by 9a732dc145d3 with local (Exim 4.96) (envelope-from ) id 1sdlAW-0000Es-2m; Tue, 13 Aug 2024 06:38:08 +0000 Date: Tue, 13 Aug 2024 14:37:52 +0800 From: kernel test robot To: Christoph Hellwig , Chandan Babu R , Matthew Wilcox Cc: oe-kbuild-all@lists.linux.dev, "Darrick J. Wong" , Andrew Morton , Linux Memory Management List , linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 2/3] xfs: convert perag lookup to xarray Message-ID: <202408131403.L5SrjEa7-lkp@intel.com> References: <20240812063143.3806677-3-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240812063143.3806677-3-hch@lst.de> X-Rspam-User: X-Rspamd-Queue-Id: 2A80B40012 X-Rspamd-Server: rspam01 X-Stat-Signature: kz7kkhsssiijsesxiyypdehsu864f466 X-HE-Tag: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4C+XioZoPL2ALiXnJfx1GsCckIRoeeeEhCZkLlqfP8yaD1C/oDv+CDGJ5uMaZU7RU+64gAPcc8SQUR6yJvJyg7rol/3/U8xpiLeF68uA3qkgQE2Ke4v+j4Gejy7IXnBs2e01g1hrMo5CgZTl6Q36A4WcOkFaGIM5Us8ad5z+O7Blfl8MRZoLy6LbU9Xnp8DZ8CKIj5ezOCrrYrM34Kwfl8lpZu90HH9oWxc0sOHJ3LyZcBI5B7mLrR7nZLQvgxlnrUlcDss0m6Xwem6+IHPJBZ/Aanjyf68ZLKG6G7y7wt+y+ggrgHgqJamna/5vM5CsAOoFVsKIwQ== 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: List-Subscribe: List-Unsubscribe: Hi Christoph, kernel test robot noticed the following build warnings: [auto build test WARNING on xfs-linux/for-next] [also build test WARNING on akpm-mm/mm-nonmm-unstable linus/master v6.11-rc3 next-20240813] [cannot apply to djwong-xfs/djwong-devel] [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/Christoph-Hellwig/xfs-convert-perag-lookup-to-xarray/20240812-183447 base: https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git for-next patch link: https://lore.kernel.org/r/20240812063143.3806677-3-hch%40lst.de patch subject: [PATCH 2/3] xfs: convert perag lookup to xarray config: x86_64-randconfig-122-20240813 (https://download.01.org/0day-ci/archive/20240813/202408131403.L5SrjEa7-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240813/202408131403.L5SrjEa7-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202408131403.L5SrjEa7-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> fs/xfs/xfs_icache.c:1776:9: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted xa_mark_t [usertype] @@ got unsigned int enum xfs_icwalk_goal goal @@ fs/xfs/xfs_icache.c:1776:9: sparse: expected restricted xa_mark_t [usertype] fs/xfs/xfs_icache.c:1776:9: sparse: got unsigned int enum xfs_icwalk_goal goal >> fs/xfs/xfs_icache.c:1776:9: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted xa_mark_t [usertype] @@ got unsigned int enum xfs_icwalk_goal goal @@ fs/xfs/xfs_icache.c:1776:9: sparse: expected restricted xa_mark_t [usertype] fs/xfs/xfs_icache.c:1776:9: sparse: got unsigned int enum xfs_icwalk_goal goal >> fs/xfs/xfs_icache.c:244:51: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected restricted xa_mark_t [usertype] @@ got unsigned int tag @@ fs/xfs/xfs_icache.c:244:51: sparse: expected restricted xa_mark_t [usertype] fs/xfs/xfs_icache.c:244:51: sparse: got unsigned int tag fs/xfs/xfs_icache.c:286:53: sparse: sparse: incorrect type in argument 3 (different base types) @@ expected restricted xa_mark_t [usertype] @@ got unsigned int tag @@ fs/xfs/xfs_icache.c:286:53: sparse: expected restricted xa_mark_t [usertype] fs/xfs/xfs_icache.c:286:53: sparse: got unsigned int tag >> fs/xfs/xfs_icache.c:1379:9: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted xa_mark_t [usertype] @@ got int @@ fs/xfs/xfs_icache.c:1379:9: sparse: expected restricted xa_mark_t [usertype] fs/xfs/xfs_icache.c:1379:9: sparse: got int >> fs/xfs/xfs_icache.c:1379:9: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted xa_mark_t [usertype] @@ got int @@ fs/xfs/xfs_icache.c:1379:9: sparse: expected restricted xa_mark_t [usertype] fs/xfs/xfs_icache.c:1379:9: sparse: got int fs/xfs/xfs_icache.c:1509:9: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted xa_mark_t [usertype] @@ got int @@ fs/xfs/xfs_icache.c:1509:9: sparse: expected restricted xa_mark_t [usertype] fs/xfs/xfs_icache.c:1509:9: sparse: got int fs/xfs/xfs_icache.c:1509:9: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted xa_mark_t [usertype] @@ got int @@ fs/xfs/xfs_icache.c:1509:9: sparse: expected restricted xa_mark_t [usertype] fs/xfs/xfs_icache.c:1509:9: sparse: got int fs/xfs/xfs_icache.c:1515:9: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted xa_mark_t [usertype] @@ got int @@ fs/xfs/xfs_icache.c:1515:9: sparse: expected restricted xa_mark_t [usertype] fs/xfs/xfs_icache.c:1515:9: sparse: got int fs/xfs/xfs_icache.c:1515:9: sparse: sparse: incorrect type in argument 4 (different base types) @@ expected restricted xa_mark_t [usertype] @@ got int @@ fs/xfs/xfs_icache.c:1515:9: sparse: expected restricted xa_mark_t [usertype] fs/xfs/xfs_icache.c:1515:9: sparse: got int fs/xfs/xfs_icache.c: note: in included file (through include/linux/rbtree.h, include/linux/mm_types.h, include/linux/mmzone.h, ...): include/linux/rcupdate.h:869:25: sparse: sparse: context imbalance in 'xfs_iget_recycle' - unexpected unlock fs/xfs/xfs_icache.c:580:28: sparse: sparse: context imbalance in 'xfs_iget_cache_hit' - different lock contexts for basic block vim +1776 fs/xfs/xfs_icache.c 1762 1763 /* Walk all incore inodes to achieve a given goal. */ 1764 static int 1765 xfs_icwalk( 1766 struct xfs_mount *mp, 1767 enum xfs_icwalk_goal goal, 1768 struct xfs_icwalk *icw) 1769 { 1770 struct xfs_perag *pag; 1771 int error = 0; 1772 int last_error = 0; 1773 unsigned long index = 0; 1774 1775 rcu_read_lock(); > 1776 xa_for_each_marked(&mp->m_perags, index, pag, goal) { 1777 if (!atomic_inc_not_zero(&pag->pag_active_ref)) 1778 continue; 1779 rcu_read_unlock(); 1780 1781 error = xfs_icwalk_ag(pag, goal, icw); 1782 xfs_perag_rele(pag); 1783 1784 rcu_read_lock(); 1785 if (error) { 1786 last_error = error; 1787 if (error == -EFSCORRUPTED) 1788 break; 1789 } 1790 } 1791 rcu_read_unlock(); 1792 1793 return last_error; 1794 BUILD_BUG_ON(XFS_ICWALK_PRIVATE_FLAGS & XFS_ICWALK_FLAGS_VALID); 1795 } 1796 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki