All of
 help / color / mirror / Atom feed
From: Kalle Valo <>
To: Carl Huang <>
Subject: Re: [PATCH V3] ath10k: allocate small size dma memory in ath10k_pci_diag_write_mem
Date: Sat, 13 Oct 2018 17:26:20 +0000 (UTC)	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Carl Huang <> wrote:

> ath10k_pci_diag_write_mem may allocate big size of the dma memory
> based on the parameter nbytes. Take firmware diag download as
> example, the biggest size is about 500K. In some systems, the
> allocation is likely to fail because it can't acquire such a large
> contiguous dma memory.
> The fix is to allocate a small size dma memory. In the loop,
> driver copies the data to the allocated dma memory and writes to
> the destination until all the data is written.
> Tested with QCA6174 PCI with
> firmware-6.bin_WLAN.RM.4.4.1-00119-QCARMSWP-1, this also affects
> QCA9377 PCI.
> Signed-off-by: Carl Huang <>
> Reviewed-by: Brian Norris <>
> Signed-off-by: Kalle Valo <>

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

0738b4998c6d ath10k: allocate small size dma memory in ath10k_pci_diag_write_mem


  reply	other threads:[~2018-10-13 17:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-11  7:55 Carl Huang
2018-10-11  7:55 ` Carl Huang
2018-10-13 17:26 ` Kalle Valo [this message]
2018-10-13 17:26 ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \
    --subject='Re: [PATCH V3] ath10k: allocate small size dma memory in ath10k_pci_diag_write_mem' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.