* [pci:next 20/29] drivers/pci/controller/dwc/pcie-rcar-gen4.c:307:30: error: use of undeclared identifier 'PCIE_PORT_LANE_SKEW'
@ 2026-10-04 14:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-04 14:56 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: llvm, oe-kbuild-all, linux-pci
tree: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
head: 372b7a0d9c7c0cb724b259db9d39c785ad9dec74
commit: 9bab7146bd9ef2700f42d705d8e01d7d95362d0f [20/29] Merge branch 'pci/controller/dwc-rcar-gen4'
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20261004/202610042255.a8dle5HM-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 5f609f950d2e80addf5566623013db68394334db)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261004/202610042255.a8dle5HM-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/202610042255.a8dle5HM-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/pci/controller/dwc/pcie-rcar-gen4.c:307:30: error: use of undeclared identifier 'PCIE_PORT_LANE_SKEW'
307 | val = dw_pcie_readl_dbi(dw, PCIE_PORT_LANE_SKEW);
| ^~~~~~~~~~~~~~~~~~~
drivers/pci/controller/dwc/pcie-rcar-gen4.c:311:25: error: use of undeclared identifier 'PCIE_PORT_LANE_SKEW'
311 | dw_pcie_writel_dbi(dw, PCIE_PORT_LANE_SKEW, val);
| ^~~~~~~~~~~~~~~~~~~
drivers/pci/controller/dwc/pcie-rcar-gen4.c:338:30: error: use of undeclared identifier 'PCIE_PORT_LANE_SKEW'
338 | val = dw_pcie_readl_dbi(dw, PCIE_PORT_LANE_SKEW);
| ^~~~~~~~~~~~~~~~~~~
drivers/pci/controller/dwc/pcie-rcar-gen4.c:342:25: error: use of undeclared identifier 'PCIE_PORT_LANE_SKEW'
342 | dw_pcie_writel_dbi(dw, PCIE_PORT_LANE_SKEW, val);
| ^~~~~~~~~~~~~~~~~~~
4 errors generated.
vim +/PCIE_PORT_LANE_SKEW +307 drivers/pci/controller/dwc/pcie-rcar-gen4.c
0d0c551011df45 Yoshihiro Shimoda 2023-10-18 294
eeeb72fab4a569 Marek Vasut 2026-09-21 295 static int rcar_gen4_v4h_v4m_pcie_init(struct rcar_gen4_pcie *rcar)
eeeb72fab4a569 Marek Vasut 2026-09-21 296 {
eeeb72fab4a569 Marek Vasut 2026-09-21 297 struct dw_pcie *dw = &rcar->dw;
eeeb72fab4a569 Marek Vasut 2026-09-21 298 u32 val;
eeeb72fab4a569 Marek Vasut 2026-09-21 299 int ret;
eeeb72fab4a569 Marek Vasut 2026-09-21 300
eeeb72fab4a569 Marek Vasut 2026-09-21 301 /* R-Car Gen4 common initialization. */
eeeb72fab4a569 Marek Vasut 2026-09-21 302 ret = rcar_gen4_pcie_common_init(rcar);
eeeb72fab4a569 Marek Vasut 2026-09-21 303 if (ret)
eeeb72fab4a569 Marek Vasut 2026-09-21 304 return ret;
eeeb72fab4a569 Marek Vasut 2026-09-21 305
eeeb72fab4a569 Marek Vasut 2026-09-21 306 /* R-Car V4H and V4M specific additional initialization. */
eeeb72fab4a569 Marek Vasut 2026-09-21 @307 val = dw_pcie_readl_dbi(dw, PCIE_PORT_LANE_SKEW);
eeeb72fab4a569 Marek Vasut 2026-09-21 308 val &= ~PORT_LANE_SKEW_INSERT_MASK;
eeeb72fab4a569 Marek Vasut 2026-09-21 309 if (dw->num_lanes < 4)
eeeb72fab4a569 Marek Vasut 2026-09-21 310 val |= BIT(6);
eeeb72fab4a569 Marek Vasut 2026-09-21 311 dw_pcie_writel_dbi(dw, PCIE_PORT_LANE_SKEW, val);
eeeb72fab4a569 Marek Vasut 2026-09-21 312
eeeb72fab4a569 Marek Vasut 2026-09-21 313 val = readl(rcar->base + PCIEPWRMNGCTRL);
eeeb72fab4a569 Marek Vasut 2026-09-21 314 val |= APP_CLK_REQ_N | APP_CLK_PM_EN;
eeeb72fab4a569 Marek Vasut 2026-09-21 315 writel(val, rcar->base + PCIEPWRMNGCTRL);
eeeb72fab4a569 Marek Vasut 2026-09-21 316
eeeb72fab4a569 Marek Vasut 2026-09-21 317 return 0;
eeeb72fab4a569 Marek Vasut 2026-09-21 318 }
eeeb72fab4a569 Marek Vasut 2026-09-21 319
:::::: The code at line 307 was first introduced by commit
:::::: eeeb72fab4a569c1cc547c9bf220c808dd37f83d PCI: rcar-gen4: Rework .additional_common_init() into .init()
:::::: TO: Marek Vasut <marek.vasut+renesas@mailbox.org>
:::::: CC: Bjorn Helgaas <bhelgaas@google.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-04 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-04 14:56 [pci:next 20/29] drivers/pci/controller/dwc/pcie-rcar-gen4.c:307:30: error: use of undeclared identifier 'PCIE_PORT_LANE_SKEW' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox