linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] libsas: SATA PHY connection rate matching during disovery
@ 2019-01-04 16:01 John Garry
  2019-01-04 16:01 ` [PATCH 1/3] scsi: libsas: Fix some indentation in libsas.h John Garry
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: John Garry @ 2019-01-04 16:01 UTC (permalink / raw)
  To: jejb, martin.petersen
  Cc: yanaijie, linuxarm, linux-kernel, linux-scsi, John Garry

This patchset looks to resolve an issue we see whereby a SATA end device
negotiated linkrate may exceed the min linkrate to the initiator, and
not be able to establish a connection.

According to the SAS spec, we should lower the SATA PHY linkrate when this
condition occurs.

It appears that some SAS HBAs (whose driver do not use libsas) already do
this automatically (via firmware, I assume).

This patchset solves this issue during device discovery phase when
detecting a new device, but not during revalidation after the user has
reprogrammed some PHY linkrates in the topology. Solving for the latter is
much more complicated, and will be done as follow-up to this series.

A minor tidy-up to libsas.h is also included.

John Garry (3):
  scsi: libsas: Fix some indentation in libsas.h
  scsi: libsas: Check SMP PHY control function result
  scsi: libsas: Support SATA PHY connection rate unmatch fixing during
    discovery

 drivers/scsi/libsas/sas_expander.c | 29 +++++++++++++++++++-
 include/scsi/libsas.h              | 56 ++++++++++++++++++--------------------
 2 files changed, 55 insertions(+), 30 deletions(-)

-- 
1.9.1


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

end of thread, other threads:[~2019-01-12  3:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-04 16:01 [PATCH 0/3] libsas: SATA PHY connection rate matching during disovery John Garry
2019-01-04 16:01 ` [PATCH 1/3] scsi: libsas: Fix some indentation in libsas.h John Garry
2019-01-04 16:01 ` [PATCH 2/3] scsi: libsas: Check SMP PHY control function result John Garry
2019-01-04 16:01 ` [PATCH 3/3] scsi: libsas: Support SATA PHY connection rate unmatch fixing during discovery John Garry
2019-01-12  3:15 ` [PATCH 0/3] libsas: SATA PHY connection rate matching during disovery Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).