Getting "Wrong diagnostic page; asked for 7 got 0" error message on HBA's virtual SES device

2017-03-12 Thread Sreekanth Reddy
Hi, Our LSI(Broadcom) SAS3.5 HBA device's support virtual SES device. Whenever we load the mpt3sas driver then we are observing below error message, "Wrong diagnostic page; asked for 7 got 0" Our virtual SES device doesn't support Diagnostic page 7, it supports only below diagnostic pages, • 0

Re: 4.10+ qla2xxx driver wont load for qla2xxx (ISP2532-based 8Gb) with BAR 3 error, work fine on 4.9

2017-03-12 Thread Laurence Oberman
- Original Message - > From: "Laurence Oberman" > To: "Chad Dupuis" , "Himanshu Madhani" > > Cc: "Linux SCSI List" > Sent: Sunday, March 12, 2017 7:39:23 AM > Subject: 4.10+ qla2xxx driver wont load for qla2xxx (ISP2532-based 8Gb) with > BAR 3 error, work fine on 4.9 > > Chad, Hima

4.10+ qla2xxx driver wont load for qla2xxx (ISP2532-based 8Gb) with BAR 3 error, work fine on 4.9

2017-03-12 Thread Laurence Oberman
Chad, Himanshu Before I bisect or go chase changes, wanted to reach out because the driver seems to be the same version. Perhaps this is a PCIE change in the kernel for 4.10 affecting the load. Its the same targetLIO server I have been using for a long time with 4.9 27:00.0 Fibre Channel: QLogic

Re: [PATCH v2] scsi_sysfs: fix hang when removing scsi device

2017-03-12 Thread Israel Rukshin
Hi Bart, scsi_device_get() affect I/O because scsi_target_unblock() use it and calls to blk_start_queue(). terminate_rport_io() is called after scsi_target_unblock() and completes all the commands including the SYNCHRONIZE CACHE command. I applied your patch and you can see that QUEUE_FLAG_STO

[scsi] scsi: ufs: don't check unsigned type for a negative value

2017-03-12 Thread Tomas Winkler
Fix compilation warning drivers/scsi/ufs/ufshcd.c:7645:13: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if ((value < UFS_PM_LVL_0) || (value >= UFS_PM_LVL_MAX)) Signed-off-by: Tomas Winkler --- drivers/scsi/ufs/ufshcd.c | 2 +- 1 file changed, 1 insertion(+), 1