linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Hancock <hancockrwd@gmail.com>
To: "David Balažic" <xerces9@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: SATA and full-duplex?
Date: Sun, 27 Sep 2009 13:21:01 -0600	[thread overview]
Message-ID: <4ABFBB1D.8060608@gmail.com> (raw)
In-Reply-To: <9948385e0909270702s4670f785y1f45fb090eb5b282@mail.gmail.com>

On 09/27/2009 08:02 AM, David Balažic wrote:
> Hi!
>
> In a discussion with a friend the question whether SATA support full
> duplex has come up.
>
> While there is some info on the web that explains that SATA does not
> support it, unlike SAS, the firend claims that SATA does not support
> full-duplex in the sense "the same line can transfer data in both
> directions", but it does support sending data over the transmit pair
> and receiving over the receive pair at the same time.
>
> An example is : in NCQ setup, the drive is sending data as a response
> to READ command and during that the host send another queued command
> to the same drive.
>
> Is this possible and supported by SATA ?
> (I'm interested in SATA support as a standard, not as much about
> current Linux support)

Well, at the low level FISes can be sent in both directions at once on 
the link. It's somewhat limited when this can happen, though, and 
transferring actual data in both directions at the same time isn't 
possible. The particular case you mentioned also isn't supposed to 
happen: "The FPDMA Data Phase is defined as the period from reception of 
a DMA Setup FIS until either the associated transfer count is exhausted 
or the ERR bit in the shadow Status register is set. During this period 
the host may not issue new commands to the device nor may the device 
signal new command completions to the host." Once a transfer starts, it 
has to either finish or fail without anything else happening in the 
interim. Basically the actual data transfers over the SATA link  are 
"single-threaded".

      reply	other threads:[~2009-09-27 19:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-27 14:02 SATA and full-duplex? David Balažic
2009-09-27 19:21 ` Robert Hancock [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=4ABFBB1D.8060608@gmail.com \
    --to=hancockrwd@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=xerces9@gmail.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).