Re: [PATCH v8 3/6] PCI: Use standard wait times for PCIe link monitoring
Bjorn Helgaas <[email protected]> Wed, 29 Jul 2026 15:32:21 -0500
| Newsgroups | org.kernel.vger.linux-tegra,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <20260729203221.GA1465128@bhelgaas> |
On Thu, Jul 16, 2026 at 07:07:14PM +0200, Thierry Reding wrote: > From: Thierry Reding <[email protected]> > > Instead of defining the wait values for each driver, use common values > defined in the core pci.h header file. Note that while most drivers use > the usleep_range(), it looks like these were mostly cargo culted and > msleep() is a better choice given the fixed delay that the specification > calls for. Convert all drivers to msleep() and use the existing > definition. Thanks for doing this, removing all this needless duplication is great!