Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: sys/qwz: initialize on Snapdragon but fails on scan
To:
Mark Kettenis <mark.kettenis@xs4all.nl>
Cc:
tech@openbsd.org
Date:
Thu, 02 Apr 2026 21:45:48 +0200

Download raw body.

Thread
  • Mark Kettenis:

    sys/qwz: initialize on Snapdragon but fails on scan

  • On Thu, 02 Apr 2026 21:41:47 +0200,
    Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
    > 
    > > Date: Sun, 29 Mar 2026 21:23:36 +0200
    > > From: Kirill A. Korinsky <kirill@korins.ky>
    > > 
    > > tech@,
    > > 
    > > I'd like to share some work which I pocking around with attempt to move
    > > forward with qwz driver.
    > > 
    > > I've attached 3 diffs where:
    > > 
    > > 1. fixed a copy and typo in DTS for my Honor machine;
    > > 2. updated qwz firmware to the last version;
    > > 3. a bit of work in qwz.
    > > 
    > > Right now, after boot qwz reads like this:
    > > 
    > > qwz0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
    > >         lladdr 3c:0a:f3:d3:55:c5
    > >         index 1 priority 4 llprio 3
    > >         groups: wlan
    > >         media: IEEE802.11 autoselect
    > >         status: no network
    > >         ieee80211: nwid ""
    > > 
    > > and attempt to up an interface leads to firmware crash.
    > > 
    > > Scope of qwz work:
    > > 1. Fixed a crash on my machine which was suggested as:
    > > https://marc.info/?l=openbsd-tech&m=177410294328488&w=2
    > > 2. Implemented world reg domain like ath12k
    > > 3. Fully filled flags and follow ath12k logic with peer-metadata
    > > 4. Increased RDDM size and synced timeouts with ath12k
    > > 
    > > This work was like read how ath12k works, and figure out what we do the
    > > wrong way. Right now qwz works more or less the same way, and I run out of
    > > ideas why it crashing. Any suggestion and ideas are welcome.
    > 
    > FWIW, on my vivobook this diff gives me (with QWZ_DEBUG enabled):
    >
    
    Which version of firmware do you use? new one or from ports?
    
    > OpenBSD 7.9-beta (GENERIC.MP) #0: Thu Apr  2 21:33:13 CEST 2026
    >     kettenis@massenet.sibelius.xs4all.nl:/home/kettenis/src/qwz/sys/arch/arm64/compile/GENERIC.MP
    > real mem  = 16621527040 (15851MB)
    > avail mem = 16064217088 (15320MB)
    > random: good seed from bootblocks
    > mainbus0 at root: ASUS Vivobook S 15
    > 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 Insyde version "S5507QAD.367" date 08/08/2025
    > smbios0: ASUSTeK COMPUTER INC. ASUS Vivobook S 15 S5507QA_S5507QAD
    > 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"
    > simplebus2 at simplebus0: "geniqup"
    > "serial" at simplebus2 not configured
    > simplebus3 at simplebus0: "geniqup"
    > qciic0 at simplebus3
    > iic0 at qciic0
    > ihidev0 at iic0 addr 0x15 irq, vendor 0x93a product 0x3016, hid-over-i2c
    > ihidev0: 84 report ids
    > imt0 at ihidev0: clickpad, 5 contacts
    > wsmouse0 at imt0 mux 0
    > ims0 at ihidev0 reportid 1: 2 buttons, Z and W dir
    > wsmouse1 at ims0 mux 0
    > hid at ihidev0 reportid 5 not configured
    > hid at ihidev0 reportid 6 not configured
    > hid at ihidev0 reportid 7 not configured
    > hid at ihidev0 reportid 11 not configured
    > hid at ihidev0 reportid 13 not configured
    > hid at ihidev0 reportid 65 not configured
    > hid at ihidev0 reportid 66 not configured
    > hid at ihidev0 reportid 67 not configured
    > qciic1 at simplebus3
    > iic1 at qciic1
    > qciic2 at simplebus3
    > iic2 at qciic2
    > qciic3 at simplebus3
    > iic3 at qciic3
    > ihidev1 at iic3 addr 0x3a irq, vendor 0xb05 product 0x4543, hid-over-i2c
    > ihidev1: 90 report ids
    > hid at ihidev1 reportid 6 not configured
    > hid at ihidev1 reportid 53 not configured
    > ikbd0 at ihidev1 reportid 54: 8 variable keys, 6 key codes
    > wskbd0 at ikbd0: console keyboard
    > icc0 at ihidev1 reportid 55: 573 usages, 20 keys, array
    > wskbd1 at icc0 mux 1
    > hid at ihidev1 reportid 57 not configured
    > hid at ihidev1 reportid 58 not configured
    > iasuskbd0 at ihidev1 reportid 90
    > wskbd2 at iasuskbd0 mux 1
    > "nxp,ptn3222" at iic3 addr 0x43 not configured
    > "nxp,ptn3222" at iic3 addr 0x47 not configured
    > "nxp,ptn3222" at iic3 addr 0x4f not configured
    > qciic4 at simplebus3
    > iic4 at qciic4
    > 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
    > dwpcie1 at simplebus0
    > "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
    > "codec" at simplebus0 not configured
    > "codec" at simplebus0 not configured
    > "codec" at simplebus0 not configured
    > "clock-controller" 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
    > "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
    > "watchdog" 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
    > nvme0 at pci1 dev 0 function 0 "Micron Technology NVMe" rev 0x03: msix, NVMe 1.4
    > nvme0: MTFDKBA1T0QFM-1BD1AABGB, firmware V3MA101, serial 24134826F0B0
    > scsibus0 at nvme0: 2 targets, initiator 0
    > sd0 at scsibus0 targ 1 lun 0: <NVMe, MTFDKBA1T0QFM-1B, V3MA>
    > sd0: 976762MB, 512 bytes/sector, 2000409264 sectors
    > pci2 at dwpcie1
    > ppb1 at pci2 dev 0 function 0 "Qualcomm X1E80100 PCIe" rev 0x00: msi
    > pci3 at ppb1 bus 1
    > qwz0 at pci3 dev 0 function 0 "Qualcomm WCN7850" rev 0x01: msi
    > qwz0: wcn7850 hw2.0
    > agtimer0 at mainbus0: 19200 kHz
    > gpiokeys0 at mainbus0
    > "pmic-glink" at mainbus0 not configured
    > "regulator-edp-3p3" at mainbus0 not configured
    > "regulator-nvme" at mainbus0 not configured
    > "regulator-vph-pwr" at mainbus0 not configured
    > "regulator-wcn-0p95" at mainbus0 not configured
    > "regulator-wcn-1p9" at mainbus0 not configured
    > "regulator-wcn-3p3" at mainbus0 not configured
    > "wcn7850-pmu" at mainbus0 not configured
    > scmi0: SCMI 2.0
    > ure0 at uhub1 port 2 configuration 1 interface 0 "TP-LINK USB 10/100/1000 LAN" rev 2.10/30.00 addr 2
    > ure0: RTL8153 (0x5c20), address f4:f2:6d:18:1a:e2
    > rgephy0 at ure0 phy 0: RTL8251, rev. 0
    > vscsi0 at root
    > scsibus1 at vscsi0: 256 targets
    > softraid0 at root
    > scsibus2 at softraid0: 256 targets
    > root on sd0a (028aa6e8f32624c1.a) swap on sd0b dump on sd0b
    > qcpas0: failed to receive ready signal
    > qcpas0: failed to boot coprocessor
    > qwz0: allocated 15466496 bytes of DMA memory for firmware
    > qwz_qmi_mem_seg_send: mem seg[0] addr=e36a0000 size=7012352 type=1
    > qwz_qmi_mem_seg_send: mem seg[1] addr=e3d50000 size=8454144 type=4
    > qwz0: chip_id 0x2 chip_family 0x4 board_id 0xff soc_id 0x40170200
    > qwz0: fw_version 0x1108811c fw_build_timestamp 2025-05-17 00:21 fw_build_id WLAN.HMT.1.1.c5-00284.1-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
    > _qwz_core_create_board_name: using board name 'bus=pci,vendor=17cb,device=1107,subsystem-vendor=105b,subsystem-device=e0ef,qmi-chip-id=2,qmi-board-id=255'
    > _qwz_core_create_board_name: using board name 'bus=pci'
    > qwz_core_parse_bd_ie_board: found match regdb data for name 'bus=pci'qwz_core_parse_bd_ie_board: found regdb data for 'bus=pci'qwz_qmi_load_bdf_qmi: type 4
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 4
    > qwz_qmi_load_file_target_mem: bdf download request remaining 18166
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 4
    > qwz_qmi_load_file_target_mem: bdf download request remaining 12022
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 4
    > qwz_qmi_load_file_target_mem: bdf download request remaining 5878
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 4
    > qwz_qmi_load_file_target_mem: bdf download request remaining 0
    > qwz_qmi_load_bdf_qmi: BDF download sequence completed
    > _qwz_core_create_board_name: using board name 'bus=pci,vendor=17cb,device=1107,subsystem-vendor=105b,subsystem-device=e0ef,qmi-chip-id=2,qmi-board-id=255'
    > qwz_core_parse_bd_ie_board: found match board data for name 'bus=pci,vendor=17cb,device=1107,subsystem-vendor=105b,subsystem-device=e0ef,qmi-chip-id=2,qmi-board-id=255'qwz_core_parse_bd_ie_board: found board data for 'bus=pci,vendor=17cb,device=1107,subsystem-vendor=105b,subsystem-device=e0ef,qmi-chip-id=2,qmi-board-id=255'qwz_qmi_load_bdf_qmi: type 1
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 82616
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 76472
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 70328
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 64184
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 58040
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 51896
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 45752
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 39608
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 33464
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 27320
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 21176
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 15032
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 8888
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 2744
    > qwz_qmi_load_file_target_mem: bdf download req fixed addr type 1
    > qwz_qmi_load_file_target_mem: bdf download request remaining 0
    > qwz_qmi_load_bdf_qmi: BDF download sequence completed
    > qwz_hal_srng_update_shadow_config: target_reg a3b04c, shadow reg 0x8fc shadow_idx 0x0, ring_type 0, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a3b054, shadow reg 0x900 shadow_idx 0x1, ring_type 0, ring num 1
    > qwz_hal_srng_update_shadow_config: target_reg a3b05c, shadow reg 0x904 shadow_idx 0x2, ring_type 0, ring num 2
    > qwz_hal_srng_update_shadow_config: target_reg a3b064, shadow reg 0x908 shadow_idx 0x3, ring_type 0, ring num 3
    > qwz_hal_srng_update_shadow_config: target_reg a3b06c, shadow reg 0x90c shadow_idx 0x4, ring_type 0, ring num 4
    > qwz_hal_srng_update_shadow_config: target_reg a3b074, shadow reg 0x910 shadow_idx 0x5, ring_type 0, ring num 5
    > qwz_hal_srng_update_shadow_config: target_reg a3b07c, shadow reg 0x914 shadow_idx 0x6, ring_type 0, ring num 6
    > qwz_hal_srng_update_shadow_config: target_reg a3b084, shadow reg 0x918 shadow_idx 0x7, ring_type 0, ring num 7
    > qwz_hal_srng_update_shadow_config: target_reg a3b08c, shadow reg 0x91c shadow_idx 0x8, ring_type 1, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a3b028, shadow reg 0x920 shadow_idx 0x9, ring_type 2, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a3b020, shadow reg 0x924 shadow_idx 0xa, ring_type 3, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a3b0ac, shadow reg 0x928 shadow_idx 0xb, ring_type 4, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a46000, shadow reg 0x92c shadow_idx 0xc, ring_type 5, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a46008, shadow reg 0x930 shadow_idx 0xd, ring_type 5, ring num 1
    > qwz_hal_srng_update_shadow_config: target_reg a46010, shadow reg 0x934 shadow_idx 0xe, ring_type 5, ring num 2
    > qwz_hal_srng_update_shadow_config: target_reg a46018, shadow reg 0x938 shadow_idx 0xf, ring_type 5, ring num 3
    > qwz_hal_srng_update_shadow_config: target_reg a46020, shadow reg 0x93c shadow_idx 0x10, ring_type 5, ring num 4
    > qwz_hal_srng_update_shadow_config: target_reg a46028, shadow reg 0x940 shadow_idx 0x11, ring_type 6, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a4604c, shadow reg 0x944 shadow_idx 0x12, ring_type 7, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a370b8, shadow reg 0x948 shadow_idx 0x13, ring_type 11, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a37010, shadow reg 0x94c shadow_idx 0x14, ring_type 12, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a370cc, shadow reg 0x950 shadow_idx 0x15, ring_type 13, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg a370d4, shadow reg 0x954 shadow_idx 0x16, ring_type 13, ring num 1
    > qwz_hal_srng_update_shadow_config: target_reg a370dc, shadow reg 0x958 shadow_idx 0x17, ring_type 13, ring num 2
    > qwz_hal_srng_update_shadow_config: target_reg a370e4, shadow reg 0x95c shadow_idx 0x18, ring_type 13, ring num 3
    > qwz_hal_srng_update_shadow_config: target_reg a370ec, shadow reg 0x960 shadow_idx 0x19, ring_type 13, ring num 4
    > qwz_hal_srng_update_shadow_config: target_reg a370f4, shadow reg 0x964 shadow_idx 0x1a, ring_type 13, ring num 5
    > qwz_hal_srng_update_shadow_config: target_reg a370fc, shadow reg 0x968 shadow_idx 0x1b, ring_type 13, ring num 6
    > qwz_hal_srng_update_shadow_config: target_reg a37104, shadow reg 0x96c shadow_idx 0x1c, ring_type 13, ring num 7
    > qwz_hal_srng_update_shadow_config: target_reg 1b80400, shadow reg 0x970 shadow_idx 0x1d, ring_type 8, ring num 0
    > qwz_hal_srng_update_shadow_config: target_reg 1b83400, shadow reg 0x974 shadow_idx 0x1e, ring_type 9, ring num 1
    > qwz_hal_srng_update_shadow_config: target_reg 1b8340c, shadow reg 0x978 shadow_idx 0x1f, ring_type 10, ring num 1
    > qwz_hal_srng_update_shadow_config: target_reg 1b85400, shadow reg 0x97c shadow_idx 0x20, ring_type 9, ring num 2
    > qwz_hal_srng_update_shadow_config: target_reg 1b8540c, shadow reg 0x980 shadow_idx 0x21, ring_type 10, ring num 2
    > qwz_hal_srng_update_shadow_config: target_reg 1b86400, shadow reg 0x984 shadow_idx 0x22, ring_type 8, ring num 3
    > qwz_hal_srng_update_shadow_config: target_reg 1b88400, shadow reg 0x988 shadow_idx 0x23, ring_type 8, ring num 4
    > qwz0: firmware start
    > qwz0: type 8 ring_num 0 reg_base 0x1b80400 shadow 0x970
    > qwz0: type 9 ring_num 1 reg_base 0x1b83400 shadow 0x974
    > qwz0: type 10 ring_num 1 target_reg 0x1b8340c shadow 0x978
    > qwz0: type 9 ring_num 2 reg_base 0x1b85400 shadow 0x97c
    > qwz0: type 10 ring_num 2 target_reg 0x1b8540c shadow 0x980
    > qwz0: type 8 ring_num 3 reg_base 0x1b86400 shadow 0x984
    > qwz0: type 8 ring_num 4 reg_base 0x1b88400 shadow 0x988
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 11,ring_num 0
    > qwz0: type 11 ring_num 0 reg_base 0xa370b8 shadow 0x948
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 12,ring_num 0
    > qwz0: type 12 ring_num 0 reg_base 0xa37010 shadow 0x94c
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 5,ring_num 0
    > qwz0: type 5 ring_num 0 reg_base 0xa46000 shadow 0x92c
    > qwz0: type 13 ring_num 0 target_reg 0xa370cc shadow 0x950
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 5,ring_num 1
    > qwz0: type 5 ring_num 1 reg_base 0xa46008 shadow 0x930
    > qwz0: type 13 ring_num 2 target_reg 0xa370dc shadow 0x958
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 5,ring_num 2
    > qwz0: type 5 ring_num 2 reg_base 0xa46010 shadow 0x934
    > qwz0: type 13 ring_num 4 target_reg 0xa370ec shadow 0x960
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 2,ring_num 0
    > qwz0: type 2 ring_num 0 reg_base 0xa3b028 shadow 0x920
    > qwz0: type 13 ring_num 3 target_reg 0xa370e4 shadow 0x95c
    > qwz0: type 1 ring_num 0 target_reg 0xa3b08c shadow 0x91c
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 3,ring_num 0
    > qwz0: type 3 ring_num 0 reg_base 0xa3b020 shadow 0x924
    > qwz0: type 4 ring_num 0 target_reg 0xa3b0ac shadow 0x928
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 14,ring_num 0
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 14,ring_num 1
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 14,ring_num 2
    > qwz_dp_srng_msi_setup ring not part of an ext_group; ring_type 15,ring_num 0
    > qwz0: type 0 ring_num 0 target_reg 0xa3b04c shadow 0x8fc
    > qwz0: type 0 ring_num 1 target_reg 0xa3b054 shadow 0x900
    > qwz0: type 0 ring_num 2 target_reg 0xa3b05c shadow 0x904
    > qwz0: type 0 ring_num 3 target_reg 0xa3b064 shadow 0x908
    > qwz_wmi_tlv_op_rx: 0x16005: update fw mem dump
    > qwz_core_start: failed to receive wmi unified ready event: -1
    > qwz0: failed to start core: -1
    > simplefb0 at mainbus0: 2880x1615, 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)
    
    -- 
    wbr, Kirill
    
    
  • Mark Kettenis:

    sys/qwz: initialize on Snapdragon but fails on scan