Linux ATA/IDE development
 help / color / mirror / Atom feed
* [PATCH 0/3] libsas: add support for port multiplier
@ 2014-04-24 13:27 Xiangliang Yu
  2014-05-02 15:36 ` Tejun Heo
  0 siblings, 1 reply; 3+ messages in thread
From: Xiangliang Yu @ 2014-04-24 13:27 UTC (permalink / raw)
  To: tj, JBottomley
  Cc: dan.j.williams, todd.e.brandt, lukasz.dorau, linux-ide,
	linux-kernel, linux-scsi

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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-02 15:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-24 13:27 [PATCH 0/3] libsas: add support for port multiplier Xiangliang Yu
2014-05-02 15:36 ` Tejun Heo
2014-05-02 15:37   ` Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox