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 7E20CC7EE39 for ; Mon, 30 Jun 2025 10:38:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0BB656B00A3; Mon, 30 Jun 2025 06:38:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 06BDC6B00A5; Mon, 30 Jun 2025 06:38:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E9D866B00A6; Mon, 30 Jun 2025 06:38:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id D4CEB6B00A3 for ; Mon, 30 Jun 2025 06:38:45 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 90C3F1A0452 for ; Mon, 30 Jun 2025 10:38:45 +0000 (UTC) X-FDA: 83611718610.01.FE9CADB Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by imf20.hostedemail.com (Postfix) with ESMTP id F3EE81C000F for ; Mon, 30 Jun 2025 10:38:42 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=WUH8lBki; spf=pass (imf20.hostedemail.com: domain of lkp@intel.com designates 192.198.163.18 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=1751279923; 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=hzq6G8abeOIIfUcW1S8Q9q8KpJqzLlAmZCMIu702OeM=; b=SNDInWyvyVPsOqoT5r/NtP2nd4r67bLufxj7AFSavptO8ETlSCmRCMg1WUJeNdE6bwtNRq 8m/WuDYyBSMijXKEhvyRFda4KKbxa/eFyV5RtW3ymykD1ZXTR+y6Xuq+3KFANCPma828W8 rmxsuwU3Aaic8YZLyzjIiJSVTHUs1No= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1751279923; a=rsa-sha256; cv=none; b=xcykIx9x9IAxcXZDq8ye7JFfDj/1BlSer2wg/86fw+Yz9J77snOZozUnda//2qn6rbgRu+ MnZJkJPfhp1nu61t/dqfoSXvysV7CE/nxOcVTrOnosvf2LafruF/fMQI6Xr1ZSF38saVVX x1wHV1TexD4WS8S+w4zVQEFmILL2Mjc= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=WUH8lBki; spf=pass (imf20.hostedemail.com: domain of lkp@intel.com designates 192.198.163.18 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751279923; x=1782815923; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=90pyHrF0RViM4pGrdWWqWuM9lBGiL7Pw4669LBz+phU=; b=WUH8lBkiHI8SYfyhCa7dAi8mCWs0oDlkXN4DjshVAjNGwPqc1sWgn69O Bj08XpjxhmBkUxvMkf8nBa2IygXdGjvIqROgWRm4eBwt/e4a15+c8Kctd A9565sN5AuPSrOqDs7H+QKZ02oeIbQY5Trtv0vIJdZftAG2szl+UkL99D n+4DYqH3iDC5gNCJX4CVTjd2x7FdDnNimhfDQDKUh+boyMb+2Pxv+V4MU lzzgj+Yz+7LYzqQPXDPgBCs8+wiXXiU0aIFwnIXHow9TaWtRpBccag1DT 8ciUJ25WExyHqZTG/ZSI8ZSgquidiQzr0QFH1ljC6dWxgvZ5ffR/ScoMb A==; X-CSE-ConnectionGUID: 8Ms1VyK/TkyxAAQkbCfCAw== X-CSE-MsgGUID: +Fpql630SEec8rMSZ1DcNw== X-IronPort-AV: E=McAfee;i="6800,10657,11479"; a="52730959" X-IronPort-AV: E=Sophos;i="6.16,277,1744095600"; d="scan'208";a="52730959" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2025 03:38:42 -0700 X-CSE-ConnectionGUID: 3qJxtHz3R1Gvncn6V5PRqQ== X-CSE-MsgGUID: fzRuq/8OS+Krc8EYqHxOSA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,277,1744095600"; d="scan'208";a="157967326" Received: from lkp-server01.sh.intel.com (HELO e8142ee1dce2) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 30 Jun 2025 03:38:39 -0700 Received: from kbuild by e8142ee1dce2 with local (Exim 4.96) (envelope-from ) id 1uWBuG-000Yni-1V; Mon, 30 Jun 2025 10:38:36 +0000 Date: Mon, 30 Jun 2025 18:37:50 +0800 From: kernel test robot To: Dave Airlie , dri-devel@lists.freedesktop.org, linux-mm@kvack.org, Johannes Weiner , Christian Koenig Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Dave Chinner , Kairui Song , Dave Airlie Subject: Re: [PATCH 04/17] ttm/pool: port to list_lru. (v2) Message-ID: <202506301808.C73SwQJr-lkp@intel.com> References: <20250630045005.1337339-5-airlied@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250630045005.1337339-5-airlied@gmail.com> X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: F3EE81C000F X-Stat-Signature: 549huknut31d46ikp34xrtiq7buminab X-Rspam-User: X-HE-Tag: 1751279922-617287 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GxeXBboDn5QcNEZ1QYjubxx/vuAgXgmE476qR01ddZ7i1ixRUS547N49ZXV82i96h7meTXzovC5T21z7ZWsoVK3N0GOUYJ1EmKbhNJ1YlisQh+ZqMpFC9b9pQpn9uppk4veCveRD2XxZhbTIJVjYJxubiRpKxYGGEQtq3CQePm86+PTOsP5AyI/syI6oxcIWcabKtBjUba9WC9/WqUMdxPeqfj5BeOZdMsnF/l7qqm7ccMW+IUnVBfLwNwXmEpTR5CKWOtIClaRx5lyCqroPPXyNfzxnPvZJJQ/7/JZUciJa6qDf5ZCNtBwBY5KmZ5Ej0wh9GEhI2naTa0lEvbx08FF+lWShLnuU4XCAqAywo3h+8J6a4UPZMU92vwNKHfxcAj9Rf8kY/cBszYMYeKDBOgmLUBvDihec416eFd0C5FXdIvad5TdCMVcYaNLaM2+2Lo= 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 Dave, kernel test robot noticed the following build errors: [auto build test ERROR on drm/drm-next] [also build test ERROR on v6.16-rc4] [cannot apply to akpm-mm/mm-everything linus/master next-20250630] [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/Dave-Airlie/drm-ttm-use-gpu-mm-stats-to-track-gpu-memory-allocations-v2/20250630-134938 base: git://anongit.freedesktop.org/drm/drm drm-next patch link: https://lore.kernel.org/r/20250630045005.1337339-5-airlied%40gmail.com patch subject: [PATCH 04/17] ttm/pool: port to list_lru. (v2) config: i386-buildonly-randconfig-003-20250630 (https://download.01.org/0day-ci/archive/20250630/202506301808.C73SwQJr-lkp@intel.com/config) compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250630/202506301808.C73SwQJr-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/202506301808.C73SwQJr-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/i915/intel_region_ttm.c:5: In file included from include/drm/ttm/ttm_device.h:31: >> include/drm/ttm/ttm_pool.h:57:18: error: field has incomplete type 'struct list_lru' 57 | struct list_lru pages; | ^ include/linux/xarray.h:25:8: note: forward declaration of 'struct list_lru' 25 | struct list_lru; | ^ In file included from drivers/gpu/drm/i915/intel_region_ttm.c:8: In file included from drivers/gpu/drm/i915/i915_drv.h:35: In file included from include/linux/pci.h:1656: In file included from include/linux/dmapool.h:15: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/gpu/drm/i915/intel_region_ttm.c:8: In file included from drivers/gpu/drm/i915/i915_drv.h:35: In file included from include/linux/pci.h:1656: In file included from include/linux/dmapool.h:15: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/gpu/drm/i915/intel_region_ttm.c:8: In file included from drivers/gpu/drm/i915/i915_drv.h:35: In file included from include/linux/pci.h:1656: In file included from include/linux/dmapool.h:15: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/gpu/drm/i915/intel_region_ttm.c:8: In file included from drivers/gpu/drm/i915/i915_drv.h:35: In file included from include/linux/pci.h:1656: In file included from include/linux/dmapool.h:15: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/gpu/drm/i915/intel_region_ttm.c:8: In file included from drivers/gpu/drm/i915/i915_drv.h:35: In file included from include/linux/pci.h:1656: In file included from include/linux/dmapool.h:15: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 115 | (set1->sig[2] == set2->sig[2]) && | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/gpu/drm/i915/intel_region_ttm.c:8: In file included from drivers/gpu/drm/i915/i915_drv.h:35: In file included from include/linux/pci.h:1656: In file included from include/linux/dmapool.h:15: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:115:21: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 115 | (set1->sig[2] == set2->sig[2]) && | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/gpu/drm/i915/intel_region_ttm.c:8: In file included from drivers/gpu/drm/i915/i915_drv.h:35: In file included from include/linux/pci.h:1656: In file included from include/linux/dmapool.h:15: In file included from include/linux/scatterlist.h:8: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +57 include/drm/ttm/ttm_pool.h 40 41 /** 42 * struct ttm_pool_type - Pool for a certain memory type 43 * 44 * @pool: the pool we belong to, might be NULL for the global ones 45 * @order: the allocation order our pages have 46 * @caching: the caching type our pages have 47 * @shrinker_list: our place on the global shrinker list 48 * @pages: the lru_list of pages in the pool 49 */ 50 struct ttm_pool_type { 51 struct ttm_pool *pool; 52 unsigned int order; 53 enum ttm_caching caching; 54 55 struct list_head shrinker_list; 56 > 57 struct list_lru pages; 58 }; 59 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki