[PATCH] ath10k: Do not call dma_alloc_coherent() for SDIO and USB

Fabio Estevam festevam at gmail.com
Wed Aug 18 13:43:53 PDT 2021


Hi Peter,

On Wed, Aug 18, 2021 at 2:35 PM Peter Oh <peter.oh at eero.com> wrote:
>
>
> >> Fix the problem by not calling dma_alloc_coherent() when the device
> >> is not DMA capable, such as SDIO and USB.
> >>
> ath10k calls dma_alloc_coherent multiple places including
> ath10k_htt_rx_alloc.
>
> Do SDIO and USB not use such data path function at all?

Good point! Maybe I am not just hitting these paths on my simple tests.

Kalle,

How should we handle this?

Thanks



More information about the ath10k mailing list