Search Linux Wireless

ath11k and vfio-pci support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

For a while now I've been using vfio-pci to pass through wireless hardware to a Qemu VM. This makes testing kernel changes quick and easy compared to swapping the host kernel for reach iterative change. So far I've had very few issues doing this, maybe I've just been lucky... I tried doing this with an ath11k (WCN6855) card and ran into issues with the driver starting up. I'm wondering if its a configuration issue or just a lack of support by ath11k? The card works just fine when I use it on my host machine. Based on the logs it may not even be related to ath11k as wmi-bmof seems to fail first, but I'm not familiar with anything at the PCI level so I've got no idea whats going on.

My host machine is running 5.19

Booting into a 6.2 kernel with Qemu

Below is a partial kernel log of relevant messages:

[    0.318120] ath11k_pci 0000:00:06.0: BAR 0: assigned [mem 0x100000000-0x1001fffff 64bit]
[    0.319006] ath11k_pci 0000:00:06.0: MSI vectors: 1
[    0.319075] ath11k_pci 0000:00:06.0: wcn6855 hw2.1
[    0.475326] mhi mhi0: Requested to power ON
[    0.475333] mhi mhi0: Power on setup success
[    1.440375] Driver 'wmi-bmof' was unable to register with bus_type 'wmi' because the bus was not initialized. [    1.459667] ath11k_pci 0000:00:06.0: chip_id 0x12 chip_family 0xb board_id 0xff soc_id 0x400c1211 [    1.459674] ath11k_pci 0000:00:06.0: fw_version 0x1109996e fw_build_timestamp 2023-12-19 11:11 fw_build_id WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.36 [    1.528705] ath11k_pci 0000:00:06.0: leaving PCI ASPM disabled to avoid MHI M2 problems [    2.537835] ath11k_pci 0000:00:06.0: failed to receive control response completion, polling..
[    3.562151] ath11k_pci 0000:00:06.0: Service connect timeout
[    3.563511] ath11k_pci 0000:00:06.0: failed to connect to HTT: -110
[    3.565375] ath11k_pci 0000:00:06.0: failed to start core: -110
[    3.776067] ath11k_pci 0000:00:06.0: ignore reset dev flags 0x4000
[   13.802149] ath11k_pci 0000:00:06.0: failed to wait wlan mode request (mode 4): -110 [   13.802163] ath11k_pci 0000:00:06.0: qmi failed to send wlan mode off: -110




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux