Re: [PATCH v7 2/4] PCI: Use standard wait times for PCIe link monitoring
From: Aksh Garg
Date: Thu Jun 18 2026 - 01:20:46 EST
On 17/06/26 21:31, Thierry Reding wrote:
From: Thierry Reding <treding@xxxxxxxxxx>
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.
Signed-off-by: Thierry Reding <treding@xxxxxxxxxx>
---
Reviewed-by: Aksh Garg <a-garg7@xxxxxx>
Changes in v7:
- rebase on top of next-20260615 (resolve pci-aardvark.c conflict)
Changes in v6:
- convert all drivers to use msleep() (Lukas Wunner)
Changes in v2:
- fix build for Cadence
---