Skip to content

Commit 164f66b

Browse files
shimodaykwilczynski
authored andcommitted
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/20231018085631.1121289-2-yoshihiro.shimoda.uh@renesas.com Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
1 parent 0bb80ec commit 164f66b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/pci/pci.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
#define PCIE_LINK_RETRAIN_TIMEOUT_MS 1000
1515

16+
/* Power stable to PERST# inactive from PCIe card Electromechanical Spec */
17+
#define PCIE_T_PVPERL_MS 100
18+
1619
/*
1720
* PCIe r6.0, sec 5.3.3.2.1 <PME Synchronization>
1821
* Recommends 1ms to 10ms timeout to check L2 ready.

0 commit comments

Comments
 (0)