From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.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 7B543239E6C for ; Tue, 16 Jun 2026 12:46:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781613983; cv=none; b=BkpcJSGkPgQgf/60J1Nd9r4udoPWIxF0p3VETW0VQEETw7DbBtPBQ9bFYA/BoBOZxUXnPNrBPcmcbuacQ8ez1mtOnu5N9DBOXcM8u1pS/+SOlTZFPJ0x4cYY4Iu0Viqu15Iu6MOEFJ7UYFChq/Qv7vjrqlMqUoRuQZVv8XU6WxM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781613983; c=relaxed/simple; bh=scrrHaSl/YLkXxYplIu4NdOh/GVlxPt6KVFfcaTSC6U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=a4d591RugEP3/J77JkIOBZEj7JrdsuTk79GiX77+mv2732R3CZYX5VOvkcRQkjRB/rQL/4dvAg9RKijfDQAfvBRIyxZgkKq0wh3q73lePgTv1YUoFBEx81HT3VsexdYdcH6TjVrOLSxN/tan/kHed8hB4UeKqm353CrR04srl98= 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=XhGFRR7H; arc=none smtp.client-ip=192.198.163.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="XhGFRR7H" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1781613981; x=1813149981; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=scrrHaSl/YLkXxYplIu4NdOh/GVlxPt6KVFfcaTSC6U=; b=XhGFRR7HFGCG+/4qQGQaDfnoHomTiw+cN/Qgp/3xZk7aMxOKQVxtlA4O apb31/lrdp9I9nupXFfoQR8Xq8hfvkSSHdhh32yO9JHceU5FKw74axJxI EfYtDBgoncr7qAG8euU0iNbfncCrDuoJ99fv8Vj1T5a7EjMKGsKNGs2cZ s3xbkWAstfoqkXjhNUzOf9q5ngCb1NKa5pSUDDeZ2VhZWlFS/lkXYLFq/ /WSB7KB+ISlh7z7bqAvvszhDP9Qdu12fD07VL654u6ryT9ehYSvnccnuN SiVIK6isbUMRERZHH+V3L9dcAIJc8etzjS8SWtBKb040K5AyuqvK96j4s w==; X-CSE-ConnectionGUID: GmVGUzZNQH+m6iiHoblPjw== X-CSE-MsgGUID: KNj5JbKtTRCm0LqxZwIEkg== X-IronPort-AV: E=McAfee;i="6800,10657,11818"; a="93758767" X-IronPort-AV: E=Sophos;i="6.24,208,1774335600"; d="scan'208";a="93758767" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2026 05:46:20 -0700 X-CSE-ConnectionGUID: 8PZkRLrNQ7+UNX4Rm538gQ== X-CSE-MsgGUID: NnB8lvImRBynwa6hKG+Zhw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,208,1774335600"; d="scan'208";a="271481436" Received: from lkp-server01.sh.intel.com (HELO f0d55cb201f0) ([10.239.97.150]) by fmviesa002.fm.intel.com with ESMTP; 16 Jun 2026 05:46:19 -0700 Received: from kbuild by f0d55cb201f0 with local (Exim 4.98.2) (envelope-from ) id 1wZTBI-00000000TAM-3BjY; Tue, 16 Jun 2026 12:46:16 +0000 Date: Tue, 16 Jun 2026 20:45:37 +0800 From: kernel test robot To: Farhan Ali Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [RFC PATCH v1] PCI: Remove pcie_flr() and convert all callers to use pcie_reset_flr() Message-ID: <202606162022.3eNCKLty-lkp@intel.com> References: <20260615192200.3489-1-alifm@linux.ibm.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=us-ascii Content-Disposition: inline In-Reply-To: <20260615192200.3489-1-alifm@linux.ibm.com> Hi Farhan, [This is a private test report for your RFC patch.] kernel test robot noticed the following build errors: [auto build test ERROR on tnguy-next-queue/dev-queue] [also build test ERROR on tnguy-net-queue/dev-queue linus/master v7.1 next-20260615] [cannot apply to pci/next pci/for-linus] [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/Farhan-Ali/PCI-Remove-pcie_flr-and-convert-all-callers-to-use-pcie_reset_flr/20260616-034658 base: https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue patch link: https://lore.kernel.org/r/20260615192200.3489-1-alifm%40linux.ibm.com patch subject: [RFC PATCH v1] PCI: Remove pcie_flr() and convert all callers to use pcie_reset_flr() config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20260616/202606162022.3eNCKLty-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260616/202606162022.3eNCKLty-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/202606162022.3eNCKLty-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/net/dsa/netc/netc_main.c: In function 'netc_switch_pci_init': >> drivers/net/dsa/netc/netc_main.c:890:9: error: implicit declaration of function 'pcie_flr' [-Wimplicit-function-declaration] 890 | pcie_flr(pdev); | ^~~~~~~~ -- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c: In function 'ixgbe_io_error_detected': >> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c:12281:25: error: implicit declaration of function 'pcie_flr' [-Wimplicit-function-declaration] 12281 | pcie_flr(vfdev); | ^~~~~~~~ vim +/pcie_flr +890 drivers/net/dsa/netc/netc_main.c 187fbae024c843 Wei Fang 2026-05-18 881 187fbae024c843 Wei Fang 2026-05-18 882 static int netc_switch_pci_init(struct pci_dev *pdev) 187fbae024c843 Wei Fang 2026-05-18 883 { 187fbae024c843 Wei Fang 2026-05-18 884 struct device *dev = &pdev->dev; 187fbae024c843 Wei Fang 2026-05-18 885 struct netc_switch_regs *regs; 187fbae024c843 Wei Fang 2026-05-18 886 struct netc_switch *priv; 187fbae024c843 Wei Fang 2026-05-18 887 void __iomem *base; 187fbae024c843 Wei Fang 2026-05-18 888 int err; 187fbae024c843 Wei Fang 2026-05-18 889 187fbae024c843 Wei Fang 2026-05-18 @890 pcie_flr(pdev); 187fbae024c843 Wei Fang 2026-05-18 891 err = pcim_enable_device(pdev); 187fbae024c843 Wei Fang 2026-05-18 892 if (err) 187fbae024c843 Wei Fang 2026-05-18 893 return dev_err_probe(dev, err, "Failed to enable device\n"); 187fbae024c843 Wei Fang 2026-05-18 894 187fbae024c843 Wei Fang 2026-05-18 895 err = pcim_request_all_regions(pdev, KBUILD_MODNAME); 187fbae024c843 Wei Fang 2026-05-18 896 if (err) 187fbae024c843 Wei Fang 2026-05-18 897 return dev_err_probe(dev, err, "Failed to request regions\n"); 187fbae024c843 Wei Fang 2026-05-18 898 187fbae024c843 Wei Fang 2026-05-18 899 /* The command BD rings and NTMP tables need DMA. No need to check 187fbae024c843 Wei Fang 2026-05-18 900 * the return value, because it never returns fail when the mask is 187fbae024c843 Wei Fang 2026-05-18 901 * DMA_BIT_MASK(64), see dma-api-howto.rst. 187fbae024c843 Wei Fang 2026-05-18 902 */ 187fbae024c843 Wei Fang 2026-05-18 903 dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64)); 187fbae024c843 Wei Fang 2026-05-18 904 187fbae024c843 Wei Fang 2026-05-18 905 if (pci_resource_len(pdev, NETC_REGS_BAR) < NETC_REGS_SIZE) { 187fbae024c843 Wei Fang 2026-05-18 906 return dev_err_probe(dev, -EINVAL, 187fbae024c843 Wei Fang 2026-05-18 907 "Invalid register space size\n"); 187fbae024c843 Wei Fang 2026-05-18 908 } 187fbae024c843 Wei Fang 2026-05-18 909 187fbae024c843 Wei Fang 2026-05-18 910 base = pcim_iomap(pdev, NETC_REGS_BAR, 0); 187fbae024c843 Wei Fang 2026-05-18 911 if (!base) 187fbae024c843 Wei Fang 2026-05-18 912 return dev_err_probe(dev, -ENXIO, "pcim_iomap() failed\n"); 187fbae024c843 Wei Fang 2026-05-18 913 187fbae024c843 Wei Fang 2026-05-18 914 pci_set_master(pdev); 187fbae024c843 Wei Fang 2026-05-18 915 187fbae024c843 Wei Fang 2026-05-18 916 priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); 187fbae024c843 Wei Fang 2026-05-18 917 if (!priv) 187fbae024c843 Wei Fang 2026-05-18 918 return -ENOMEM; 187fbae024c843 Wei Fang 2026-05-18 919 187fbae024c843 Wei Fang 2026-05-18 920 priv->pdev = pdev; 187fbae024c843 Wei Fang 2026-05-18 921 priv->dev = dev; 187fbae024c843 Wei Fang 2026-05-18 922 187fbae024c843 Wei Fang 2026-05-18 923 regs = &priv->regs; 187fbae024c843 Wei Fang 2026-05-18 924 regs->base = base; 187fbae024c843 Wei Fang 2026-05-18 925 regs->port = regs->base + NETC_REGS_PORT_BASE; 187fbae024c843 Wei Fang 2026-05-18 926 regs->global = regs->base + NETC_REGS_GLOBAL_BASE; 187fbae024c843 Wei Fang 2026-05-18 927 pci_set_drvdata(pdev, priv); 187fbae024c843 Wei Fang 2026-05-18 928 187fbae024c843 Wei Fang 2026-05-18 929 return 0; 187fbae024c843 Wei Fang 2026-05-18 930 } 187fbae024c843 Wei Fang 2026-05-18 931 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki