From: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
To: "Peter Hüwe" <PeterHuewe-Mmb7MZpHnFY@public.gmane.org>
Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: i2c_transfer & dma
Date: Thu, 25 Sep 2014 16:05:05 +0200 [thread overview]
Message-ID: <20140925140505.GA1316@katana> (raw)
In-Reply-To: <201409232138.33067.PeterHuewe-Mmb7MZpHnFY@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 621 bytes --]
> So the question is - does the user of i2c_transfer have to provide a dma-able
> buffer, or is the bus driver (like the robotfuzz one) expected to convert
> incoming buffer into a dma-able buffer?
As of now, this is an open question, sadly. I have a tendency to leave
it to the drivers (maybe with helper functions from the core), because
I2C and DMA is so uncommon. I need to work on I2C & DMA next month
anyhow, so I hope to dive into that topic, too. No promises, though. If
you want to look into it already, please go ahead. The issue was raised
here, too: http://patchwork.ozlabs.org/patch/220137/
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2014-09-25 14:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 19:38 i2c_transfer & dma Peter Hüwe
[not found] ` <201409232138.33067.PeterHuewe-Mmb7MZpHnFY@public.gmane.org>
2014-09-25 14:05 ` Wolfram Sang [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=20140925140505.GA1316@katana \
--to=wsa-z923lk4zbo2bacvfa/9k2g@public.gmane.org \
--cc=PeterHuewe-Mmb7MZpHnFY@public.gmane.org \
--cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 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).