Conversation
Skipping the reset assert leaves the controller in whatever state the bootloader handed over, while the combphy is re-initialised underneath it. When the board boots from NVMe the controller is still live, the PIPE clock drops out, and the first DBI read in rk_pcie_host_config() never completes. The rk-pcie probe thread then spins forever in dw_pcie_read(), wedging the CPU until RCU stalls. The property worked around SRST_PRESETN_CRU_PCIE being asserted, which no longer happens since commit 513192e ("arm64: dts: rockchip: rk3528: Remove pcie2x1 SRST_PRESETN_CRU_PCIE reset"). Fixes: fdb48b9 ("arch: arm64: dts: add rockchip,skip-reset-in-config to pcie2x1 node of rk3528") Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review. WalkthroughThe RK3528 device-tree configuration no longer sets Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No current change or unresolved risk was found in the reviewed PCIe configuration. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Skipping the reset assert leaves the controller in whatever state the bootloader handed over, while the combphy is re-initialised underneath it. When the board boots from NVMe the controller is still live, the PIPE clock drops out, and the first DBI read in rk_pcie_host_config() never completes. The rk-pcie probe thread then spins forever in dw_pcie_read(), wedging the CPU until RCU stalls.
The property worked around SRST_PRESETN_CRU_PCIE being asserted, which no longer happens since commit 513192e ("arm64: dts: rockchip: rk3528: Remove pcie2x1 SRST_PRESETN_CRU_PCIE reset").
Fixes: fdb48b9 ("arch: arm64: dts: add rockchip,skip-reset-in-config to pcie2x1 node of rk3528")