From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 1A2623D7D76 for ; Wed, 18 Mar 2026 13:05:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773839115; cv=none; b=txnwshVy+XuzjSDvzVDlwmZmh0RynrAZQp505XG4i9V6wujdr/2H+/l/flQEkLNvFzMIVDwY883JCPIMBZIFwTNICpLmEwWW01re3H7zyYbcvrD6BYYxPx+HYms75YgoKIClMBFZ0ouyMyjKbvWgP0WLsaaSr7tf1VLCxUxgio0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773839115; c=relaxed/simple; bh=XMvnWCmnbT32GB5J+aiF5VT++RUQAquxivEn94Uc44c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kgihKMmOP5m7t5Mg0AZ7ozuTPKxTOX8CpnhcHJGP9ARsVUni32h49j67rJMoBk+WWK7rE5duvFKqHV8FONXznStvMaFzPHDH9x3HTEnPmFZi4PMEb2enKY0zZm/obHjpLS86W5HhU6PV79TUp7T8ZBZyoqI0qfFIH+HZWDne6Ys= 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=dZsXjouO; arc=none smtp.client-ip=192.198.163.11 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="dZsXjouO" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1773839112; x=1805375112; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=XMvnWCmnbT32GB5J+aiF5VT++RUQAquxivEn94Uc44c=; b=dZsXjouOyqQa36A4rM5HFVFP8Z2r51AV0EQ0gB6BfiQpqBDwLP8Vxunf /X/nYid4B7qIGCVaMG/YSqG9hgPvwrPqtVUiAfWTShgWHu+FgrH9Y40Um 7nmrVrX0KNmVPjn2NQPUv3kP69uNRHJXjJ8EGdtWP0LBtgYruM3WuZlwF SXezCBrbpE6XUzFTSJqXcxNGMLEgRmYuFex71MGuG65BAeiDmIlh7LpGG BQPUhpdydoTYA46chvWfhjdVbWnKALRHWiy8XDw+77uwroBLxXzlQoKZD D1FBArveWeDy6mqxfmA8rxHanyngwb4X9i0GmITwUIkeP5P2WtIy47BoQ w==; X-CSE-ConnectionGUID: eadB8B5ORiy8zRXy6NXa8A== X-CSE-MsgGUID: TQ5Pr4KYTAisfmQhLhcAGA== X-IronPort-AV: E=McAfee;i="6800,10657,11733"; a="85521080" X-IronPort-AV: E=Sophos;i="6.23,127,1770624000"; d="scan'208";a="85521080" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2026 06:05:02 -0700 X-CSE-ConnectionGUID: UxWjOm3VSleVi7j7C6wILQ== X-CSE-MsgGUID: SEUTnkivQgal9ulVhY6sBQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,127,1770624000"; d="scan'208";a="222833520" Received: from lkp-server01.sh.intel.com (HELO 63737dd503cb) ([10.239.97.150]) by orviesa007.jf.intel.com with ESMTP; 18 Mar 2026 06:04:59 -0700 Received: from kbuild by 63737dd503cb with local (Exim 4.98.2) (envelope-from ) id 1w2qa0-000000002vr-2pO1; Wed, 18 Mar 2026 13:04:56 +0000 Date: Wed, 18 Mar 2026 21:04:41 +0800 From: kernel test robot To: =?iso-8859-1?Q?Adri=E1n_Garc=EDa?= Casado , Miri Korenblit Cc: oe-kbuild-all@lists.linux.dev, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Miguel Ojeda , =?iso-8859-1?Q?Adri=E1n_Garc=EDa?= Casado Subject: Re: [PATCH v4] wifi: iwlwifi: pcie: optimize MSI-X interrupt affinity Message-ID: <202603182147.ECKLrJRf-lkp@intel.com> References: <20260317193252.13763-1-adriangarciacasado42@gmail.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260317193252.13763-1-adriangarciacasado42@gmail.com> Hi Adrián, kernel test robot noticed the following build warnings: [auto build test WARNING on wireless-next/main] [also build test WARNING on wireless/main rust/rust-next linus/master v7.0-rc4 next-20260317] [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/Adri-n-Garc-a-Casado/wifi-iwlwifi-pcie-optimize-MSI-X-interrupt-affinity/20260318-081834 base: https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git main patch link: https://lore.kernel.org/r/20260317193252.13763-1-adriangarciacasado42%40gmail.com patch subject: [PATCH v4] wifi: iwlwifi: pcie: optimize MSI-X interrupt affinity config: x86_64-rhel-9.4-kunit (https://download.01.org/0day-ci/archive/20260318/202603182147.ECKLrJRf-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260318/202603182147.ECKLrJRf-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/202603182147.ECKLrJRf-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c: In function 'iwl_pcie_irq_set_affinity': >> drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c:1675:37: warning: unused variable 'offset' [-Wunused-variable] 1675 | int iter_rx_q, i, ret, cpu, offset, last_cpu; | ^~~~~~ vim +/offset +1675 drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/trans.c 1670 1671 static void iwl_pcie_irq_set_affinity(struct iwl_trans *trans, 1672 struct iwl_trans_info *info) 1673 { 1674 #if defined(CONFIG_SMP) > 1675 int iter_rx_q, i, ret, cpu, offset, last_cpu; 1676 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans); 1677 1678 i = trans_pcie->shared_vec_mask & IWL_SHARED_IRQ_FIRST_RSS ? 0 : 1; 1679 iter_rx_q = info->num_rxqs - 1 + i; 1680 last_cpu = -1; 1681 for (; i < iter_rx_q ; i++) { 1682 /* 1683 * Balanced distribution: skip CPU0 for high-rate RSS queues 1684 * to avoid contention with system housekeeping. 1685 */ 1686 cpu = cpumask_next(last_cpu, cpu_online_mask); 1687 if (cpu >= nr_cpu_ids) 1688 cpu = cpumask_first(cpu_online_mask); 1689 1690 if (cpu == 0 && num_online_cpus() > 1) { 1691 cpu = cpumask_next(0, cpu_online_mask); 1692 if (cpu >= nr_cpu_ids) 1693 cpu = cpumask_first(cpu_online_mask); 1694 } 1695 last_cpu = cpu; 1696 1697 cpumask_set_cpu(cpu, &trans_pcie->affinity_mask[i]); 1698 ret = irq_set_affinity_hint(trans_pcie->msix_entries[i].vector, 1699 &trans_pcie->affinity_mask[i]); 1700 if (ret) 1701 IWL_ERR(trans_pcie->trans, 1702 "Failed to set affinity mask for IRQ %d\n", 1703 trans_pcie->msix_entries[i].vector); 1704 } 1705 #endif 1706 } 1707 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki