I am submitting a patch to add a configurable sleep for the Rockchip PCIe driver in the hope of resolving a persistent issue with old ARM platforms. It has been observed that the driver requires an extra sleep before probing the device, particularly on some older ARM devices like Pine64 RockPro64. While an original patch was deployed in Manjaro ARM, the issue still persists with the upstream kernel. This patch introduces a module parameter "bus_scan_delay" which allows users to configure the delay before probing the device. I have tested this patch on several platforms and it has proven to be effective. I hope that by starting this discussion, we can collaborate and find a more robust upstream solution for this issue. P.S: I sent again this because I forget to add some people to the list of cc. Cheers! Vincent. ------- Vincenzo Palazzo (1): drivers: pci: introduce configurable delay for Rockchip PCIe bus scan .../admin-guide/kernel-parameters.txt | 8 +++++ .../boot/dts/rockchip/rk3399-rockpro64.dtsi | 3 +- drivers/pci/controller/pcie-rockchip-host.c | 29 +++++++++++++++++++ drivers/pci/controller/pcie-rockchip.c | 5 ++++ drivers/pci/controller/pcie-rockchip.h | 9 ++++++ 5 files changed, 53 insertions(+), 1 deletion(-) -- 2.40.1