[PATCH] ath11k: qmi: try to allocate a big block of DMA memory first

Kalle Valo kvalo at codeaurora.org
Fri Dec 18 04:03:23 EST 2020


Kalle Valo <kvalo at codeaurora.org> wrote:

> Not all firmware versions support allocating DMA memory in smaller blocks so
> first try to allocate big block of DMA memory for QMI. If the allocation fails,
> let firmware request multiple blocks of DMA memory with smaller size.
> 
> This also fixes an unnecessary error message seen during ath11k probe on
> QCA6390:
> 
> ath11k_pci 0000:06:00.0: Respond mem req failed, result: 1, err: 0
> ath11k_pci 0000:06:00.0: qmi failed to respond fw mem req:-22
> 
> Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1
> 
> Signed-off-by: Carl Huang <cjhuang at codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>

Patch applied to ath-current branch of ath.git, thanks.

f6f92968e1e5 ath11k: qmi: try to allocate a big block of DMA memory first

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1608127593-15192-1-git-send-email-kvalo@codeaurora.org/

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




More information about the ath11k mailing list