* [pci:next 20/29] drivers/pci/controller/dwc/pcie-rcar-gen4.c:307:37: error: 'PCIE_PORT_LANE_SKEW' undeclared; did you mean 'PORT_LANE_SKEW'?
@ 2026-10-04 5:30 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-04 5:30 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: 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-defconfig (https://download.01.org/0day-ci/archive/20261004/202610041359.Iv8zjxRh-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261004/202610041359.Iv8zjxRh-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/202610041359.Iv8zjxRh-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/pci/controller/dwc/pcie-rcar-gen4.c: In function 'rcar_gen4_v4h_v4m_pcie_init':
>> drivers/pci/controller/dwc/pcie-rcar-gen4.c:307:37: error: 'PCIE_PORT_LANE_SKEW' undeclared (first use in this function); did you mean 'PORT_LANE_SKEW'?
307 | val = dw_pcie_readl_dbi(dw, PCIE_PORT_LANE_SKEW);
| ^~~~~~~~~~~~~~~~~~~
| PORT_LANE_SKEW
drivers/pci/controller/dwc/pcie-rcar-gen4.c:307:37: note: each undeclared identifier is reported only once for each function it appears in
drivers/pci/controller/dwc/pcie-rcar-gen4.c: In function 'rcar_gen5_pcie_init':
drivers/pci/controller/dwc/pcie-rcar-gen4.c:338:37: error: 'PCIE_PORT_LANE_SKEW' undeclared (first use in this function); did you mean 'PORT_LANE_SKEW'?
338 | val = dw_pcie_readl_dbi(dw, PCIE_PORT_LANE_SKEW);
| ^~~~~~~~~~~~~~~~~~~
| PORT_LANE_SKEW
vim +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 5:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-04 5:30 [pci:next 20/29] drivers/pci/controller/dwc/pcie-rcar-gen4.c:307:37: error: 'PCIE_PORT_LANE_SKEW' undeclared; did you mean '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