[SRU][H][G][F][PATCH 0/1] scsi: mpt3sas: Only one vSES is present even when IOC has multi vSES

Michael Reed michael.reed at canonical.com
Wed May 26 19:11:57 UTC 2021


From: Michael Reed <Michael.Reed at canonical.com>

BugLink:  https://bugs.launchpad.net/bugs/1926517


SRU Justification:

[Impact]
Whenever the driver is adding a vSES to virtual-phys list it is
reinitializing the list head. Hence those vSES devices which were added
previously are lost.

[FIXES]

Stop reinitializing the list every time a new vSES device is added.

https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?id=4c51f9569651

CommitID: 4c51f956965120b3441cdd39c358b87daba13e19

[TESTING]

Load the mpt3sas driver on the system where Brodcom's HBA 9500 Tri-Mode Storage Adapter (IT HBA Aero/Ventura) is connected to two backplanes (so that two vSES device get configured on the HBA). After loading the driver user should able to access both the vSES devices. Also even after performing host reset operation user must able to access both the vSES devices.
i.e. lsscsi must list both the vSES devices after loading the driver and also after performing host reset operation.

[REGRESSION RISK]

There is a low regression risk with this bug fix patch.

[Other Info]

This has been tested on 5.11, 5.8 and 5.4.  These patches cleanly cherrypicked to 5.11, 5.8 and 5.4

Sreekanth Reddy (1):
  scsi: mpt3sas: Only one vSES is present even when IOC has multi vSES

 drivers/scsi/mpt3sas/mpt3sas_scsih.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.25.1




More information about the kernel-team mailing list