>Synopsis:      zzz on Honor Snapdragon leads to broken ufshci
>Category:      ufs
>Environment:
        System      : OpenBSD 7.7
        Details     : OpenBSD 7.7-current (GENERIC.MP) #41: Fri Aug  1 14:59:06 
MDT 2025
                         
dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP

        Architecture: OpenBSD.arm64
        Machine     : arm64
>Description:
        When I run zzz on Honor's Snapdragon it looks like this:

                Suspending system...
                uhub8 detached
                ugen0 detached
                uhub1 detached
                ure0 detached
                uhub2 detached
                uhub3 detached

        after that it stuck, until I press Power Button, and after that I do 
have
        tons of:

                ufshci0: ufshci_lls_poll: timeout
                config_activate_children: device ufshci0 failed 4
                failing resume cannot be handled
                config_activate_children: device simplebus0 failed 4
                failing resume cannot be handled
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 154925264
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 154888848
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 154925264
                usb0: root hub problem
                usb1: root hub problem
                usb2: root hub problem
                usb3: root hub problem
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 154928016
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 154888848
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 77058320
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 77014672
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 217323792
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 217280144
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 68669776
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 68626128
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 62863560
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 628591952
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 82768
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 66192
                ufshci0: ufshci_utr_cmd_io: UTRLRSR not set
                softraid0: sd1: I/O error 5 @ CRYPTO block 154928016
>How-To-Repeat:
        Try to zzz and press Power Button when it stuck.
>Fix:
        Have no idea.

dmesg:
OpenBSD 7.7-current (GENERIC.MP) #41: Fri Aug  1 14:59:06 MDT 2025
    dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP
real mem  = 33760444416 (32196MB)
avail mem = 32675098624 (31161MB)
random: good seed from bootblocks
mainbus0 at root: HONOR MagicBook Art 14 Snapdragon
psci0 at mainbus0: PSCI 1.1, SMCCC 1.3, SYSTEM_SUSPEND
efi0 at mainbus0: UEFI 2.9
efi0: INSYDE Corp. rev 0x0
smbios0 at efi0: SMBIOS 3.6.0
smbios0: vendor HONOR version "1.12" date 11/07/2024
smbios0: HONOR MRO-XXX
cpu0 at mainbus0 mpidr 0: Qualcomm Oryon r2p1
cpu0: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu0: 12288KB 64b/line 12-way L2 cache
cpu0: 
RNDR,TLBIOS+IRANGE,TS+AXFLAG,FHM,DP,SM4,SM3,SHA3,RDM,Atomic,CRC32,SHA2+SHA512,SHA1,AES+PMULL,I8MM,BF16,SPECRES,SB,FRINTTS,GPA,LRCPC+LDAPUR,FCMA,JSCVT,APA+EPAC2+FPAC+COMBINED,DPB+DCCVADP,CLRBHB,RPRES,ECV+CNTHCTL,ASID16,AFP,SpecSEI,PAN+ATS1E1+EPAN,LO,HPDS,VH,IDS,AT,CSV3,CSV2,DIT,AMUv1p1,RASv1p1,AdvSIMD+HP,FP+HP,BT,SSBS+MSR
cpu1 at mainbus0 mpidr 100: Qualcomm Oryon r2p1
cpu1: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu1: 12288KB 64b/line 12-way L2 cache
cpu2 at mainbus0 mpidr 200: Qualcomm Oryon r2p1
cpu2: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu2: 12288KB 64b/line 12-way L2 cache
cpu3 at mainbus0 mpidr 300: Qualcomm Oryon r2p1
cpu3: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu3: 12288KB 64b/line 12-way L2 cache
cpu4 at mainbus0 mpidr 10000: Qualcomm Oryon r1p1
cpu4: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu4: 12288KB 64b/line 12-way L2 cache
cpu5 at mainbus0 mpidr 10100: Qualcomm Oryon r1p1
cpu5: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu5: 12288KB 64b/line 12-way L2 cache
cpu6 at mainbus0 mpidr 10200: Qualcomm Oryon r1p1
cpu6: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu6: 12288KB 64b/line 12-way L2 cache
cpu7 at mainbus0 mpidr 10300: Qualcomm Oryon r1p1
cpu7: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu7: 12288KB 64b/line 12-way L2 cache
cpu8 at mainbus0 mpidr 20000: Qualcomm Oryon r1p1
cpu8: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu8: 12288KB 64b/line 12-way L2 cache
cpu9 at mainbus0 mpidr 20100: Qualcomm Oryon r1p1
cpu9: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu9: 12288KB 64b/line 12-way L2 cache
cpu10 at mainbus0 mpidr 20200: Qualcomm Oryon r1p1
cpu10: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu10: 12288KB 64b/line 12-way L2 cache
cpu11 at mainbus0 mpidr 20300: Qualcomm Oryon r1p1
cpu11: 192KB 64b/line 6-way L1 PIPT I-cache, 96KB 64b/line 6-way L1 D-cache
cpu11: 12288KB 64b/line 12-way L2 cache
qcscm0 at mainbus0
scmi0 at mainbus0
"gunyah-hyp" at mainbus0 not configured
"hyp-elf-package" at mainbus0 not configured
"ncc" at mainbus0 not configured
"cpucp-log" at mainbus0 not configured
"cpucp" at mainbus0 not configured
"reserved-region" at mainbus0 not configured
"tags-region" at mainbus0 not configured
"xbl-dtlog" at mainbus0 not configured
"xbl-ramdump" at mainbus0 not configured
"aop-image" at mainbus0 not configured
"aop-cmd-db" at mainbus0 not configured
"aop-config" at mainbus0 not configured
"tme-crash-dump" at mainbus0 not configured
"tme-log" at mainbus0 not configured
"uefi-log" at mainbus0 not configured
"secdata-apss" at mainbus0 not configured
"pdp-ns-shared" at mainbus0 not configured
"gpu-prr" at mainbus0 not configured
"tpm-control" at mainbus0 not configured
"usb-ucsi-shared" at mainbus0 not configured
"pld-pep" at mainbus0 not configured
"pld-gmu" at mainbus0 not configured
"pld-pdp" at mainbus0 not configured
"tz-stat" at mainbus0 not configured
"xbl-tmp-buffer" at mainbus0 not configured
"adsp-rpc-remote-heap" at mainbus0 not configured
"spu-secure-shared-memory" at mainbus0 not configured
"adsp-boot-dtb" at mainbus0 not configured
"spss-region" at mainbus0 not configured
"adsp-boot" at mainbus0 not configured
"video" at mainbus0 not configured
"adspslpi" at mainbus0 not configured
"q6-adsp-dtb" at mainbus0 not configured
"cdsp" at mainbus0 not configured
"q6-cdsp-dtb" at mainbus0 not configured
"gpu-microcode" at mainbus0 not configured
"cvp" at mainbus0 not configured
"camera" at mainbus0 not configured
"av1-encoder" at mainbus0 not configured
"reserved-region" at mainbus0 not configured
"wpss" at mainbus0 not configured
"q6-wpss-dtb" at mainbus0 not configured
"xbl-sc" at mainbus0 not configured
"reserved-region" at mainbus0 not configured
"qtee" at mainbus0 not configured
"ta" at mainbus0 not configured
"tags" at mainbus0 not configured
"llcc-lpi" at mainbus0 not configured
qcsmem0 at mainbus0
"linux,cma" at mainbus0 not configured
apm0 at mainbus0
"clocks" at mainbus0 not configured
"dummy-sink" at mainbus0 not configured
"firmware" at mainbus0 not configured
"interconnect-0" at mainbus0 not configured
"interconnect-1" at mainbus0 not configured
"pmu" at mainbus0 not configured
"opp-table-qup100mhz" at mainbus0 not configured
"opp-table-qup120mhz" at mainbus0 not configured
qcsmptp0 at mainbus0
qcsmptp1 at mainbus0
simplebus0 at mainbus0: "soc"
qcmtx0 at simplebus0
syscon0 at simplebus0: "clock-controller"
qcgpio0 at simplebus0
agintc0 at simplebus0 shift 4:4 nirq 1024 nredist 12 ipi 0: 
"interrupt-controller"
agintcmsi0 at agintc0
"clock-controller" at simplebus0 not configured
qcipcc0 at simplebus0
simplebus1 at simplebus0: "geniqup"
"serial" at simplebus1 not configured
simplebus2 at simplebus0: "geniqup"
qciic0 at simplebus2
iic0 at qciic0
ihidev0 at iic0 addr 0x38 irq, vendor 0x2808 product 0x5662, hid-over-i2c
ihidev0: 16 report ids
ims0 at ihidev0 reportid 1: 1 button, tip
wsmouse0 at ims0 mux 0
hid at ihidev0 reportid 2 not configured
hid at ihidev0 reportid 5 not configured
hid at ihidev0 reportid 6 not configured
hid at ihidev0 reportid 16 not configured
qciic1 at simplebus2
iic1 at qciic1
ihidev1 at iic1 addr 0x3a irq, vendor 0x49f product 0x5343, hid-over-i2c
ihidev1: 5 report ids
ikbd0 at ihidev1 reportid 1: 8 variable keys, 6 key codes
wskbd0 at ikbd0: console keyboard
icc0 at ihidev1 reportid 3: 573 usages, 20 keys, array
wskbd1 at icc0 mux 1
hid at ihidev1 reportid 5 not configured
simplebus3 at simplebus0: "geniqup"
qciic2 at simplebus3
iic2 at qciic2
ihidev2 at iic2 addr 0x5d irq, vendor 0x35cc product 0x104, hid-over-i2c
ihidev2: 14 report ids
imt0 at ihidev2ihidev2: failed fetching report

imt0: failed getting capability report
ims1 at ihidev2 reportid 1: 3 buttons, Z dir
wsmouse1 at ims1 mux 0
hid at ihidev2 reportid 5 not configured
hid at ihidev2 reportid 6 not configured
hid at ihidev2 reportid 7 not configured
icc1 at ihidev2 reportid 8: 768 usages, 20 keys, array
wskbd2 at icc1 mux 1
hid at ihidev2 reportid 14 not configured
qciic3 at simplebus3
iic3 at qciic3
"nxp,ptn3222" at iic3 addr 0x43 not configured
"nxp,ptn3222" at iic3 addr 0x4f not configured
qctsens0 at simplebus0
qctsens1 at simplebus0
qctsens2 at simplebus0
qctsens3 at simplebus0
"phy" at simplebus0 not configured
"phy" at simplebus0 not configured
"phy" at simplebus0 not configured
"phy" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
dwpcie0 at simplebus0
"phy" at simplebus0 not configured
ufshci0 at simplebus0, UFSHCI 4.00
scsibus0 at ufshci0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <MICRON, MT001TAYAX8U40, 0106>
sd0: 973048MB, 4096 bytes/sector, 249100288 sectors
"phy" at simplebus0 not configured
"crypto" at simplebus0 not configured
"gpu" at simplebus0 not configured
"gmu" at simplebus0 not configured
"clock-controller" at simplebus0 not configured
smmu0 at simplebus0: disabled
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
qcpas0 at simplebus0
"codec" at simplebus0 not configured
"soundwire" at simplebus0 not configured
"codec" at simplebus0 not configured
"soundwire" at simplebus0 not configured
"codec" at simplebus0 not configured
"codec" at simplebus0 not configured
"soundwire" at simplebus0 not configured
"clock-controller" at simplebus0 not configured
"soundwire" at simplebus0 not configured
"codec" at simplebus0 not configured
"pinctrl" at simplebus0 not configured
"clock-controller" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"interconnect" at simplebus0 not configured
"phy" at simplebus0 not configured
"phy" at simplebus0 not configured
"phy" at simplebus0 not configured
qcdwusb0 at simplebus0: "usb"
xhci0 at qcdwusb0, xHCI 1.10
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 
addr 1
qcdwusb1 at simplebus0: "usb"
xhci1 at qcdwusb1, xHCI 1.10
usb1 at xhci1: USB revision 3.0
uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 
addr 1
qcdwusb2 at simplebus0: "usb"
xhci2 at qcdwusb2, xHCI 1.10
usb2 at xhci2: USB revision 3.0
uhub2 at usb2 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 
addr 1
qcdwusb3 at simplebus0: "usb"
xhci3 at qcdwusb3, xHCI 1.10
usb3 at xhci3: USB revision 3.0
uhub3 at usb3 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 
addr 1
qcdrm0 at simplebus0: "display-subsystem"
"display-controller" at qcdrm0 not configured
qcdpc0 at qcdrm0
"panel" at qcdpc0 not configured
"phy" at simplebus0 not configured
"clock-controller" at simplebus0 not configured
qcpdc0 at simplebus0
qcaoss0 at simplebus0
"sram" at simplebus0 not configured
qcspmi0 at simplebus0
qcpmic0 at qcspmi0 sid 0x0
qcpon0 at qcpmic0
qcrtc0 at qcpmic0
qcsdam0 at qcpmic0
qcpmicgpio0 at qcpmic0: no pins
qcpwm0 at qcpmic0
qcpmic1 at qcspmi0 sid 0x1
qcpmicgpio1 at qcpmic1: no pins
qcpwm1 at qcpmic1
qcpmic2 at qcspmi0 sid 0x2
qcpmicgpio2 at qcpmic2: no pins
qcpmic3 at qcspmi0 sid 0x3
qcpmicgpio3 at qcpmic3
qcpmic4 at qcspmi0 sid 0x4
qcpmicgpio4 at qcpmic4
qcpmic5 at qcspmi0 sid 0x5
qcpmicgpio5 at qcpmic5
qcpmic6 at qcspmi0 sid 0x6
qcpmicgpio6 at qcpmic6
qcpmic7 at qcspmi0 sid 0x8
qcpmicgpio7 at qcpmic7: no pins
qcpmic8 at qcspmi0 sid 0x9
qcpmicgpio8 at qcpmic8: no pins
qcpmic9 at qcspmi0 sid 0xc
"stm" at simplebus0 not configured
"tpda" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"funnel" at simplebus0 not configured
"funnel" at simplebus0 not configured
"funnel" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"funnel" at simplebus0 not configured
"cti" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpda" at simplebus0 not configured
"funnel" at simplebus0 not configured
"funnel" at simplebus0 not configured
"tmc" at simplebus0 not configured
"replicator" at simplebus0 not configured
"tpda" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"funnel" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpda" at simplebus0 not configured
"funnel" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpda" at simplebus0 not configured
"funnel" at simplebus0 not configured
"tpda" at simplebus0 not configured
"funnel" at simplebus0 not configured
"funnel" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpdm" at simplebus0 not configured
"tpda" at simplebus0 not configured
"funnel" at simplebus0 not configured
smmu1 at simplebus0: disabled
qccpucp0 at simplebus0
"rsc" at simplebus0 not configured
"timer" at simplebus0 not configured
"sram" at simplebus0 not configured
"pmu" at simplebus0 not configured
"pmu" at simplebus0 not configured
"pmu" at simplebus0 not configured
"pmu" at simplebus0 not configured
"system-cache-controller" at simplebus0 not configured
"remoteproc" at simplebus0 not configured
pci0 at dwpcie0
ppb0 at pci0 dev 0 function 0 "Qualcomm X1E80100 PCIe" rev 0x00: msi
pci1 at ppb0 bus 1
"Qualcomm WCN7850" rev 0x01 at pci1 dev 0 function 0 not configured
agtimer0 at mainbus0: 19200 kHz
"audio-codec" at mainbus0 not configured
gpiokeys0 at mainbus0
"pmic-glink" at mainbus0 not configured
"sound" at mainbus0 not configured
"regulator-edp-3p3" at mainbus0 not configured
"regulator-misc-3p3" at mainbus0 not configured
"regulator-vph-pwr" at mainbus0 not configured
scmi0: SCMI 2.0
ugen0 at uhub1 port 2 "FPC FPC L:2407 FW:3334143" rev 2.00/1.43 addr 2
ure0 at uhub2 port 2 configuration 1 interface 0 "Realtek USB 10/100/1G/2.5G 
LAN" rev 3.20/31.04 addr 2
ure0: RTL8156B (0x7410), address 9c:bf:0d:00:a8:ba
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
sd1 at scsibus2 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd1: 973031MB, 4096 bytes/sector, 249096057 sectors
root on sd1a (12bb2b6fccc47344.a) swap on sd1b dump on sd1b
scmi0: SCMI_PERF_LEVEL_SET failed
simplefb0 at mainbus0: 2880x1920, 32bpp
wsdisplay0 at simplefb0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wskbd2: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
qcpas0: all intents in use
ure0 detached
ure0 at uhub2 port 2 configuration 1 interface 0 "Realtek USB 10/100/1G/2.5G 
LAN" rev 3.20/31.04 addr 2
ure0: RTL8156B (0x7410), address 9c:bf:0d:00:a8:ba

usbdevs:
Controller /dev/usb0:
addr 01: 0000:0000 Generic, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub0
Controller /dev/usb1:
addr 01: 0000:0000 Generic, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub1
addr 02: 10a5:9924 FPC, FPC L:2407 FW:3334143
         full speed, power 100 mA, config 1, rev 1.43
         driver: ugen0
Controller /dev/usb2:
addr 01: 0000:0000 Generic, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub2
addr 02: 0bda:8156 Realtek, USB 10/100/1G/2.5G LAN
         super speed, power 64 mA, config 1, rev 31.04, iSerial 4013000001
         driver: ure0
Controller /dev/usb3:
addr 01: 0000:0000 Generic, xHCI root hub
         super speed, self powered, config 1, rev 1.00
         driver: uhub3


--
wbr, Kirill

Reply via email to