From: Mark Lord <kernel@teksavvy.com>
To: Richard Aplin <drtune@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: Supporting SATA Target mode (or any data transfer w/crossover cable) on AHCI
Date: Sun, 27 Feb 2011 09:10:58 -0500 [thread overview]
Message-ID: <4D6A5B72.6040600@teksavvy.com> (raw)
In-Reply-To: <AANLkTi=mPAjKk0kZTuP-3fyQB8Rm0=mo5GDx9BOC073S@mail.gmail.com>
On 11-02-26 10:30 PM, Richard Aplin wrote:
>
> I'm interested in trying to get generic mobo SATA controllers to run
> in Target mode; there are a few entertaining projects that become
> possible if this can be done.
>
> Two obvious uses are SATA drive emulation and ultra-high-speed
> motherboard interconnect using bonded SATA3 channels.
Nobody here will argue against it -- it's something that could be
quite useful to all -- eg. homebrew SATA analyzers etc..
It does require specific support in the chipset, though.
And since there's no standard for that, this means the hardware
implementations are all vendor-specific, and somewhat "secret".
The Marvel 7042 PCIe chips implement target mode, and it probably
works on the older 60xx (non-AHCI) chips as well. The "normal" SATA
driver for these is "sata_mv", but it does not implement target mode.
Both Jens and I have written code to attempt simple transfers
using "target mode", but neither effort had enough reverse-engineering
of the Marvell chips to actually make it work. They don't exactly
spell out all of the details in their (NDA'd) documentation.
The standalone downloadable "proprietary" Marvell SATA driver,
which has "GPL" labelling, claims to to target mode. But when I was
poking at it 2-3 years ago, the code therein was incomplete,
and appeared to be missing some secret jiggery to make it all work.
That's probably still the best starting point though.
Cheers
next prev parent reply other threads:[~2011-02-27 14:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-27 3:30 Supporting SATA Target mode (or any data transfer w/crossover cable) on AHCI Richard Aplin
2011-02-27 14:10 ` Mark Lord [this message]
2011-02-28 0:55 ` Richard Aplin
2011-02-28 1:30 ` Richard Aplin
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=4D6A5B72.6040600@teksavvy.com \
--to=kernel@teksavvy.com \
--cc=drtune@gmail.com \
--cc=linux-ide@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.