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 876D0C8303D for ; Sat, 5 Jul 2025 06:01:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A861B6B03F7; Sat, 5 Jul 2025 02:01:35 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A5E7B6B03F8; Sat, 5 Jul 2025 02:01:35 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 973B16B03F9; Sat, 5 Jul 2025 02:01:35 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 827A16B03F7 for ; Sat, 5 Jul 2025 02:01:35 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id DC638C01F9 for ; Sat, 5 Jul 2025 06:01:34 +0000 (UTC) X-FDA: 83629164108.13.39201B3 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) by imf19.hostedemail.com (Postfix) with ESMTP id 329981A0013 for ; Sat, 5 Jul 2025 06:01:31 +0000 (UTC) Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=UKNk+a7u; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 198.175.65.13 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=1751695293; 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=MMXDkumnQTxL6VvlUFTqGHzpcEnYJSMTBtSvDWMMAn0=; b=kBEcXhr94MNbTsDhdvFtPlnAEMoSBQ3UqIwre1RiA0l0Ld/F9U+1pEbHpdeKz9Sa9vs9yy BX/4pXruDI4NbehglCBKPE1FBM+xhj8FjKE3/TvnirAIwi3+9OhGI3ruuujAkhCxwTufki af1j8uCctOsser4MNdvwIXeR0WkybSA= ARC-Authentication-Results: i=1; imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=UKNk+a7u; spf=pass (imf19.hostedemail.com: domain of lkp@intel.com designates 198.175.65.13 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=1751695293; a=rsa-sha256; cv=none; b=mCEmlANLSc6yzq2DJ7ucJxjGrrRNP37ZUc7kIsUujhKsoDe2d1d6jpFAs6NtnNkFphrEWz XHdr369Ea14At+xR4yEdA3puxkgY/R6e8luPGjBmppz4VAUEwD2T5OYlurCola43mNG+1g aXEucLV30VJ4A3AUdcRhcLakE8CadWA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751695292; x=1783231292; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Jwk7LrOiEZVMgoQ8L3FzYRWdRU10TKG82/z45Yk2RnA=; b=UKNk+a7u5hJO7TlAl6VW//2MtiLEfF3CmGyzOe/OufVowEvyj/vdaktQ JEsreiF3+KrA1QrurcWotEXU4ECD9e+LoQ1wz5sb4wmzIh7duQZSmxC/c NJDQvLbxYiRIS7DelIEdaRdCK3uoQq2ld4jeGo3NLdN/oNRAUltiLlgEg +mFCHCht/4IQixdrlLzWY5hnaCdRoWdKHgLQLZk9sSCm7VlRFD6tiPTS0 rYcv2vo5hbzUsdLwXsAUe+gd/pgdUKLAPSwmIjtYe3vHqzbSHSIGjZyuQ Bph3PmPw5TRy4fXuITj+n5iOgYBALx8Jc1bw1vZkN6IhfllasUdVsTNtL A==; X-CSE-ConnectionGUID: SVEkr3maQISJdUVM0yBvTA== X-CSE-MsgGUID: 0pS0tr+FTCaGNkfjJtdYrg== X-IronPort-AV: E=McAfee;i="6800,10657,11484"; a="65061957" X-IronPort-AV: E=Sophos;i="6.16,289,1744095600"; d="scan'208";a="65061957" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jul 2025 23:01:30 -0700 X-CSE-ConnectionGUID: r9LQNFAwSv2J+KZ6Sb8NPQ== X-CSE-MsgGUID: DL362qTISWOqwA+hdZZQ2w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,289,1744095600"; d="scan'208";a="160445501" Received: from lkp-server01.sh.intel.com (HELO 0b2900756c14) ([10.239.97.150]) by orviesa005.jf.intel.com with ESMTP; 04 Jul 2025 23:01:26 -0700 Received: from kbuild by 0b2900756c14 with local (Exim 4.96) (envelope-from ) id 1uXvxj-0004KT-0E; Sat, 05 Jul 2025 06:01:23 +0000 Date: Sat, 5 Jul 2025 14:00:35 +0800 From: kernel test robot To: Matt Fleming , Andrew Morton Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-kernel@vger.kernel.org, kernel-team@cloudflare.com, Marco Elver , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Oscar Salvador , Vlastimil Babka , Matt Fleming Subject: Re: [PATCH v2] stackdepot: Make max number of pools build-time configurable Message-ID: <202507051300.E0JSHxu1-lkp@intel.com> References: <20250704120604.2688934-1-matt@readmodwrite.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250704120604.2688934-1-matt@readmodwrite.com> X-Stat-Signature: bndkuiasugpr7s4hfyhct8imjjhkwdou X-Rspamd-Queue-Id: 329981A0013 X-Rspamd-Server: rspam11 X-Rspam-User: X-HE-Tag: 1751695291-853691 X-HE-Meta: U2FsdGVkX1+d3w5qzhqpUY/xWdK5LmjdgNHT4HGb/1SI/ueXvTUGDYbFh8Xjn2qFBhcbFMev34G2B7tvChDSD4hWiCn9GC82sLJxTb4CZ7y3w3m/kjmr+73bgERzO9lfqOGU8gakX4W10U2VCqvaor8rcOPQ87u3RAjoi16WEpmi2+re4gVEzbw5/FFuc/ciUtQVkdIKj1WCIhGdNOhxanMPOdidVhXtjcPa/IbGHHfoHAqCas3aX5FCluCCFd/0Jr4krFEzHT2MTWwgvrXTexhbv4CDP1TRsAUEtcgH+9OxjyNZt4doOYaHhKUbY5pdcZR90xR9DfSyM/6FKLy4/3EwEP6kVqEnu3n/DBTPpCRNnbqQIIaOENk+78+vxiedV30HkXEMMYruNuf+7nJeLTKBd6/EzmHUAVJyaEbqrQb33Vyus9zN4HaCB0DhMUA7q7UMkzBy0PTfxqF7ispkdODNRkQJp9tHz8PF0QhTZ1UqHr2gDFkgb5Y1oqLWYSvCUhQC4EmBt6JWp/sLGeMCqEQIQwZh9RRRN4vGqqtk+EcdbAQALixvEZFsKOEQDpa0b59W+naw+ziPTyedhRVfoKhHvEVn6pAif9GmGk/GasggLiHMOwxSWwNdLtAo8XBbVyC7SN2DnkWN8DJ8UQ+LtEtlmNPCvilW0Fsm6w0XZ9YdNkiPJWrhP+X2LxTDSObpGDiQBVqTG+I/SH7G43kq/oZPN/SoLi9U1QeQWXt5y23T3ZTiHmtulA2WBfUu1F4LsdnGXKGX0oAMqAqMGpwfCYkkISTya+HbSxWUkUEYF2HfLWFJpIegkCAWlaysS79+w3YeQvwjOE2FY2+RzE8KaUA8aE32YpEU6D589T+QMi5yEPGxfTS5spZ890TxDy9x5ZDmCzOqugJAOJnd19f/v3Ad2x8S90oM 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 Matt, kernel test robot noticed the following build errors: [auto build test ERROR on akpm-mm/mm-nonmm-unstable] [also build test ERROR on linus/master v6.16-rc4 next-20250704] [cannot apply to akpm-mm/mm-everything] [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/Matt-Fleming/stackdepot-Make-max-number-of-pools-build-time-configurable/20250704-200804 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable patch link: https://lore.kernel.org/r/20250704120604.2688934-1-matt%40readmodwrite.com patch subject: [PATCH v2] stackdepot: Make max number of pools build-time configurable config: arm64-randconfig-001-20250705 (https://download.01.org/0day-ci/archive/20250705/202507051300.E0JSHxu1-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 10.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250705/202507051300.E0JSHxu1-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/202507051300.E0JSHxu1-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/init.h:5, from include/linux/printk.h:6, from include/asm-generic/bug.h:22, from arch/arm64/include/asm/bug.h:26, from include/linux/bug.h:5, from include/linux/vfsdebug.h:5, from include/linux/fs.h:5, from include/linux/debugfs.h:15, from lib/stackdepot.c:17: >> include/linux/build_bug.h:78:41: error: static assertion failed: "DEPOT_MAX_POOLS <= (1LL << (DEPOT_POOL_INDEX_BITS)) - 1" 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~~~~~~~~~~~ include/linux/build_bug.h:77:34: note: in expansion of macro '__static_assert' 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) | ^~~~~~~~~~~~~~~ lib/stackdepot.c:42:1: note: in expansion of macro 'static_assert' 42 | static_assert(DEPOT_MAX_POOLS <= (1LL << (DEPOT_POOL_INDEX_BITS)) - 1); | ^~~~~~~~~~~~~ vim +78 include/linux/build_bug.h bc6245e5efd70c Ian Abbott 2017-07-10 60 6bab69c65013be Rasmus Villemoes 2019-03-07 61 /** 6bab69c65013be Rasmus Villemoes 2019-03-07 62 * static_assert - check integer constant expression at build time 6bab69c65013be Rasmus Villemoes 2019-03-07 63 * 6bab69c65013be Rasmus Villemoes 2019-03-07 64 * static_assert() is a wrapper for the C11 _Static_assert, with a 6bab69c65013be Rasmus Villemoes 2019-03-07 65 * little macro magic to make the message optional (defaulting to the 6bab69c65013be Rasmus Villemoes 2019-03-07 66 * stringification of the tested expression). 6bab69c65013be Rasmus Villemoes 2019-03-07 67 * 6bab69c65013be Rasmus Villemoes 2019-03-07 68 * Contrary to BUILD_BUG_ON(), static_assert() can be used at global 6bab69c65013be Rasmus Villemoes 2019-03-07 69 * scope, but requires the expression to be an integer constant 6bab69c65013be Rasmus Villemoes 2019-03-07 70 * expression (i.e., it is not enough that __builtin_constant_p() is 6bab69c65013be Rasmus Villemoes 2019-03-07 71 * true for expr). 6bab69c65013be Rasmus Villemoes 2019-03-07 72 * 6bab69c65013be Rasmus Villemoes 2019-03-07 73 * Also note that BUILD_BUG_ON() fails the build if the condition is 6bab69c65013be Rasmus Villemoes 2019-03-07 74 * true, while static_assert() fails the build if the expression is 6bab69c65013be Rasmus Villemoes 2019-03-07 75 * false. 6bab69c65013be Rasmus Villemoes 2019-03-07 76 */ 6bab69c65013be Rasmus Villemoes 2019-03-07 77 #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) 6bab69c65013be Rasmus Villemoes 2019-03-07 @78 #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) 6bab69c65013be Rasmus Villemoes 2019-03-07 79 07a368b3f55a79 Maxim Levitsky 2022-10-25 80 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki