From: "Moore, Eric" <Eric.Moore@lsil.com>
To: Quat Le <Quat.Le@dothill.com>, dougg@torque.net
Cc: linux-scsi@vger.kernel.org
Subject: Re: ATA Pass-Through support
Date: Wed, 1 Mar 2006 23:14:58 -0700 [thread overview]
Message-ID: <001c01c63dc0$a2f70270$271015ac@ericmoore> (raw)
In-Reply-To: DF9C50EF9E8CDA45A06FE8735C68F85E56911A@earthex2.power.com
On Wednesday, March 01, 2006 4:51 PM, Quat Le wrote:
> I cannot tell if the LSI SAS HBA driver uses libata or not. A week ago I
> did send LSI tech support a question asking if the SCSI-to-ATA
> Translation Layer is done in the HBA driver or in a different layer on
> Linux. So far I have not gotten any response. That's a good idea to
> try this on a SATA disk connected to a SATA HBA. I will try this.
>
No, the mptsas driver is not using libata, however we are using
scsi_transport_sas.
This is firmware assist implementation, meaning SCSI-to-ATA translation
is done in firmware; via queue_command entry point, all commands
to both SAS and SATA devices are sent via SCSI_IO passthru. Is the SG_IO
ATA passthru encapsalating an ATA command inside a SCSI CDB?
If so, I don't think the firmware folks have not implemented that yet.
When that is completed, I expect no change in driver, as its simply
passthru, and the firmware will handle the request. There is an alternative,
you can send an IOCTL=MPT_COMMAND IOCTL using
the mptctl driver with the function set to
MPI_FUNCTION_SATA_PASSTHROUGH.
> I thought support for those two opcodes went into libata
> for lk 2.6.15 as well but haven't written discrete code
> to test it. Does the lsi SAS HBA use libata on its STP
> (or direct connect) path? Eyeballing the libata code,
> those opcodes are used internally. I know that
> "smartctl -a -d ata /dev/sda" works when /dev/sda is a
> SATA disk using libata on a regular SATA HBA. At present I
> do not have any hardware nearby to test it. If you can direct
> connect a SATA disk to a SATA controller on your motherboard
> (i.e. bypassing the SAS HBA) does that make any difference?
>
What is smartctl? Is that part of Doug's sg_tools, or something else.
Eric Moore
LSI Logic
next prev parent reply other threads:[~2006-03-02 6:24 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-01 23:51 ATA Pass-Through support Quat Le
2006-03-02 6:14 ` Moore, Eric [this message]
2006-03-02 15:46 ` Douglas Gilbert
-- strict thread matches above, loose matches on Subject: below --
2006-06-07 18:48 Quat Le
2006-06-07 17:15 Quat Le
2006-06-07 18:22 ` Douglas Gilbert
2006-06-07 18:26 ` Jeff Garzik
2006-03-02 18:41 Quat Le
2006-03-03 16:38 ` Brian King
2006-03-02 18:00 Quat Le
2006-03-02 17:51 Quat Le
2006-03-02 18:17 ` Jeff Garzik
2006-03-03 16:50 ` Brian King
2006-03-03 18:39 ` Tejun Heo
2006-03-02 17:02 Moore, Eric
2006-03-01 17:08 Quat Le
2006-03-01 23:31 ` Douglas Gilbert
2006-06-03 19:32 ` Douglas Gilbert
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='001c01c63dc0$a2f70270$271015ac@ericmoore' \
--to=eric.moore@lsil.com \
--cc=Quat.Le@dothill.com \
--cc=dougg@torque.net \
--cc=linux-scsi@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.