Search Linux Wireless

Re: [PATCH] ath11k: update debugfs support for mupltiple radios in PCI bus

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

 



Anilkumar Kolli <akolli@xxxxxxxxxxxxxx> wrote:

> debugfs_ath11k struct is moved to ath11k_core, since its common
> for both pci and ahb.
> 
> Current ath11k_pci insmod fails if there are multiple PCI rdaios,
> 
>  ath11k_pci 0000:01:00.0: Hardware name qcn9074 hw1.0
>  debugfs: Directory 'ath11k' with parent '/' already present!
>  ath11k_pci 0000:01:00.0: failed to create ath11k debugfs
>  ath11k_pci 0000:01:00.0: failed to create soc core: -17
>  ath11k_pci 0000:01:00.0: failed to init core: -17
>  ath11k_pci: probe of 0000:01:00.0 failed with error -17
> 
> To avoid the failure, debugfs directory is created with soc_name
> and bus_id to allow creating debugfs directory for second PCI radio.
> 
> with this Debugfs entries looks like,
>  # ls -l /sys/kernel/debug/ath11k/
>  ipq8074 hw2.0 qcn9000 hw1.0_0000:01:00.0 qcn9000 hw1.0_0001:01:00.0
> 
>  # ls -l /sys/kernel/debug/ath11k/ipq8074 hw2.0/
>   mac0  mac1 simulate_fw_crash soc_dp_stats
> 
>  # ls -l /sys/kernel/debug/ath11k/qcn9000 hw1.0_0000:01:00.0
>   mac0 simulate_fw_crash soc_dp_stats
> 
>  # /sys/kernel/debug/ath11k/qcn9000 hw1.0_0001:01:00.0:
>    mac0  simulate_fw_crash soc_dp_stats
> 
> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.4.0.1.r2-00012-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: Anilkumar Kolli <akolli@xxxxxxxxxxxxxx>

I submitted my version here:

https://patchwork.kernel.org/project/linux-wireless/patch/20221220121231.20120-1-kvalo@xxxxxxxxxx/

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1614160542-27882-1-git-send-email-akolli@xxxxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches




[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