From: Johannes Berg <johannes@sipsolutions.net>
To: Dmitry Antipov <dmantipov@yandex.ru>
Cc: Kalle Valo <kvalo@kernel.org>,
ath10k@lists.infradead.org, linux-wireless@vger.kernel.org,
Jeff Johnson <quic_jjohnson@quicinc.com>
Subject: Re: [PATCH] wifi: ath10k: prefer stack-allocated __le32 variables
Date: Fri, 27 Oct 2023 11:53:26 +0200 [thread overview]
Message-ID: <8d5af24635501d1ae2e0a54f7196fc476241f894.camel@sipsolutions.net> (raw)
In-Reply-To: <79560f97-4f42-455d-9031-a2c1eed736e0@yandex.ru>
On Fri, 2023-10-27 at 12:50 +0300, Dmitry Antipov wrote:
> Locals can't be used for scatterlists/DMA/etc., right?
Well, a scatterlist by itself doesn't imply anything necessarily, it's
just a data structure.
But yes, you cannot do DMA from the stack, which seems to happen in this
case, or at least can happen.
johannes
prev parent reply other threads:[~2023-10-27 9:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-27 8:23 [PATCH] wifi: ath10k: prefer stack-allocated __le32 variables Dmitry Antipov
2023-10-27 9:08 ` Johannes Berg
2023-10-27 9:50 ` Dmitry Antipov
2023-10-27 9:53 ` Johannes Berg [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=8d5af24635501d1ae2e0a54f7196fc476241f894.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=ath10k@lists.infradead.org \
--cc=dmantipov@yandex.ru \
--cc=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=quic_jjohnson@quicinc.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).