From: kernel test robot <lkp@intel.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-pci@vger.kernel.org
Subject: [pci:next 20/29] drivers/pci/controller/dwc/pcie-rcar-gen4.c:307:30: error: use of undeclared identifier 'PCIE_PORT_LANE_SKEW'
Date: Sun, 04 Oct 2026 22:56:54 +0800 [thread overview]
Message-ID: <202610042255.a8dle5HM-lkp@intel.com> (raw)
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
reply other threads:[~2026-10-04 14:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202610042255.a8dle5HM-lkp@intel.com \
--to=lkp@intel.com \
--cc=helgaas@kernel.org \
--cc=linux-pci@vger.kernel.org \
--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.