Skip to content

Monaco EVK fails to boot with UFS issues in qcom-next 6.19.0-rc4-g65bb05266d47 #172

@lool

Description

@lool

Hi

current qcom-next sometimes fails to boot on Monaco EVK with some UFS related errors:

[   10.232387] ufshcd-qcom 1d84000.ufs: UPIU[0] - Response UPIU phys@0xffffe0080
[   10.239713] UPIU RSP: 00000000: 00000000 00000000 00000000 00000000
[   10.246154] UPIU RSP: 00000010: 00000000 00000000 00000000 00000000
[   10.252593] UPIU RSP: 00000020: 00000000 00000000 00000000 00000000
[   10.259034] UPIU RSP: 00000030: 00000000
Begin: Running /scripts/local-block ... done.
[   10.263072] ufshcd-qcom 1d84000.ufs: UPIU[0] - PRDT - 0 entries  phys@0xffffe0100
Begin: Running /scripts/local-block ... done.
[   11.541599] ufshcd-qcom 1d84000.ufs: ufshcd_abort: Device abort task at tag 0
[   11.548962] ufshcd-qcom 1d84000.ufs: UPIU[0] - Transfer Request Descriptor phys@0xffffdf000
[   11.557539] UPIU TRD: 00000000: 11000000 00000000 0000000f 00000000
[   11.563973] UPIU TRD: 00000010: fffe0000 0000000f 00800080 01000000
[   11.570411] ufshcd-qcom 1d84000.ufs: UPIU[0] - Request UPIU phys@0xffffe0000
[   11.577652] UPIU REQ: 00000000: 00000000 00000000 00000000 00000000
[...]
[   22.366659] UPIU RSP: 00000030: 00000000
[   22.370727] ufshcd-qcom 1d84000.ufs: UPIU[0] - PRDT - 0 entries  phys@0xffffe0100
[   22.379677] ufshcd-qcom 1d84000.ufs: ufshcd_verify_dev_init: NOP OUT failed -5
[   22.392300] ufshcd-qcom 1d84000.ufs: error -EIO: Initialization failed with error -5
[   22.400420] ufshcd-qcom 1d84000.ufs: error -EIO: ufshcd_pltfrm_init() failed
[   22.407721] ufshcd-qcom 1d84000.ufs: probe with driver ufshcd-qcom failed with error -5

I can't provide a link to a CI device log as we don't have a Monaco EVK in the OSTT LAVA, but I do have CI for qcom-next builds; here's a flat image:
https://quic-yocto-fileserver-1029608027416.us-central1.run.app/qualcomm-linux/qcom-deb-images/20968824236-1/

I did noticed a thread about tcsrcc_sm8750 with similar error messages on linux-arm-msm@, and while it's present in the initramfs, it doesn't get loaded, not sure if that's relevant.

Attaching dmesg from a local boot on RB4:
dmesg-ufs-monaco-evk.txt

Sometimes, doing a warm reboot from initramfs works after that, sometimes cold booting works.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions