All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Kalle Valo <kvalo@codeaurora.org>
Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] ath11k: qmi: try to allocate a big block of DMA memory first
Date: Fri, 18 Dec 2020 09:03:24 +0000 (UTC)	[thread overview]
Message-ID: <20201218090324.01B8DC433C6@smtp.codeaurora.org> (raw)
In-Reply-To: <1608127593-15192-1-git-send-email-kvalo@codeaurora.org>

Kalle Valo <kvalo@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@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@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


      parent reply	other threads:[~2020-12-18  9:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16 14:06 [PATCH] ath11k: qmi: try to allocate a big block of DMA memory first Kalle Valo
2020-12-16 14:06 ` Kalle Valo
2020-12-18  9:03 ` Kalle Valo
2020-12-18  9:03 ` Kalle Valo [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20201218090324.01B8DC433C6@smtp.codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=ath11k@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.