Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1084366rdb; Fri, 9 Feb 2024 09:44:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVPSQD+YrU/KTCkTGGvjF8mqCGPUFe5aFGiR/pLWBeeFL4WYUqqu4NuWqhsaXmf75C+Kp/LbIw8+GVcHG+R41vgiLRYW2duKDCKOql6Gw== X-Google-Smtp-Source: AGHT+IHipuSlq8KcIvOwb1GKi3Cv5Cb0ZdOZkBjzhuMeODtL50BD/1woBAo0sEQWD9AC007GnrMf X-Received: by 2002:a17:90b:4acf:b0:296:841e:7020 with SMTP id mh15-20020a17090b4acf00b00296841e7020mr2111740pjb.2.1707500657009; Fri, 09 Feb 2024 09:44:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707500656; cv=pass; d=google.com; s=arc-20160816; b=qYh6R7mwlWq7dgRaylIjY7H6oC0TtECRE1hGj357O8CvqrB00irRC2WQmy+V87cn7H sa7nUis2Li6OWtj0kqvoE2/YVpFDFIhyzFDqTQ9z6lQpYtrNc0SwSpoIhlmt0UlNofXd Gk52fbgv3ZD2Ofp7NUjDIWfYudj+Cxr+XJeB7aq4QCdEH7kxdFOpuvRFfneDHj8I7kMJ HZ5S1kMhr+U+Aa87SBcmpoBBxe1DvVeV+2I8WSvrOBabXZ9K+/rM93Rb5toVivy77+Lw MRIM7f8tHD23QZ+f2FGcl3COEbGorLjUvC1UU7Sw1gV6vC06WSmQnBBZWSpJYMq3eaXO 7xZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+QkmuWHiWg+r5r5Lf8qvj62nnbc+VcigVzGeGmGnhjE=; fh=mfVQyFyfNNhY5Dg51fmpdNqbYu84i2Bdxv0OtkRgoSs=; b=xj8JWZc+pZnAxNvvfBDmWT9FAhgAavJuotHlBrvS2Y6AKiYU1Pqy4VPnkO0WGxCAQU kfGMsqDOJqwKbKGcPux8Z2hcSYnu43OxHvFnj9vDPW1JSTg8gEg0LGo+1j899Djci5WT VqIkrzQncDV4Fswi2RS55ADm8HfCYTDm/yOxNGWW2xdSbmqse3UdP0PjNOVl6F01NAUb WtP0Q0Xv27kSDxFxC+zapB9X4+qrJNI1jD9f4wEWnxzMDKV3KG3kAVukrmDID60v/onE 3Wu9UIVavRAdVf57xqUIHnqrEzcZLkL33ZVxF/KyYE9G6AHrF7KLAOrc82pLKGYs/9Zt SFXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GJkp8FcH; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-59746-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59746-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCWgO4tZLAlJfMn9zdRs5d/dEaHHXPitWe6i8BWlYB/BC9Nup4xgOsiNBashFsCM8HzusrkgmTwqLARxHZiAlGg35DzZkDkp/v7AJIGeCQ== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9-20020a17090b004900b00295cd8cf1fasi1998212pjt.178.2024.02.09.09.44.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 09:44:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59746-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GJkp8FcH; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-59746-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59746-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 25F5E2879DF for ; Fri, 9 Feb 2024 17:40:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB87D7EEFC; Fri, 9 Feb 2024 17:40:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="GJkp8FcH" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F9FF7D3ED for ; Fri, 9 Feb 2024 17:40:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707500442; cv=none; b=cl5QGVLq50NSZc5/hqegSaYSNwqJxpnW55L6vC8zB0ktu9677dFnUh+88mtQNe8qNQNclplD0SgHZLemzbQixuWonFHPDAAbqpwT6qWqf/oMw5wx+taOXa++vcic9uasZWVxdC3n5zxBhTYZqgv9vmva0gXMe5DwNgciav4RMsA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707500442; c=relaxed/simple; bh=o8b3GPwcypa+9hVIVmQX9pFn46G5rI+gSuxMV22E/pc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=l0gUWLsRDznaGDW0OOrW0gjT8GjTysb1kSQCCfa0G7i3yiqjRSV48VFm+DKAMe4ABL5MW1lDpmoqJ9dCnCEWX3sro47nGD2g8wVRPLxElgUXHIV80qNsFijQvmHPnjqQcXgi8vY7oU80qNiHzzwSU+EJRYSgxxy+rtIEloSLBRk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=GJkp8FcH; arc=none smtp.client-ip=198.175.65.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707500439; x=1739036439; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=o8b3GPwcypa+9hVIVmQX9pFn46G5rI+gSuxMV22E/pc=; b=GJkp8FcHJWFY85pXYRegIs7PlSB+ls/1bbuucLM3yavdrKsFBO2+6k/A EM3Syfy52gKWgCay9jiBDpi79gUfSCeQQfWGFexGrqf9khmdLIb1/aNf+ RkM/C+QXyFyRbCP93UdO1OJ10ouMjuldBDdCFsnq57Liixhj8NtPWtDhG wtsIZFjrORTOk5NuDEo6PPjwdOZiNAffpw75wFQCk1WIeUKvPd0S3pR6O hs8I04Hh3xEBttcRi2aceP2YiGvI+bJ0NNT31CfUFavoTdQEK0a3cQBE3 JHhTRMWWCXJdWOs656c9Ag03B7V/02sb+019+qwb8+1mFQkm6Tv/0TRKH w==; X-IronPort-AV: E=McAfee;i="6600,9927,10979"; a="23948243" X-IronPort-AV: E=Sophos;i="6.05,257,1701158400"; d="scan'208";a="23948243" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2024 09:40:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,257,1701158400"; d="scan'208";a="6637123" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 09 Feb 2024 09:40:36 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1rYUrZ-0004z0-1p; Fri, 09 Feb 2024 17:40:33 +0000 Date: Sat, 10 Feb 2024 01:39:54 +0800 From: kernel test robot To: Oscar Salvador , Andrew Morton Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , linux-kernel@vger.kernel.org, Michal Hocko , Vlastimil Babka , Marco Elver , Andrey Konovalov , Alexander Potapenko , Oscar Salvador Subject: Re: [PATCH v7 1/4] lib/stackdepot: Move stack_record struct definition into the header Message-ID: <202402100110.8JfjkMjh-lkp@intel.com> References: <20240208234539.19113-2-osalvador@suse.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240208234539.19113-2-osalvador@suse.de> Hi Oscar, 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.8-rc3] [cannot apply to akpm-mm/mm-everything next-20240209] [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/Oscar-Salvador/lib-stackdepot-Move-stack_record-struct-definition-into-the-header/20240209-074611 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable patch link: https://lore.kernel.org/r/20240208234539.19113-2-osalvador%40suse.de patch subject: [PATCH v7 1/4] lib/stackdepot: Move stack_record struct definition into the header config: openrisc-defconfig (https://download.01.org/0day-ci/archive/20240210/202402100110.8JfjkMjh-lkp@intel.com/config) compiler: or1k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240210/202402100110.8JfjkMjh-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/202402100110.8JfjkMjh-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from include/linux/page_ext.h:7, from include/linux/mm.h:22, from include/linux/pid_namespace.h:7, from include/linux/ptrace.h:10, from arch/openrisc/kernel/asm-offsets.c:28: >> include/linux/stackdepot.h:59:39: error: 'CONFIG_STACKDEPOT_MAX_FRAMES' undeclared here (not in a function) 59 | unsigned long entries[CONFIG_STACKDEPOT_MAX_FRAMES]; /* Frames */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [scripts/Makefile.build:116: arch/openrisc/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1191: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:240: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/CONFIG_STACKDEPOT_MAX_FRAMES +59 include/linux/stackdepot.h 51 52 struct stack_record { 53 struct list_head hash_list; /* Links in the hash table */ 54 u32 hash; /* Hash in hash table */ 55 u32 size; /* Number of stored frames */ 56 union handle_parts handle; /* Constant after initialization */ 57 refcount_t count; 58 union { > 59 unsigned long entries[CONFIG_STACKDEPOT_MAX_FRAMES]; /* Frames */ 60 struct { 61 /* 62 * An important invariant of the implementation is to 63 * only place a stack record onto the freelist iff its 64 * refcount is zero. Because stack records with a zero 65 * refcount are never considered as valid, it is safe to 66 * union @entries and freelist management state below. 67 * Conversely, as soon as an entry is off the freelist 68 * and its refcount becomes non-zero, the below must not 69 * be accessed until being placed back on the freelist. 70 */ 71 struct list_head free_list; /* Links in the freelist */ 72 unsigned long rcu_state; /* RCU cookie */ 73 }; 74 }; 75 }; 76 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki