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 85CDDE6C5E3 for ; Tue, 3 Dec 2024 00:32:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 153AF6B0085; Mon, 2 Dec 2024 19:32:45 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 1048A6B0088; Mon, 2 Dec 2024 19:32:45 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EF0866B0089; Mon, 2 Dec 2024 19:32:44 -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 CE3EA6B0085 for ; Mon, 2 Dec 2024 19:32:44 -0500 (EST) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 48B99140419 for ; Tue, 3 Dec 2024 00:32:44 +0000 (UTC) X-FDA: 82851771324.20.D99F62C Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) by imf19.hostedemail.com (Postfix) with ESMTP id 44A0D1A0010 for ; Tue, 3 Dec 2024 00:32:28 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=hK2SMUM7; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 198.175.65.20 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=1733185956; 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=Hh01TqY72NW2dnrm+ZoqXIOkqfkv5c9pYEBHIL09X6A=; b=ql17hyVCC4RVlSPoXTimPN1KMNX08Q1rEaopNy61Et10YbVRSOgYEwpd+vzBSr8aGO+KuZ Ioj/PMprvDqDE7YMgRpmTNgvAdUNpoaBrxhMHpBFkAc7Ppo0kOUeSkrENlBCqYK9byx62o BzjhXWiU1kyErsMoRRFF27op0Th9RMc= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1733185956; a=rsa-sha256; cv=none; b=MaiQYFcqVMry0NKAy9gdxnnxOP/KJ81ALhz569WInG3YPlKQwez85f5vcIxKgPXRfhbCjj 6NhgkoOz9YfOQM0NSei8VaPLQn+PHoldSX7LSefn9JWjiMe5B82smzO1RivK55lck7nQ08 ISEidx0wC/YTw7vwD6Fp9AyOgtIHvf4= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=hK2SMUM7; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 198.175.65.20 as permitted sender) smtp.mailfrom=lkp@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1733185962; x=1764721962; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=tc4KuYkMaQjD8Yv6z+HG3OsdK2KxchFXkKiWS7msvBc=; b=hK2SMUM704/nHirZfwQrp93CbYlA0CEXmOenySTpaWvL72HeWM7zkJRb peAz3GjINIGUc4P1ck+YSJyTkKQciC4y8OYeFbnuVp6LINLhRqkL4JYWC Xc8o2w9VR9d5iIGAArF4ZxvRX5fkGe8fG+xBblUMokhizcX3rxDRj6Pqz SyrkLFb9G1SpWwQfyPJs1B7ixXbd1IqW1E5NHXAsEpaVrttSz6UbUpeoz RFMRGpntRtMHq0DrtBJlJaD5Zv4anTtZNVJVSQAluA4blTmlkYvBZC0hy +VI/08pUMZ7cGnJBHMMRM+6+C81/1ltzQsqasUv9j6sRAHUFDXMzbdQ6h Q==; X-CSE-ConnectionGUID: +Rsonq5LRgmxWruJ/qsf5A== X-CSE-MsgGUID: ToQzdu5KTAiRzd3u0quzDA== X-IronPort-AV: E=McAfee;i="6700,10204,11274"; a="33126953" X-IronPort-AV: E=Sophos;i="6.12,203,1728975600"; d="scan'208";a="33126953" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2024 16:32:41 -0800 X-CSE-ConnectionGUID: S6x7zoaRQWGs8momJ4WX9A== X-CSE-MsgGUID: ZzfdE6t9SR+rHau2C58lfw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,203,1728975600"; d="scan'208";a="93157503" Received: from lkp-server02.sh.intel.com (HELO 36a1563c48ff) ([10.239.97.151]) by orviesa010.jf.intel.com with ESMTP; 02 Dec 2024 16:32:39 -0800 Received: from kbuild by 36a1563c48ff with local (Exim 4.96) (envelope-from ) id 1tIGq1-00034n-1g; Tue, 03 Dec 2024 00:32:32 +0000 Date: Tue, 3 Dec 2024 08:31:34 +0800 From: kernel test robot To: Nathan Fontenot , alison.schofield@intel.com, dan.j.williams@intel.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-cxl@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] cxl: Update Soft Reserved resources upon region creation Message-ID: <202412030858.l8DbOnRQ-lkp@intel.com> References: <20241202155542.22111-1-nathan.fontenot@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241202155542.22111-1-nathan.fontenot@amd.com> X-Stat-Signature: 9nc5fyr3i66nxok76ps7o1ecaeszwtzr X-Rspamd-Queue-Id: 44A0D1A0010 X-Rspam-User: X-Rspamd-Server: rspam01 X-HE-Tag: 1733185948-804586 X-HE-Meta: U2Fsd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t/sGnzG5oqlS0I7hu9EFTVShtDM66uw6zkzZHNjghaYwBH5NakH4/oHZAzUm46yAHSl91cmJuLqyEEIy9wbsCSAGK7TVqIjkE0vGrhsMK6rD3iMq5j8NVWXQ3vw9mf855XfkIodZ8/fe0Bsmj8pczHIArQBxJE9tGnG9RkGz9ammep6QIM2BF8dHNb0+OwkFFGctcr3rQk7ecFZUCnCqdV59w9Qbz+DSCNDe3A3agDKi0QWh4Y1PyWkawAvemcYWlNYcEPOJzCcOv8PpH/uzrUivM4FREfeJ/KhZbZg== 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 Nathan, kernel test robot noticed the following build errors: [auto build test ERROR on cxl/next] [also build test ERROR on tip/x86/core] [cannot apply to linus/master cxl/pending v6.13-rc1 next-20241128] [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/Nathan-Fontenot/cxl-Update-Soft-Reserved-resources-upon-region-creation/20241202-235757 base: https://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl.git next patch link: https://lore.kernel.org/r/20241202155542.22111-1-nathan.fontenot%40amd.com patch subject: [PATCH] cxl: Update Soft Reserved resources upon region creation config: arm-randconfig-004-20241203 (https://download.01.org/0day-ci/archive/20241203/202412030858.l8DbOnRQ-lkp@intel.com/config) compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241203/202412030858.l8DbOnRQ-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/202412030858.l8DbOnRQ-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from kernel/resource.c:21: In file included from include/linux/pseudo_fs.h:4: In file included from include/linux/fs_context.h:14: In file included from include/linux/security.h:33: In file included from include/linux/mm.h:2213: include/linux/vmstat.h:518:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 518 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ >> kernel/resource.c:1183:36: warning: declaration of 'union acpi_subtable_headers' will not be visible outside of this function [-Wvisibility] 1183 | static int srmem_parse_cfmws(union acpi_subtable_headers *hdr, | ^ >> kernel/resource.c:1212:2: error: call to undeclared function 'acpi_table_parse_cedt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1212 | acpi_table_parse_cedt(ACPI_CEDT_TYPE_CFMWS, srmem_parse_cfmws, &arg); | ^ kernel/resource.c:1212:2: note: did you mean 'acpi_table_parse'? include/linux/acpi.h:914:19: note: 'acpi_table_parse' declared here 914 | static inline int acpi_table_parse(char *id, | ^ 2 warnings and 1 error generated. vim +/acpi_table_parse_cedt +1212 kernel/resource.c 1182 > 1183 static int srmem_parse_cfmws(union acpi_subtable_headers *hdr, 1184 void *arg, const unsigned long unused) 1185 { 1186 struct acpi_cedt_cfmws *cfmws; 1187 struct srmem_arg *args = arg; 1188 struct resource cfmws_res; 1189 struct resource *res; 1190 1191 res = args->res; 1192 1193 cfmws = (struct acpi_cedt_cfmws *)hdr; 1194 cfmws_res = DEFINE_RES_MEM(cfmws->base_hpa, 1195 cfmws->base_hpa + cfmws->window_size); 1196 1197 if (resource_overlaps(&cfmws_res, res)) { 1198 args->overlaps += 1; 1199 return 1; 1200 } 1201 1202 return 0; 1203 } 1204 1205 static bool resource_overlaps_cfmws(struct resource *res) 1206 { 1207 struct srmem_arg arg = { 1208 .res = res, 1209 .overlaps = 0 1210 }; 1211 > 1212 acpi_table_parse_cedt(ACPI_CEDT_TYPE_CFMWS, srmem_parse_cfmws, &arg); 1213 1214 if (arg.overlaps) 1215 return true; 1216 1217 return false; 1218 } 1219 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki