basic sgpio write support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | libsas: sgpio write supportdrivers/ include/ include/ | +120 | 0 replies | |
| 2/3 | isci: fix sgpio register definitionsdrivers/ | +4 | 0 replies | |
| 3/3 | isci: initial sgpio write supportdrivers/ drivers/ drivers/ | +87 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] basic sgpio write support
Just enough infrastructure to get raw-bitstream writes operational. With a common decode implementation in libsas. SAS-2 support is deferred as SFF-8485 remains at v0.7 [1]. Read support and the "non-raw" tx registers are deferred until the general approach is accepted.
For future patches it might be useful to register a 'sgpio' interface in sysfs for all local phys to accept IBPI commands like "identify" or "fail". Although, the driver has no way of verifying if phy0 is routed to sgpio-device0.
Until then this interface just uses the sas_host bsg device as shown in patch1.
--
Dan
[1]: http://marc.info/?l=linux-scsi&m=130693695829154&w=2
---
Dan Williams (3):
libsas: sgpio write support
isci: fix sgpio register definitions
isci: initial sgpio write support
drivers/scsi/isci/host.c | 69 ++++++++++++++++++++ drivers/scsi/isci/host.h | 15 ++++ drivers/scsi/isci/init.c | 3 + drivers/scsi/isci/registers.h | 122 +----------------------------------- drivers/scsi/libsas/sas_host_smp.c | 103 ++++++++++++++++++++++++++++++ include/scsi/libsas.h | 11 +++ include/scsi/sas.h | 8 ++ 7 files changed, 211 insertions(+), 120 deletions(-)