[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260128172053.GA422887@bhelgaas>
Date: Wed, 28 Jan 2026 11:20:53 -0600
From: Bjorn Helgaas <helgaas@...nel.org>
To: Haakon Bugge <haakon.bugge@...cle.com>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>,
Niklas Schnelle <schnelle@...ux.ibm.com>,
Alex Williamson <alex@...zbot.org>,
Johannes Thumshirn <morbidrsa@...il.com>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>
Subject: Re: [PATCH v3 1/2] PCI: Initialize RCB from pci_configure_device
On Wed, Jan 28, 2026 at 05:08:23PM +0000, Haakon Bugge wrote:
> > On Thu, Jan 22, 2026 at 02:09:53PM +0100, Håkon Bugge wrote:
> >> Commit e42010d8207f ("PCI: Set Read Completion Boundary to 128 iff
> >> Root Port supports it (_HPX)") fixed a bogus _HPX type 2 record, which
> >> instructed program_hpx_type2() to set the RCB in an endpoint,
> >> although it's RC did not have the RCB bit set.
> >> ...
> For this and the other commit, is it OK that I add
> you as a co-developer? Aka:
>
> Co-developed-by: Bjorn Helgaas <helgaas@...nel.org>
> Signed-off-by: Bjorn Helgaas <helgaas@...nel.org>
> Signed-off-by: Håkon Bugge <haakon.bugge@...cle.com>
No need for co-developed-by, IMO this is just part of normal patch
iteration. And I'll add my Signed-off-by when merging the patches.
> > + pcie_capability_clear_and_set_word(dev, PCI_EXP_LNKCTL,
> > + PCI_EXP_LNKCTL_RCB,
> > + (rp_lnkctl & PCI_EXP_LNKCTL_RCB) ?
> > + PCI_EXP_LNKCTL_RCB : 0);
>
> Looks good to me! This will enforce the locked flavour of
> pcie_capability_clear_and_set_word(). Is that an overkill?
Probably no need for locking in this instance, but it's a per-device
lock so there won't be any contention anyway.
Bjorn
Powered by blists - more mailing lists