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 6/6 v7] ACPI: extlog: Trace CPER CXL Protocol Error Section
Date: Wed, 5 Nov 2025 17:01:35 +0800 [thread overview]
Message-ID: <202511051610.Shh8WKBG-lkp@intel.com> (raw)
In-Reply-To: <20251104182446.863422-7-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-7-fabio.m.de.francesco%40linux.intel.com
patch subject: [PATCH 6/6 v7] ACPI: extlog: Trace CPER CXL Protocol Error Section
config: x86_64-buildonly-randconfig-006-20251105 (https://download.01.org/0day-ci/archive/20251105/202511051610.Shh8WKBG-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251105/202511051610.Shh8WKBG-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/202511051610.Shh8WKBG-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/cxl/core/pci.c:10:
drivers/cxl/cxlpci.h: In function 'cxl_pci_flit_256':
drivers/cxl/cxlpci.h:126:9: error: implicit declaration of function 'pcie_capability_read_word' [-Werror=implicit-function-declaration]
126 | pcie_capability_read_word(pdev, PCI_EXP_LNKSTA2, &lnksta2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/cxl/core/pci.c: In function 'devm_cxl_port_enumerate_dports':
drivers/cxl/core/pci.c:143:9: error: implicit declaration of function 'pci_walk_bus' [-Werror=implicit-function-declaration]
143 | pci_walk_bus(bus, match_add_dports, &ctx);
| ^~~~~~~~~~~~
drivers/cxl/core/pci.c: In function 'cxl_pci_get_latency':
drivers/cxl/core/pci.c:1059:14: error: implicit declaration of function 'pcie_link_speed_mbps'; did you mean 'pcie_get_speed_cap'? [-Werror=implicit-function-declaration]
1059 | bw = pcie_link_speed_mbps(pdev);
| ^~~~~~~~~~~~~~~~~~~~
| pcie_get_speed_cap
drivers/cxl/core/pci.c: In function 'cxl_gpf_get_dvsec':
>> drivers/cxl/core/pci.c:1149:17: error: implicit declaration of function 'pci_find_dvsec_capability'; did you mean 'pci_find_ext_capability'? [-Werror=implicit-function-declaration]
1149 | dvsec = pci_find_dvsec_capability(pdev, PCI_VENDOR_ID_CXL,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| pci_find_ext_capability
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PCIEAER
Depends on [n]: PCI [=n] && PCIEPORTBUS [=n]
Selected by [m]:
- ACPI_EXTLOG [=m] && ACPI [=y] && X86_MCE [=y] && X86_LOCAL_APIC [=y]
WARNING: unmet direct dependencies detected for CXL_BUS
Depends on [n]: PCI [=n]
Selected by [m]:
- ACPI_EXTLOG [=m] && ACPI [=y] && X86_MCE [=y] && X86_LOCAL_APIC [=y]
vim +1149 drivers/cxl/core/pci.c
a52b6a2c1c997b Davidlohr Bueso 2025-01-24 1135
36aace15d9bdcf Li Ming 2025-03-23 1136 u16 cxl_gpf_get_dvsec(struct device *dev)
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1137 {
36aace15d9bdcf Li Ming 2025-03-23 1138 struct pci_dev *pdev;
36aace15d9bdcf Li Ming 2025-03-23 1139 bool is_port = true;
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1140 u16 dvsec;
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1141
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1142 if (!dev_is_pci(dev))
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1143 return 0;
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1144
36aace15d9bdcf Li Ming 2025-03-23 1145 pdev = to_pci_dev(dev);
36aace15d9bdcf Li Ming 2025-03-23 1146 if (pci_pcie_type(pdev) == PCI_EXP_TYPE_ENDPOINT)
36aace15d9bdcf Li Ming 2025-03-23 1147 is_port = false;
36aace15d9bdcf Li Ming 2025-03-23 1148
36aace15d9bdcf Li Ming 2025-03-23 @1149 dvsec = pci_find_dvsec_capability(pdev, PCI_VENDOR_ID_CXL,
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1150 is_port ? CXL_DVSEC_PORT_GPF : CXL_DVSEC_DEVICE_GPF);
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1151 if (!dvsec)
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1152 dev_warn(dev, "%s GPF DVSEC not present\n",
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1153 is_port ? "Port" : "Device");
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1154 return dvsec;
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1155 }
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1156 EXPORT_SYMBOL_NS_GPL(cxl_gpf_get_dvsec, "CXL");
021b7e42fa7bc2 Davidlohr Bueso 2025-02-20 1157
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-11-05 9:02 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
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 [this message]
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=202511051610.Shh8WKBG-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.