From: Siddharth Vadapalli <s-vadapalli@ti.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: kernel test robot <lkp@intel.com>, <lpieralisi@kernel.org>,
<kwilczynski@kernel.org>, <mani@kernel.org>, <robh@kernel.org>,
<bhelgaas@google.com>, <unicorn_wang@outlook.com>,
<kishon@kernel.org>, <18255117159@163.com>,
<oe-kbuild-all@lists.linux.dev>, <linux-pci@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>, <srk@ti.com>,
<s-vadapalli@ti.com>
Subject: Re: [PATCH] PCI: cadence: Enable support for applying lane equalization presets
Date: Tue, 28 Oct 2025 18:13:46 +0530 [thread overview]
Message-ID: <eed524b60b43bf22e88c40dd770a6b0bc38c44b9.camel@ti.com> (raw)
In-Reply-To: <20251028114746.GA1505797@bhelgaas>
On Tue, 2025-10-28 at 06:47 -0500, Bjorn Helgaas wrote:
Hello Bjorn,
> On Tue, Oct 28, 2025 at 10:56:33AM +0530, Siddharth Vadapalli wrote:
> > On Tue, 2025-10-28 at 13:16 +0800, kernel test robot wrote:
> > > Hi Siddharth,
> > >
> > > kernel test robot noticed the following build warnings:
> > >
> > > [auto build test WARNING on pci/next]
> > > [also build test WARNING on pci/for-linus linus/master v6.18-rc3 next-20251027]
> > > [If your patch is applied to the wrong git tree, kindly drop us a note.
> > > And when submitting patch, we suggest to use '--base' as documented in
> > > https://git-scm.com/docs/git-format-patch#_base_tree_information]
> > >
> > > url: https://github.com/intel-lab-lkp/linux/commits/Siddharth-Vadapalli/PCI-cadence-Enable-support-for-applying-lane-equalization-presets/20251027-213657
> > > base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
> > > patch link: https://lore.kernel.org/r/20251027133013.2589119-1-s-vadapalli%40ti.com
> > > patch subject: [PATCH] PCI: cadence: Enable support for applying lane equalization presets
> > > config: x86_64-buildonly-randconfig-002-20251028 (https://download.01.org/0day-ci/archive/20251028/202510281329.racaZPSI-lkp@intel.com/config)
> > > compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
> > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251028/202510281329.racaZPSI-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/202510281329.racaZPSI-lkp@intel.com/
> > >
> > > All warnings (new ones prefixed by >>):
> > >
> > > drivers/pci/controller/cadence/pcie-cadence-host.c: In function 'cdns_pcie_setup_lane_equalization_presets':
> > > > > drivers/pci/controller/cadence/pcie-cadence-host.c:205:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
> > > 205 | if (presets_ngts[0] != PCI_EQ_RESV) {
> > > | ^
> > > drivers/pci/controller/cadence/pcie-cadence-host.c:225:9: note: here
> > > 225 | case PCIE_SPEED_8_0GT:
> > > | ^~~~
> >
> > Fallthrough is intentional. The lane equalization presets are programmed
> > starting from the Max Supported Link speed and we fallthrough until we get
> > to 8.0 GT/s.
>
> It's poorly documented, but use "fallthrough" here:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/deprecated.rst?id=v6.17#n200
Thank you for pointing me to the documentation. I will update the patch
accordingly and post the v2 patch.
Regards,
Siddharth.
next prev parent reply other threads:[~2025-10-28 12:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-27 13:29 [PATCH] PCI: cadence: Enable support for applying lane equalization presets Siddharth Vadapalli
2025-10-28 5:16 ` kernel test robot
2025-10-28 5:26 ` Siddharth Vadapalli
2025-10-28 11:47 ` Bjorn Helgaas
2025-10-28 12:43 ` Siddharth Vadapalli [this message]
2025-10-29 8:38 ` Siddharth Vadapalli
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=eed524b60b43bf22e88c40dd770a6b0bc38c44b9.camel@ti.com \
--to=s-vadapalli@ti.com \
--cc=18255117159@163.com \
--cc=bhelgaas@google.com \
--cc=helgaas@kernel.org \
--cc=kishon@kernel.org \
--cc=kwilczynski@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lkp@intel.com \
--cc=lpieralisi@kernel.org \
--cc=mani@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=srk@ti.com \
--cc=unicorn_wang@outlook.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).