From: Xiangliang Yu <yxlraid@gmail.com>
To: tj@kernel.org, JBottomley@parallels.com
Cc: dan.j.williams@intel.com, todd.e.brandt@intel.com,
lukasz.dorau@intel.com, linux-ide@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: [PATCH 0/3] libsas: add support for port multiplier
Date: Thu, 24 Apr 2014 21:27:03 +0800 [thread overview]
Message-ID: <1398346023-10225-1-git-send-email-yxlraid@gmail.com> (raw)
This patch set will support SATA port multiplier(PM) in LIBSAS.
LIBSAS is need to implement several key handling to support SATA PM:
First,low level driver notify libsas that SATA PM is attached to HBA port.
Then, LIBSAS will need to schedule SATA PMP error handler to scan SATA device
that is attached to PM, so we must implemet port softreset and PMP reset
handling.
If find SATA devices, we should add the devices into SAS transport layer.
In order to find SAS domain device we must implemet device type transformation
: scsi device -> (port number) -> ata device -> domain device. Then, we can
execute IO operation.
In these patches, patch 1 is change SATA error handler.
And patch 2 will add SATA device into SAS layer and implement device type
transformation. Patch 3 implement SATA functional interface in mvsas.
drivers/ata/libata-scsi.c | 48 +++-
drivers/scsi/libsas/sas_ata.c | 584 ++++++++++++++++++++++++++++++++++-
drivers/scsi/libsas/sas_discover.c | 25 ++-
drivers/scsi/libsas/sas_internal.h | 7 +
drivers/scsi/libsas/sas_phy.c | 1 +
drivers/scsi/libsas/sas_port.c | 12 +
drivers/scsi/libsas/sas_scsi_host.c | 12 +-
drivers/scsi/mvsas/mv_64xx.c | 2 +
drivers/scsi/mvsas/mv_94xx.c | 19 ++
drivers/scsi/mvsas/mv_defs.h | 1 +
drivers/scsi/mvsas/mv_init.c | 7 +
drivers/scsi/mvsas/mv_sas.c | 246 +++++++++++++++-
drivers/scsi/mvsas/mv_sas.h | 9 +
include/scsi/libsas.h | 19 +-
include/scsi/sas_ata.h | 5 +
15 files changed, 970 insertions(+), 27 deletions(-)
next reply other threads:[~2014-04-24 13:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-24 13:27 Xiangliang Yu [this message]
2014-05-02 15:36 ` [PATCH 0/3] libsas: add support for port multiplier Tejun Heo
2014-05-02 15:37 ` Dan Williams
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=1398346023-10225-1-git-send-email-yxlraid@gmail.com \
--to=yxlraid@gmail.com \
--cc=JBottomley@parallels.com \
--cc=dan.j.williams@intel.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=lukasz.dorau@intel.com \
--cc=tj@kernel.org \
--cc=todd.e.brandt@intel.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