linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] scsi: pm80xx: Fix expander support
@ 2025-08-13 11:41 Niklas Cassel
  2025-08-13 11:41 ` [PATCH 1/5] scsi: pm80xx: Restore support for expanders Niklas Cassel
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Niklas Cassel @ 2025-08-13 11:41 UTC (permalink / raw)
  To: Jack Wang, James E.J. Bottomley, Martin K. Petersen,
	Terrence Adams, Igor Pylypiv, Salomon Dushimirimana, Viswas G,
	Deepak Ukey
  Cc: Damien Le Moal, Niklas Cassel, Jack Wang, linux-scsi

Hello all,

Some recent patches broke expander support for the pm80xx driver.

The first two patches in this series makes sure that expanders work with
this driver again.

It also fixes a bug in pm8001_abort_task() that was found through code
review.

The final two patches make the driver more robust, so that is less likely
that the expander support will break again in the future.

Please test and review.


Kind regards,
Niklas


Niklas Cassel (5):
  scsi: pm80xx: Restore support for expanders
  scsi: pm80xx: Fix array-index-out-of-of-bounds on rmmod
  scsi: pm80xx: Add helper function to get the local phy id
  scsi: pm80xx: Fix pm8001_abort_task() for chip_8006 when using an
    expander
  scsi: pm80xx: Use pm80xx_get_local_phy_id() to access phy array

 drivers/scsi/pm8001/pm8001_hwi.c |  8 +++-----
 drivers/scsi/pm8001/pm8001_sas.c | 34 +++++++++++++++++++++++++-------
 drivers/scsi/pm8001/pm8001_sas.h |  1 +
 drivers/scsi/pm8001/pm80xx_hwi.c |  7 ++-----
 4 files changed, 33 insertions(+), 17 deletions(-)

-- 
2.50.1


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

end of thread, other threads:[~2025-08-14  8:28 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13 11:41 [PATCH 0/5] scsi: pm80xx: Fix expander support Niklas Cassel
2025-08-13 11:41 ` [PATCH 1/5] scsi: pm80xx: Restore support for expanders Niklas Cassel
2025-08-13 19:42   ` Igor Pylypiv
2025-08-13 11:41 ` [PATCH 2/5] scsi: pm80xx: Fix array-index-out-of-of-bounds on rmmod Niklas Cassel
2025-08-13 19:43   ` Igor Pylypiv
2025-08-13 11:41 ` [PATCH 3/5] scsi: pm80xx: Add helper function to get the local phy id Niklas Cassel
2025-08-13 19:44   ` Igor Pylypiv
2025-08-14  2:03   ` Damien Le Moal
2025-08-13 11:41 ` [PATCH 4/5] scsi: pm80xx: Fix pm8001_abort_task() for chip_8006 when using an expander Niklas Cassel
2025-08-13 19:47   ` Igor Pylypiv
2025-08-13 11:41 ` [PATCH 5/5] scsi: pm80xx: Use pm80xx_get_local_phy_id() to access phy array Niklas Cassel
2025-08-13 19:48   ` Igor Pylypiv
2025-08-14  2:12   ` Damien Le Moal
2025-08-14  8:26 ` [PATCH 0/5] scsi: pm80xx: Fix expander support Damien Le Moal

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