All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Check and update the device link rate during discovery
@ 2022-10-20 14:16 Yihang Li
  2022-10-20 14:16 ` [PATCH 1/2] scsi: libsas: Add sas_update_linkrate() Yihang Li
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Yihang Li @ 2022-10-20 14:16 UTC (permalink / raw)
  To: john.garry, linuxarm
  Cc: linux-scsi, chenxiang66, prime.zeng, yangxingui, liyihang9

SATA devices attached to an expander maybe generate incorrect IOs when
physical link re-establish at a lower link rate. This is due to the
expander PHY attached to a SATA PHY is using link rate greater than the
physical PHY link rate which is re-established.

This patchset fixes the issue.

Yihang Li (2):
  scsi: libsas: Add sas_update_linkrate()
  scsi: libsas: Add sas_check_port_linkrate()

 drivers/scsi/libsas/sas_discover.c | 18 +++++++++++++-
 drivers/scsi/libsas/sas_expander.c | 40 ++++++++++++++++++++++++++++++
 drivers/scsi/libsas/sas_internal.h |  1 +
 3 files changed, 58 insertions(+), 1 deletion(-)

-- 
2.30.0


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

end of thread, other threads:[~2022-10-23  7:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-20 14:16 [PATCH 0/2] Check and update the device link rate during discovery Yihang Li
2022-10-20 14:16 ` [PATCH 1/2] scsi: libsas: Add sas_update_linkrate() Yihang Li
2022-10-20 14:16 ` [PATCH 2/2] scsi: libsas: Add sas_check_port_linkrate() Yihang Li
2022-10-21  8:17 ` [PATCH 0/2] Check and update the device link rate during discovery John Garry
2022-10-23  7:07 ` Yihang Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.