Re: Supporting SATA Target mode (or any data transfer w/crossover cable) on AHCI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux