From: kernel test robot <lkp@intel.com>
To: "Fabio M. De Francesco" <fabio.m.de.francesco@linux.intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 3/6 v7] acpi/ghes: Make GHES select ACPI_APEI_PCIEAER
Date: Wed, 5 Nov 2025 18:05:40 +0800 [thread overview]
Message-ID: <202511051740.HlE2bTd2-lkp@intel.com> (raw)
In-Reply-To: <20251104182446.863422-4-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-4-fabio.m.de.francesco%40linux.intel.com
patch subject: [PATCH 3/6 v7] acpi/ghes: Make GHES select ACPI_APEI_PCIEAER
config: x86_64-randconfig-074-20251105 (https://download.01.org/0day-ci/archive/20251105/202511051740.HlE2bTd2-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251105/202511051740.HlE2bTd2-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/202511051740.HlE2bTd2-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> drivers/pci/pci-driver.c:1591:6: warning: no previous prototype for function 'pci_uevent_ers' [-Wmissing-prototypes]
1591 | void pci_uevent_ers(struct pci_dev *pdev, enum pci_ers_result err_type)
| ^
drivers/pci/pci-driver.c:1591:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1591 | void pci_uevent_ers(struct pci_dev *pdev, enum pci_ers_result err_type)
| ^
| static
1 warning generated.
--
>> drivers/pci/pcie/err.c:83:2: error: call to undeclared function 'pci_uevent_ers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
83 | pci_uevent_ers(dev, vote);
| ^
drivers/pci/pcie/err.c:124:2: error: call to undeclared function 'pci_uevent_ers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
124 | pci_uevent_ers(dev, PCI_ERS_RESULT_DISCONNECT);
| ^
drivers/pci/pcie/err.c:182:2: error: call to undeclared function 'pci_uevent_ers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
182 | pci_uevent_ers(dev, PCI_ERS_RESULT_RECOVERED);
| ^
3 errors generated.
--
>> drivers/pci/pcie/aer.c:1754:15: error: no member named 'rcec' in 'struct pci_dev'
1754 | root = dev->rcec;
| ~~~ ^
1 error generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PCIEAER
Depends on [n]: PCI [=y] && PCIEPORTBUS [=n]
Selected by [y]:
- ACPI_APEI_GHES [=y] && ACPI [=y] && ACPI_APEI [=y]
vim +/pci_uevent_ers +83 drivers/pci/pcie/err.c
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 48
542aeb9c8f930e4 Keith Busch 2018-09-20 49 static int report_error_detected(struct pci_dev *dev,
16d79cd4e23b196 Luc Van Oostenryck 2020-07-02 50 pci_channel_state_t state,
542aeb9c8f930e4 Keith Busch 2018-09-20 51 enum pci_ers_result *result)
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 52 {
171d149ce8d11f7 Bjorn Helgaas 2021-10-12 53 struct pci_driver *pdrv;
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 54 pci_ers_result_t vote;
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 55 const struct pci_error_handlers *err_handler;
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 56
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 57 device_lock(&dev->dev);
e0217c5ba10d7bf Bjorn Helgaas 2021-11-10 58 pdrv = dev->driver;
5e69a33c5cec019 Christoph Hellwig 2022-06-01 59 if (pci_dev_is_disconnected(dev)) {
5e69a33c5cec019 Christoph Hellwig 2022-06-01 60 vote = PCI_ERS_RESULT_DISCONNECT;
5e69a33c5cec019 Christoph Hellwig 2022-06-01 61 } else if (!pci_dev_set_io_state(dev, state)) {
5e69a33c5cec019 Christoph Hellwig 2022-06-01 62 pci_info(dev, "can't recover (state transition %u -> %u invalid)\n",
5e69a33c5cec019 Christoph Hellwig 2022-06-01 63 dev->error_state, state);
5e69a33c5cec019 Christoph Hellwig 2022-06-01 64 vote = PCI_ERS_RESULT_NONE;
5e69a33c5cec019 Christoph Hellwig 2022-06-01 65 } else if (!pdrv || !pdrv->err_handler ||
171d149ce8d11f7 Bjorn Helgaas 2021-10-12 66 !pdrv->err_handler->error_detected) {
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 67 /*
bfcb79fca19d267 Keith Busch 2018-09-20 68 * If any device in the subtree does not have an error_detected
bfcb79fca19d267 Keith Busch 2018-09-20 69 * callback, PCI_ERS_RESULT_NO_AER_DRIVER prevents subsequent
bfcb79fca19d267 Keith Busch 2018-09-20 70 * error callbacks of "any" device in the subtree, and will
bfcb79fca19d267 Keith Busch 2018-09-20 71 * exit in the disconnected error state.
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 72 */
01daacfb9035e5b Yicong Yang 2019-12-13 73 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) {
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 74 vote = PCI_ERS_RESULT_NO_AER_DRIVER;
8d077c3ce0109c4 Bjorn Helgaas 2019-12-13 75 pci_info(dev, "can't recover (no error_detected callback)\n");
01daacfb9035e5b Yicong Yang 2019-12-13 76 } else {
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 77 vote = PCI_ERS_RESULT_NONE;
01daacfb9035e5b Yicong Yang 2019-12-13 78 }
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 79 } else {
171d149ce8d11f7 Bjorn Helgaas 2021-10-12 80 err_handler = pdrv->err_handler;
542aeb9c8f930e4 Keith Busch 2018-09-20 81 vote = err_handler->error_detected(dev, state);
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 82 }
7b42d97e99d3a2b Keith Busch 2018-09-20 @83 pci_uevent_ers(dev, vote);
542aeb9c8f930e4 Keith Busch 2018-09-20 84 *result = merge_result(*result, vote);
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 85 device_unlock(&dev->dev);
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 86 return 0;
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 87 }
2e28bc84cf6eecd Oza Pawandeep 2018-05-17 88
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-11-05 10:06 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
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 [this message]
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=202511051740.HlE2bTd2-lkp@intel.com \
--to=lkp@intel.com \
--cc=fabio.m.de.francesco@linux.intel.com \
--cc=llvm@lists.linux.dev \
--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.