All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Fabio M. De Francesco" <fabio.m.de.francesco@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 2/6 v7] ACPI: extlog: Trace CPER PCI Express Error Section
Date: Wed, 5 Nov 2025 17:23:30 +0800	[thread overview]
Message-ID: <202511051721.LfgJrwLO-lkp@intel.com> (raw)
In-Reply-To: <20251104182446.863422-3-fabio.m.de.francesco@linux.intel.com>

Hi Fabio,

kernel test robot noticed the following build errors:

[auto build test ERROR on c9cfc122f03711a5124b4aafab3211cf4d35a2ac]

url:    https://github.com/intel-lab-lkp/linux/commits/Fabio-M-De-Francesco/ACPI-extlog-Trace-CPER-Non-standard-Section-Body/20251105-022733
base:   c9cfc122f03711a5124b4aafab3211cf4d35a2ac
patch link:    https://lore.kernel.org/r/20251104182446.863422-3-fabio.m.de.francesco%40linux.intel.com
patch subject: [PATCH 2/6 v7] ACPI: extlog: Trace CPER PCI Express Error Section
config: i386-buildonly-randconfig-004-20251105 (https://download.01.org/0day-ci/archive/20251105/202511051721.LfgJrwLO-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/20251105/202511051721.LfgJrwLO-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511051721.LfgJrwLO-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

>> drivers/pci/pci-driver.c:1591:6: warning: no previous prototype for 'pci_uevent_ers' [-Wmissing-prototypes]
    1591 | void pci_uevent_ers(struct pci_dev *pdev, enum pci_ers_result err_type)
         |      ^~~~~~~~~~~~~~
--
   drivers/pci/pcie/aer.c: In function 'aer_root_reset':
>> drivers/pci/pcie/aer.c:1754:27: error: 'struct pci_dev' has no member named 'rcec'
    1754 |                 root = dev->rcec;
         |                           ^~
--
   drivers/pci/pcie/err.c: In function 'report_error_detected':
>> drivers/pci/pcie/err.c:83:9: error: implicit declaration of function 'pci_uevent_ers'; did you mean 'pci_select_bars'? [-Wimplicit-function-declaration]
      83 |         pci_uevent_ers(dev, vote);
         |         ^~~~~~~~~~~~~~
         |         pci_select_bars

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for PCIEAER
   Depends on [n]: PCI [=y] && PCIEPORTBUS [=n]
   Selected by [y]:
   - ACPI_EXTLOG [=y] && ACPI [=y] && X86_MCE [=y] && X86_LOCAL_APIC [=y]
   WARNING: unmet direct dependencies detected for OF_GPIO
   Depends on [n]: GPIOLIB [=y] && OF [=n] && HAS_IOMEM [=y]
   Selected by [y]:
   - GPIO_TB10X [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && (ARC_PLAT_TB10X || COMPILE_TEST [=y])
   WARNING: unmet direct dependencies detected for MFD_STMFX
   Depends on [n]: HAS_IOMEM [=y] && I2C [=y] && OF [=n]
   Selected by [y]:
   - PINCTRL_STMFX [=y] && PINCTRL [=y] && I2C [=y] && OF_GPIO [=y] && HAS_IOMEM [=y]
   WARNING: unmet direct dependencies detected for GPIO_SYSCON
   Depends on [n]: GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && OF [=n]
   Selected by [y]:
   - GPIO_SAMA5D2_PIOBU [=y] && GPIOLIB [=y] && HAS_IOMEM [=y] && MFD_SYSCON [=y] && OF_GPIO [=y] && (ARCH_AT91 || COMPILE_TEST [=y])
   WARNING: unmet direct dependencies detected for I2C_K1
   Depends on [n]: I2C [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && OF [=n]
   Selected by [y]:
   - MFD_SPACEMIT_P1 [=y] && HAS_IOMEM [=y] && (ARCH_SPACEMIT || COMPILE_TEST [=y]) && I2C [=y]


vim +1754 drivers/pci/pcie/aer.c

5afc2f763edc5d drivers/pci/pcie/aer.c        Kai-Heng Feng  2024-04-16  1732  
6c2b374d74857e drivers/pci/pcie/aer/aerdrv.c Zhang, Yanmin  2006-07-31  1733  /**
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1734   * aer_root_reset - reset Root Port hierarchy, RCEC, or RCiEP
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1735   * @dev: pointer to Root Port, RCEC, or RCiEP
6c2b374d74857e drivers/pci/pcie/aer/aerdrv.c Zhang, Yanmin  2006-07-31  1736   *
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1737   * Invoked by Port Bus driver when performing reset.
f6d37800612830 drivers/pci/pcie/aer/aerdrv.c Hidetoshi Seto 2010-04-15  1738   */
6c2b374d74857e drivers/pci/pcie/aer/aerdrv.c Zhang, Yanmin  2006-07-31  1739  static pci_ers_result_t aer_root_reset(struct pci_dev *dev)
6c2b374d74857e drivers/pci/pcie/aer/aerdrv.c Zhang, Yanmin  2006-07-31  1740  {
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1741  	int type = pci_pcie_type(dev);
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1742  	struct pci_dev *root;
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1743  	int aer;
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1744  	struct pci_host_bridge *host = pci_find_host_bridge(dev->bus);
c6d34eddecb34f drivers/pci/pcie/aer/aerdrv.c Hidetoshi Seto 2010-04-15  1745  	u32 reg32;
1842623850d09b drivers/pci/pcie/aer.c        Sinan Kaya     2018-07-19  1746  	int rc;
6c2b374d74857e drivers/pci/pcie/aer/aerdrv.c Zhang, Yanmin  2006-07-31  1747  
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1748  	/*
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1749  	 * Only Root Ports and RCECs have AER Root Command and Root Status
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1750  	 * registers.  If "dev" is an RCiEP, the relevant registers are in
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1751  	 * the RCEC.
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1752  	 */
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1753  	if (type == PCI_EXP_TYPE_RC_END)
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20 @1754  		root = dev->rcec;
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1755  	else
7a8a22be35a505 drivers/pci/pcie/aer.c        Keith Busch    2021-01-04  1756  		root = pcie_find_root_port(dev);
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1757  
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1758  	/*
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1759  	 * If the platform retained control of AER, an RCiEP may not have
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1760  	 * an RCEC visible to us, so dev->rcec ("root") may be NULL.  In
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1761  	 * that case, firmware is responsible for these registers.
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1762  	 */
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1763  	aer = root ? root->aer_cap : 0;
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1764  
13cf36c648df0c drivers/pci/pcie/aer.c        Kai-Heng Feng  2023-05-12  1765  	if ((host->native_aer || pcie_ports_native) && aer)
13cf36c648df0c drivers/pci/pcie/aer.c        Kai-Heng Feng  2023-05-12  1766  		aer_disable_irq(root);
6c2b374d74857e drivers/pci/pcie/aer/aerdrv.c Zhang, Yanmin  2006-07-31  1767  
5790862255028c drivers/pci/pcie/aer.c        Qiuxu Zhuo     2020-11-20  1768  	if (type == PCI_EXP_TYPE_RC_EC || type == PCI_EXP_TYPE_RC_END) {
9bdc81ce440ec6 drivers/pci/pcie/aer.c        Amey Narkhede  2021-08-17  1769  		rc = pcie_reset_flr(dev, PCI_RESET_DO_RESET);
56f107d7813f11 drivers/pci/pcie/aer.c        Amey Narkhede  2021-08-17  1770  		if (!rc)
56f107d7813f11 drivers/pci/pcie/aer.c        Amey Narkhede  2021-08-17  1771  			pci_info(dev, "has been reset\n");
56f107d7813f11 drivers/pci/pcie/aer.c        Amey Narkhede  2021-08-17  1772  		else
56f107d7813f11 drivers/pci/pcie/aer.c        Amey Narkhede  2021-08-17  1773  			pci_info(dev, "not reset (no FLR support: %d)\n", rc);
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1774  	} else {
c4eed62a214330 drivers/pci/pcie/aer.c        Keith Busch    2018-09-20  1775  		rc = pci_bus_error_reset(dev);
33ac78bd3b509d drivers/pci/pcie/aer.c        Keith Busch    2021-01-04  1776  		pci_info(dev, "%s Port link has been reset (%d)\n",
33ac78bd3b509d drivers/pci/pcie/aer.c        Keith Busch    2021-01-04  1777  			pci_is_root_bus(dev->bus) ? "Root" : "Downstream", rc);
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1778  	}
6c2b374d74857e drivers/pci/pcie/aer/aerdrv.c Zhang, Yanmin  2006-07-31  1779  
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1780  	if ((host->native_aer || pcie_ports_native) && aer) {
c6d34eddecb34f drivers/pci/pcie/aer/aerdrv.c Hidetoshi Seto 2010-04-15  1781  		/* Clear Root Error Status */
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1782  		pci_read_config_dword(root, aer + PCI_ERR_ROOT_STATUS, &reg32);
a175102b0a82fc drivers/pci/pcie/aer.c        Sean V Kelley  2020-12-02  1783  		pci_write_config_dword(root, aer + PCI_ERR_ROOT_STATUS, reg32);
c6d34eddecb34f drivers/pci/pcie/aer/aerdrv.c Hidetoshi Seto 2010-04-15  1784  
13cf36c648df0c drivers/pci/pcie/aer.c        Kai-Heng Feng  2023-05-12  1785  		aer_enable_irq(root);
50cc18fcd3053f drivers/pci/pcie/aer.c        Sean V Kelley  2020-11-20  1786  	}
6c2b374d74857e drivers/pci/pcie/aer/aerdrv.c Zhang, Yanmin  2006-07-31  1787  
1842623850d09b drivers/pci/pcie/aer.c        Sinan Kaya     2018-07-19  1788  	return rc ? PCI_ERS_RESULT_DISCONNECT : PCI_ERS_RESULT_RECOVERED;
6c2b374d74857e drivers/pci/pcie/aer/aerdrv.c Zhang, Yanmin  2006-07-31  1789  }
6c2b374d74857e drivers/pci/pcie/aer/aerdrv.c Zhang, Yanmin  2006-07-31  1790  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2025-11-05  9:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-04 18:22 [PATCH 0/6 v7] Make ELOG and GHES log and trace consistently Fabio M. De Francesco
2025-11-04 18:22 ` [PATCH 1/6 v7] ACPI: extlog: Trace CPER Non-standard Section Body Fabio M. De Francesco
2025-11-04 18:22 ` [PATCH 2/6 v7] ACPI: extlog: Trace CPER PCI Express Error Section Fabio M. De Francesco
2025-11-05  9:23   ` kernel test robot [this message]
2025-11-04 18:22 ` [PATCH 3/6 v7] acpi/ghes: Make GHES select ACPI_APEI_PCIEAER Fabio M. De Francesco
2025-11-05 10:05   ` kernel test robot
2025-11-11 15:42   ` Jonathan Cameron
2025-11-21  2:12     ` Hanjun Guo
2025-11-04 18:22 ` [PATCH 4/6 v7] acpi/ghes: Add helper for CXL protocol errors checks Fabio M. De Francesco
2025-11-07 18:30   ` Dave Jiang
2025-11-11 15:43   ` Jonathan Cameron
2025-11-21  2:16   ` Hanjun Guo
2025-11-04 18:22 ` [PATCH 5/6 v7] acpi/ghes: Add helper to copy CXL protocol error info to work struct Fabio M. De Francesco
2025-11-07 18:31   ` Dave Jiang
2025-11-21  2:22   ` Hanjun Guo
2025-11-04 18:22 ` [PATCH 6/6 v7] ACPI: extlog: Trace CPER CXL Protocol Error Section Fabio M. De Francesco
2025-11-05  9:01   ` kernel test robot
2025-11-07 19:59   ` Dave Jiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202511051721.LfgJrwLO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=fabio.m.de.francesco@linux.intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.