From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Deven Balani <devenbalani@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Ping-Pong Compatible DMA buffer chaining
Date: Tue, 03 Jan 2006 01:08:40 +0000 [thread overview]
Message-ID: <1136250520.13968.5.camel@localhost.localdomain> (raw)
In-Reply-To: <7a37e95e0512252205t68c6b6f6sfeedf3a75880fda9@mail.gmail.com>
On Llu, 2005-12-26 at 11:35 +0530, Deven Balani wrote:
> 1) The SATA Host Controller supports a DMA Logic which has Ping Pong Buffers.
> How Can I allocate a linear contiguous buffer and give it to the
> Buffer Descriptors of the Host Controller. I believe consistent alloc
> would help me in this regard. But How could I do a chaining of Buffers
> in a Ping Pong Scenario which has Buffer Descriptors.
Depends entirely on your hardware.
> 2) The libata is using Scatter-Gather List to send Device Identify
> Command. Is it necessary to have a Scatter-Gather List for non-PCI ARM
> platforms. Can I bypass this mechanism.
It is neccessary as the user space virtual memory will be fragmented in
physical space (unless you are using MMUless Linux when it will be far
less fragmented).
If the platform is an MMUless one then you can fill in the host
structure and indicate that you support a maximum scatter gather list
size of one. This will break up I/O's when neccessary to keep within
that limit but this will hurt your performance by causing a lot more
requests on a non MMUless system.
Alan
next prev parent reply other threads:[~2006-01-03 1:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-26 6:05 Deven Balani
2006-01-03 1:08 ` Alan Cox [this message]
2006-01-04 5:28 ` Deven Balani
2006-01-04 8:43 ` Alan Cox
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=1136250520.13968.5.camel@localhost.localdomain \
--to=alan@lxorguk.ukuu.org.uk \
--cc=devenbalani@gmail.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome