Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1404157lqm; Thu, 2 May 2024 13:50:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7CCaoWfAlBPZOUND6qgN1cLpSEPBq7sKTuTkfW3pZSHy5xiwDhcSc8c0tRYb1qA9yucso3Ku69lMTYOfbs+inrbSrRSWp5W27RWaMNg== X-Google-Smtp-Source: AGHT+IG5LDkOkXsiKxov1gFa8JJ8BnqR4e8oNGsk05FXzEmDeMgia0VjwxHl0cbkp45Ya+FI3DrB X-Received: by 2002:ac2:599a:0:b0:51e:11d5:bcaa with SMTP id w26-20020ac2599a000000b0051e11d5bcaamr583059lfn.39.1714683012609; Thu, 02 May 2024 13:50:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714683012; cv=pass; d=google.com; s=arc-20160816; b=yv9yhKOPUMjjROm9uEtw3WqIJnSPhuPcupT3G2kka7a3ffq+58zC/LxdsfnYtqJCFN ATUj1JUPkzR1io7MTKhs9bxZfLSExgm7556W9frkK0yIZ6nPX/SaqmYrzUZV1+wY3xAA kVME7fSNsrQG410mNBX4pTWI+U+o6C8k+7zD51HFiBltNDaCys0F+HgH9pfBw7p3OSN9 pQiw7InQcqalgeE+ZPk9CdSsA+Q6vKQjZ/T7CkZg0Fv25EyZp4xnF0oAA1QeByCaoUfM ExuwaeYb0fhYpQ7Ku/eILV/bKN5r7/yC5/VLWCNHsyuGmDbdfWDjy7hg6KC760KgMMsK KYzw== 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=NuHka7OBFgKAV+bZHfH76roNCnuAgP8ROctbWIoA2lc=; fh=8NTxOQ/2519+BcmWSUuEYcvHQ95cZSfd+jrcYrvhekM=; b=0qOmSZY7eP5lzzjKS1/UZ4yI8MP40Qf+/mcKFf+v1YIpTSdCgFWx+97YueW9MSINOp MaFypWfYhC3ZfXf5QM4oOAEptdtYLPPbE3DTxeIMl6iyAcmdqkxtuESycBiRuNTloeQE qwTvwxmbtxRAfQrl63/l3hkQpwpDXeX8Vv5KKSZbWGFa4tuDnxx5wKvYrMEVunCABT7v MdOvl+Y8FnvRUlBtID8orUbzlWAHIIsGfBGiKGhPT8y9+iQVwmWl3VoxxZ39vLLqon7k AoKZopCPdFBE2rabozkRfzD67+659Fr3Xkd5I7Ib4u6UPx4/ntoBgg6vCHgPvZp7Xtyf s0iw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ckinjorO; 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-166904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166904-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id kq25-20020a170906abd900b00a4e9a14552asi848939ejb.674.2024.05.02.13.50.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 13:50:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ckinjorO; 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-166904-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166904-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 20FA81F21AD6 for ; Thu, 2 May 2024 20:50:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A56E1DDF8; Thu, 2 May 2024 20:50:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ckinjorO" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 C11DE2208E; Thu, 2 May 2024 20:50:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714683002; cv=none; b=cU5P6H+zhWaJf0Up/x7y4OQ4QUeAO+TkLgF/eSzdcwcDvfGhF8HXFScjEElEAz+GqM6PAydGfmov8hxjovpDXNV7zY+UGtKAViosVuu0p04hTXA6XV3hTQhVuZQUdPVLsc2Njj2ot3If1Y0GYIzHwwXQd0S/wX/kLqnJae0KecA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714683002; c=relaxed/simple; bh=0SgizC1Y0lmfxm5NoqKC6RLPpXXXmFw026aeWK/JY1E=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KXm9i3jtaOKFaYjZcIX5P8Jc8N70lY6Wu5c4AhxzG49fU+dEeS/vAe0eTnlmf9UUvuMjsZVWhoPg+FrqiffE97AFAs4eEoNo8askt4KgCAhweXf9tk0qV1nBHJ4xE/tSBNwJPXn/Q+wEyplUhRdP6SLG2eLwJi/SYuUmsv+TjWQ= 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=ckinjorO; arc=none smtp.client-ip=198.175.65.10 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=1714683001; x=1746219001; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=0SgizC1Y0lmfxm5NoqKC6RLPpXXXmFw026aeWK/JY1E=; b=ckinjorO0ln3XnWW11rN7yn1vq1SGi9uXpx9L3C/cM31VbvXD3TRLoe5 8lzz1tUOPAlPfeRE9dbKEMnpjyfUwDay+W+eXMBOZioXa1jEvz3R/7JtD DRgS6mwfJHpJ63VtQDxQOrVY/61/JR8CqLRiWATX1M5pNn0lnBUZrq0kI 5njVJq+z8LJqdZ1BcvRzpKXUviRz7+65LfOc+WqsrJI9fys5AVe+MGxDh jmOXRZOsAjUpvsBZEosKAfyZ+PTIbDKRRT0S7sX6cPW30TQ19Yx+TH1ei SThRDPLjYmgBcdrxkSErDdiaq9pbMnSwdnGV0VRUHgB8Y5v2Zf7/BMr5B w==; X-CSE-ConnectionGUID: 8/m6VqLvT5iIHjSLWp9lOA== X-CSE-MsgGUID: Tfnb/P0sRP+TAvmc9czHcg== X-IronPort-AV: E=McAfee;i="6600,9927,11062"; a="27960317" X-IronPort-AV: E=Sophos;i="6.07,247,1708416000"; d="scan'208";a="27960317" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2024 13:50:00 -0700 X-CSE-ConnectionGUID: YvSG6rCISFqpWzwKjhrCTg== X-CSE-MsgGUID: zqdyjlYTQwiVgj1YjeZ76A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,247,1708416000"; d="scan'208";a="27748040" Received: from lkp-server01.sh.intel.com (HELO e434dd42e5a1) ([10.239.97.150]) by orviesa007.jf.intel.com with ESMTP; 02 May 2024 13:49:58 -0700 Received: from kbuild by e434dd42e5a1 with local (Exim 4.96) (envelope-from ) id 1s2dNL-000Ayy-3A; Thu, 02 May 2024 20:49:55 +0000 Date: Fri, 3 May 2024 04:49:20 +0800 From: kernel test robot To: mhkelley58@gmail.com, haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, david@redhat.com Subject: Re: [PATCH v2 2/2] hv_balloon: Enable hot-add for memblock sizes > 128 MiB Message-ID: <202405030421.x7E4hUI7-lkp@intel.com> References: <20240501151458.2807-2-mhklinux@outlook.com> 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: <20240501151458.2807-2-mhklinux@outlook.com> Hi, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.9-rc6 next-20240502] [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/mhkelley58-gmail-com/hv_balloon-Enable-hot-add-for-memblock-sizes-128-MiB/20240501-232643 base: linus/master patch link: https://lore.kernel.org/r/20240501151458.2807-2-mhklinux%40outlook.com patch subject: [PATCH v2 2/2] hv_balloon: Enable hot-add for memblock sizes > 128 MiB config: i386-randconfig-011-20240502 (https://download.01.org/0day-ci/archive/20240503/202405030421.x7E4hUI7-lkp@intel.com/config) compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405030421.x7E4hUI7-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/202405030421.x7E4hUI7-lkp@intel.com/ All errors (new ones prefixed by >>): ld: drivers/hv/hv_balloon.o: in function `init_balloon_drv': >> drivers/hv/hv_balloon.c:2147:(.init.text+0x4): undefined reference to `memory_block_size_bytes' vim +2147 drivers/hv/hv_balloon.c 2136 2137 static int __init init_balloon_drv(void) 2138 { 2139 /* 2140 * Hot-add must operate in chunks that are of size 2141 * equal to the memory block size because that's 2142 * what the core add_memory() interface requires. 2143 * The Hyper-V interface requires that the memory block 2144 * size be a power of 2, which is guaranteed by the 2145 * check in memory_dev_init(). 2146 */ > 2147 ha_pages_in_chunk = memory_block_size_bytes() / PAGE_SIZE; 2148 2149 return vmbus_driver_register(&balloon_drv); 2150 } 2151 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki