[PATCH 0/3] libsas: add support for port multiplier

From: Xiangliang Yu
Date: Thu Apr 24 2014 - 09:27:31 EST


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