From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) (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 2594E101DE; Thu, 3 Jul 2025 14:47:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751554052; cv=none; b=X/7J6MS8ExTJ6lCJ9WcgF/AmawFtmcsSSbSFKeCJ7FcZFU6UxIUa9FBOm9cEHzzeJBII0NaeDcfBs6EXSxubhzBslABP0dbGBgO91HrdOApXYxltKlCkFr0eyYXqguIwFhrJ9jhQBl/gUfimgUYIcbmyE4xKDojtoMCL6t1zjIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751554052; c=relaxed/simple; bh=rK9CghBMfaxHWwZL0Y+AWxw/v++vtFMy/hmsv9qL7LI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UQSmkXWxJqz9QTRGOQVCIof5I2Gow3IfmwHk9vmdau3GQ1V1IuRtxwy1LrGGohjBV16tu4XcJ4rN5AL0BQTm0P/P8bhV/09yFsbLQtzVLnASAsGk6Zl2jq23P1sbafUTuHqmannABzcAfEN43zIc0V9qKq07Z8qNyfKajNTMbVA= 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=HEz4ViML; arc=none smtp.client-ip=198.175.65.17 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="HEz4ViML" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1751554051; x=1783090051; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rK9CghBMfaxHWwZL0Y+AWxw/v++vtFMy/hmsv9qL7LI=; b=HEz4ViMLBiqoSTDC795T47fsWI6TvyR+WK9zHfJmv72RlwtTLd9BtLr7 JfTpCh7WKc4aNEv8UxqCwrFtyVD324xF1GZ5/iLsTT5etfZ5xYhKxyYkV RLIfLbM9rHMUUFccrZpNMtJRh3RGfTN9BZJ4Wi3bhGGM1gbd7YOHbfVzc JdTQH2874m1b+rkRdOSajrgCbCuoukuEYoechnDeHwkp14Ee0dJ97rQIT JogKfIkBh4MR353/GVfeJMU5wbUJ0KC97wLqwAzdu61NFDu220nVHALOv O2bs9NGWFGRx/bH5ptiNI/GMOpH6XkifEDmKFDoPa3rhhPEwxMAB3dllO w==; X-CSE-ConnectionGUID: cwHYTKGiRl6yQ9NqFIPErg== X-CSE-MsgGUID: WeuJJv2sRHCqWd8i5iv3PQ== X-IronPort-AV: E=McAfee;i="6800,10657,11483"; a="53851715" X-IronPort-AV: E=Sophos;i="6.16,284,1744095600"; d="scan'208";a="53851715" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Jul 2025 07:47:30 -0700 X-CSE-ConnectionGUID: do+iUI8IT32SBrmjq0xoyg== X-CSE-MsgGUID: kIJe5JEsQwmuIcgjNo0AQA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.16,284,1744095600"; d="scan'208";a="153800515" Received: from lkp-server01.sh.intel.com (HELO 0b2900756c14) ([10.239.97.150]) by orviesa010.jf.intel.com with ESMTP; 03 Jul 2025 07:47:17 -0700 Received: from kbuild by 0b2900756c14 with local (Exim 4.96) (envelope-from ) id 1uXLDT-0001vf-31; Thu, 03 Jul 2025 14:47:11 +0000 Date: Thu, 3 Jul 2025 22:47:01 +0800 From: kernel test robot To: Daniel Wagner , Jens Axboe , Keith Busch , Christoph Hellwig , Sagi Grimberg , "Michael S. Tsirkin" Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Aaron Tomlin , "Martin K. Petersen" , Thomas Gleixner , Costa Shulyupin , Juri Lelli , Valentin Schneider , Waiman Long , Ming Lei , Frederic Weisbecker , Mel Gorman , Hannes Reinecke , Mathieu Desnoyers , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org, storagedev@microchip.com, virtualization@lists.linux.dev, GR-QLogic-Storage-Upstream@marvell.com, Daniel Wagner Subject: Re: [PATCH v7 08/10] blk-mq: use hk cpus only when isolcpus=io_queue is enabled Message-ID: <202507032238.AoTmQnGP-lkp@intel.com> References: <20250702-isolcpus-io-queues-v7-8-557aa7eacce4@kernel.org> Precedence: bulk X-Mailing-List: linux-block@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: <20250702-isolcpus-io-queues-v7-8-557aa7eacce4@kernel.org> Hi Daniel, kernel test robot noticed the following build errors: [auto build test ERROR on 32f85e8468ce081d8e73ca3f0d588f1004013037] url: https://github.com/intel-lab-lkp/linux/commits/Daniel-Wagner/lib-group_cpus-Add-group_masks_cpus_evenly/20250703-003811 base: 32f85e8468ce081d8e73ca3f0d588f1004013037 patch link: https://lore.kernel.org/r/20250702-isolcpus-io-queues-v7-8-557aa7eacce4%40kernel.org patch subject: [PATCH v7 08/10] blk-mq: use hk cpus only when isolcpus=io_queue is enabled config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20250703/202507032238.AoTmQnGP-lkp@intel.com/config) compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f1a4bb62452d88a0edd9340b3ca7c9b11ad9193f) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250703/202507032238.AoTmQnGP-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/202507032238.AoTmQnGP-lkp@intel.com/ All errors (new ones prefixed by >>): >> block/blk-mq-cpumap.c:155:16: error: array initializer must be an initializer list 155 | cpumask_var_t active_hctx __free(free_cpumask_var) = NULL; | ^ block/blk-mq-cpumap.c:219:16: error: array initializer must be an initializer list 219 | cpumask_var_t active_hctx __free(free_cpumask_var) = NULL; | ^ block/blk-mq-cpumap.c:220:16: error: array initializer must be an initializer list 220 | cpumask_var_t mask __free(free_cpumask_var) = NULL; | ^ 3 errors generated. vim +155 block/blk-mq-cpumap.c 144 145 /* 146 * blk_mq_map_hk_queues - Create housekeeping CPU to 147 * hardware queue mapping 148 * @qmap: CPU to hardware queue map 149 * 150 * Create a housekeeping CPU to hardware queue mapping in @qmap. @qmap 151 * contains a valid configuration honoring the isolcpus configuration. 152 */ 153 static void blk_mq_map_hk_queues(struct blk_mq_queue_map *qmap) 154 { > 155 cpumask_var_t active_hctx __free(free_cpumask_var) = NULL; 156 struct cpumask *hk_masks __free(kfree) = NULL; 157 const struct cpumask *mask; 158 unsigned int queue, cpu, nr_masks; 159 160 if (housekeeping_enabled(HK_TYPE_IO_QUEUE)) 161 mask = housekeeping_cpumask(HK_TYPE_IO_QUEUE); 162 else 163 goto fallback; 164 165 if (!zalloc_cpumask_var(&active_hctx, GFP_KERNEL)) 166 goto fallback; 167 168 /* Map housekeeping CPUs to a hctx */ 169 hk_masks = group_mask_cpus_evenly(qmap->nr_queues, mask, &nr_masks); 170 if (!hk_masks) 171 goto fallback; 172 173 for (queue = 0; queue < qmap->nr_queues; queue++) { 174 unsigned int idx = (qmap->queue_offset + queue) % nr_masks; 175 176 for_each_cpu(cpu, &hk_masks[idx]) { 177 qmap->mq_map[cpu] = idx; 178 179 if (cpu_online(cpu)) 180 cpumask_set_cpu(qmap->mq_map[cpu], active_hctx); 181 } 182 } 183 184 /* Map isolcpus to hardware context */ 185 queue = cpumask_first(active_hctx); 186 for_each_cpu_andnot(cpu, cpu_possible_mask, mask) { 187 qmap->mq_map[cpu] = (qmap->queue_offset + queue) % nr_masks; 188 queue = cpumask_next_wrap(queue, active_hctx); 189 } 190 191 if (!blk_mq_hk_validate(qmap, active_hctx)) 192 goto fallback; 193 194 return; 195 196 fallback: 197 /* 198 * Map all CPUs to the first hctx to ensure at least one online 199 * housekeeping CPU is serving it. 200 */ 201 for_each_possible_cpu(cpu) 202 qmap->mq_map[cpu] = 0; 203 } 204 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki