diff options
| author | Yoshihiro Shimoda <[email protected]> | 2023-10-18 08:56:17 +0000 |
|---|---|---|
| committer | Krzysztof Wilczyński <[email protected]> | 2023-10-20 12:11:25 +0000 |
| commit | 164f66be0c2523e65df41b755c41b7c9ff58035a (patch) | |
| tree | 1ad44341567d92b2297b683eff1b38f2bb219c73 | |
| parent | Linux 6.6-rc1 (diff) | |
| download | kernel-164f66be0c2523e65df41b755c41b7c9ff58035a.tar.gz kernel-164f66be0c2523e65df41b755c41b7c9ff58035a.zip | |
PCI: Add T_PVPERL macro
According to the PCIe CEM r5.0, sec 2.9.2, Power stable to PERST#
inactive interval is 100 ms as minimum. Add a macro so that the PCIe
controller drivers can make use of it.
Link: https://lore.kernel.org/linux-pci/[email protected]
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Serge Semin <[email protected]>
| -rw-r--r-- | drivers/pci/pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 39a8932dc340..5ecbcf041179 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h @@ -13,6 +13,9 @@ #define PCIE_LINK_RETRAIN_TIMEOUT_MS 1000 +/* Power stable to PERST# inactive from PCIe card Electromechanical Spec */ +#define PCIE_T_PVPERL_MS 100 + /* * PCIe r6.0, sec 5.3.3.2.1 <PME Synchronization> * Recommends 1ms to 10ms timeout to check L2 ready. |
