Part Number: AM5749
Tool/software:
Hello,
I noticed the same issue than a previous post "am5728-am57-hang-during-pcie-shutdown".
Indeed, on a custom AM5749 based board with both PCIe interfaces enabled, the kernel hang most of the time during a reboot.
The last kernel log is normal but nothing happen after that:
[ 57.943328] systemd-shutdown[1]: Rebooting.
[ 58.075653] reboot: Restarting system
The kernel reboot correctly each time as soon as both PCIe interfaces are disabled from the devicetree.
The kernel hang once with only one PCIe interface enabled (seems strange).
In order to reduce the bug occurrence, I applied the suggested workaround by adding 1ms in
ti_pipe3_power_off() before calling regmap_update_bits().
Note:
The second PCIe interface is limited to gen1 following a previous issue reported here am5749-pcie-pcie-scan-may-fail-on-pcie_ss2-when-pcie_ss1-and-pcie_ss2-are-in-single-line-mode.
The BSP use uboot 2022.01-ti, ti-rt-linux-6.1.y.
Best regards,
Romain