Remove the enclosure link only when cdev-cdev.kobj.sd is not NULL.
Fixes:
WARNING: at fs/sysfs/inode.c:324 sysfs_hash_and_remove+0x92/0xa0()
Call Trace:
[c044bbf2] warn_slowpath_common+0x72/0xa0
[c05b2d12] ? sysfs_hash_and_remove+0x92/0xa0
[c05b2d12] ? sysfs_hash_and_remove+0x92/0xa0
Hi James,
This Patch seem to be fine. Please consider this patch as Acked-by:
Sreekanth Reddy sreekanth.re...@avagotech.com
Regards,
Sreekanth
-Original Message-
From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
ow...@vger.kernel.org] On Behalf Of Rickard Strandqvist
Sent
()
d. _base_make_ioc_operational()
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c
b/drivers/scsi/mpt2sas/mpt2sas_base.c
index 6b2a79e..d81230a 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas
Just resending the complete Phase2 and Phase3
mpt3sas driver patch set Reviewed by the Martin K. Petersen.
This will make easy for Christoph to pick up this patch set for next kernel
release.
Thanks Martin for reviewing this patch set and helping me for tuning this patch
set.
Sreekanth Reddy
Below is the change set in MPI2.5 Rev G specification and 2.00.31 header files
1) Added SCSIStatusQualifier to SCSI IO Error Reply message.
2) Added ATA Security Freeze Lock to IO Unit Page 1 Flags field.
3) Added Allow Protection Information bit for IR Volume Create.
Signed-off-by: Sreekanth
Bump mpt3sas driver version to 04.100.00.00.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi
0x8086 0x3524
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 49 +
drivers/scsi/mpt3sas/mpt3sas_base.h | 18
an SEP message to turn off the respective Predictive Failure LED.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 5 ++-
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 67
Bump mpt3sas driver version to 03.100.00.00.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi
, or
the SAS Enclosure Device Status Change Event when host based discovery is
enabled.
7) Bit 13 of the SAS IO Unit Page 1 ControlFlags field is now obsolete.
It was used to enable limiting direct attached SATA maximum link rate to 1.5
Gbps.
Signed-off-by: Sreekanth Reddy sreekanth.re
. _base_make_ioc_operational()
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 229 +++-
drivers/scsi/mpt3sas/mpt3sas_base.h | 20 +++-
2 files changed, 189
Copyright in driver sources is updated for year the 2014.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/Kconfig| 2 +-
drivers/scsi/mpt3sas/mpi/mpi2.h | 2 +-
drivers
. _base_make_ioc_operational()
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 229 +++-
drivers/scsi/mpt3sas/mpt3sas_base.h | 20 +++-
2 files changed, 189
. _base_make_ioc_operational()
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 236 +++-
drivers/scsi/mpt2sas/mpt2sas_base.h | 20 ++-
2 files changed, 196 insertions
would be issued.
3.If IOC is in reset state then driver will wait for 10 seconds to exit out of
reset state.
If the HBA continues to be in reset state, then the HBA wouldn't be claimed
by the driver.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen
HI,
For SRIOV support, currently in the KVM environment, mpt3sas driver
can use the API pci_vfs_assigned() to know the number of VFs that are
currently assigned to the running VMs. So that during the PF driver
unload time, if the return value of this API is greater than zero the
our driver won't
Thanks Alex,
Then, Is there any other ways to stop accidental unload of PF driver
while still some VFs are accessing by the running VMs.
Regards,
Sreekanth
On Wed, Aug 20, 2014 at 6:16 PM, Alex Williamson
alex.william...@redhat.com wrote:
On Wed, 2014-08-20 at 16:39 +0530, Sreekanth Reddy
Yes, devices are binded to pci-back.
On Thu, Aug 21, 2014 at 3:59 AM, Konrad Rzeszutek Wilk
konrad.w...@oracle.com wrote:
On Wed, Aug 20, 2014 at 04:33:29PM +0530, Sreekanth Reddy wrote:
HI,
For SRIOV support, currently in the KVM environment, mpt3sas driver can use
the API
Hi Martin,
Today I was busy with the internal activity. By Monday I will repost
this patch with requested changes.
Thanks,
Sreekanth
On Fri, Aug 22, 2014 at 2:40 AM, Martin K. Petersen
martin.peter...@oracle.com wrote:
Sreekanth == Sreekanth Reddy sreekanth.re...@avagotech.com writes
()
c. _base_send_ioc_init()
d. _base_make_ioc_operational()
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 233 +++-
drivers/scsi/mpt2sas/mpt2sas_base.h | 18 ++-
2 files changed, 193 insertions(+), 58
would be issued.
3.If IOC is in reset state then driver will wait for 10 seconds to exit out of
reset state.
If the HBA continues to be in reset state, then the HBA wouldn't be claimed
by the driver.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas
()
c. _base_send_ioc_init()
d. _base_make_ioc_operational()
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 231 +++-
drivers/scsi/mpt3sas/mpt3sas_base.h | 18 ++-
2 files changed, 189 insertions
On Tue, Aug 12, 2014 at 3:07 PM, Joe Perches j...@perches.com wrote:
On Tue, 2014-08-12 at 14:54 +0530, Sreekanth Reddy wrote:
So, the proposal is to allocate memory independently for each
Reply Queue and pass down all of the addresses to the firmware.
Then the firmware will just take each
patches, so that I can repost
this patch set once again by appending your Signed-off-by signature.
Regards,
Sreekanth
On Tue, Jul 15, 2014 at 10:21 PM, Martin K. Petersen
martin.peter...@oracle.com wrote:
Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes:
Sreekanth Bump mpt2sas
that I can repost this patch
set once again by appending your Signed-off-by signature.
Regards,
Sreekanth
On Tue, Jul 15, 2014 at 10:26 PM, Martin K. Petersen
martin.peter...@oracle.com wrote:
Sreekanth == Reddy, Sreekanth sreekanth.re...@avagotech.com writes:
Sreekanth Bump mpt3sas driver version
in the bad_reply_post_pool list. then
releasing these pools once we get the required memory pools.
Still some unit testing is needed for this patch. So I will post this
patch once again tomorrow.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
diff --git a/drivers/scsi/mpt2sas
this change may affect on any other things or not?
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c
b/drivers/scsi/mpt2sas/mpt2sas_base.c
index 6b2a79e..cf69e61 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas
Hi Martin,
Please let me known any further changes are required so that I can
send this patch once again with git send-email.
Regards,
Sreekanth
On Mon, Aug 11, 2014 at 6:45 PM, Sreekanth Reddy
sreekanth.re...@avagotech.com wrote:
Hi Martin,
Please let me known any further changes
Toolbox Console Text Display Tool
The host uses the Console Text Display Tool to send a string to
IOC's Console using different console types (eg: UART serial terminal or
Ethernet terminal).
The copyright in the mpi files is updated for year 2014
Signed-off-by: Sreekanth Reddy sreekanth.re
Copyright in driver sources is updated for year the 2014.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/Kconfig | 2 +-
drivers/scsi/mpt2sas/mpt2sas_base.c | 2 +-
drivers/scsi
. _base_make_ioc_operational()
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 232 +++-
drivers/scsi/mpt3sas/mpt3sas_base.h | 20 +++-
2 files changed, 191
and replace the LBA field in
the MPI request CDB.
Signed-off-by: Martin K. Petersen martin.peter...@oracle.com
Tested-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_scsih.c | 117 ---
1 file changed, 40 insertions(+), 77 deletions
Bump mpt2sas driver version to 17.100.00.00
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/mpt2sas
Copyright in driver sources is updated for year the 2014.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/Kconfig| 2 +-
drivers/scsi/mpt3sas/mpi/mpi2.h | 2 +-
drivers
Below is the change set in MPI2.5 Rev G specification and 2.00.31 header files
1) Added SCSIStatusQualifier to SCSI IO Error Reply message.
2) Added ATA Security Freeze Lock to IO Unit Page 1 Flags field.
3) Added Allow Protection Information bit for IR Volume Create.
Signed-off-by: Sreekanth
the SEP message to turn off the respective Predictive Failure LED.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.h | 2 ++
drivers/scsi/mpt2sas/mpt2sas_scsih.c | 70
Bump mpt3sas driver version to 03.100.00.00.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi
Bump mpt3sas driver version to 04.100.00.00.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi
an SEP message to turn off the respective Predictive Failure LED.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 5 ++-
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 67
, or
the SAS Enclosure Device Status Change Event when host based discovery is
enabled.
7) Bit 13 of the SAS IO Unit Page 1 ControlFlags field is now obsolete.
It was used to enable limiting direct attached SATA maximum link rate to 1.5
Gbps.
Signed-off-by: Sreekanth Reddy sreekanth.re
0x8086 0x3524
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 49 +
drivers/scsi/mpt3sas/mpt3sas_base.h | 18
errors.
Signed-off-by: Robert Elliott elli...@hp.com
Acked-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 ++--
drivers/scsi/mpt3sas/mpt3sas_scsih.c | 9 ++---
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/mpt2sas
Bump mpt2sas driver version to 18.100.00.00.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi
would be issued.
3.If IOC is in reset state then driver will wait for 10 seconds to exit out of
reset state.
If the HBA continues to be in reset state, then the HBA wouldn't be claimed
by the driver.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen
. _base_make_ioc_operational()
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 240 +++-
drivers/scsi/mpt2sas/mpt2sas_base.h | 20 ++-
2 files changed, 199 insertions
parameters.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c
b/drivers/scsi/mpt2sas
and accommodates all the review changes.
Droped below patch from this series and I will include this patch in the
next series once the review completes on this patch
mpt2sas: Added module parameter 'unblock_io' to unblock IO's during disk
addition
Sreekanth Reddy (18):
[SCSI] mpt2sas: Added driver
errors.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
index 992a224..c80ed04 100644
for discovery related I/O timeout.
Instead it would return Failure for the host reset resulting in the
flaky disk getting removed by the SCSI Mid layer,
so other disks would be added correctly.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_scsih.c | 9
-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpi/mpi2.h | 4 +++-
drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | 38 +---
drivers/scsi/mpt2sas/mpi/mpi2_ioc.h | 4 +++-
drivers/scsi/mpt2sas/mpi/mpi2_tool.h | 6 --
4 files changed, 41
time.
2. At the driver unload time, call this same API to release the cpu affinity
mask for each MSIx vector by providing the NULL value in cpumask argument.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 11 +++
drivers/scsi
the sensor number, the maximum threshold number it has exceed and
the current temperature of this sensor.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 7 +++
drivers/scsi/mpt2sas/mpt2sas_base.h | 6 ++
drivers/scsi/mpt2sas
Following is the change set,
1. Added more defines for the BiosOptions field of MPI2_CONFIG_PAGE_BIOS_1.
2. Added MPI2_TOOLBOX_CLEAN_BIT26_PRODUCT_SPECIFIC definition.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas/mpi/mpi2.h | 5 +++--
drivers/scsi
Add the following OEM's branding to the mpt3sas driver.
VendorID DeviceID SubsystemVendor ID SubsystemDevice ID Cisco
Branding String
0x1000 0x97 SVID = 0x1137 0x014C Cisco
9300-8E 12G SAS HBA
Signed-off-by: Sreekanth Reddy sreekanth.re
Bump mpt2sas driver version to 20.100.00.00.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h
b/drivers/scsi/mpt2sas/mpt2sas_base.h
Removed the redundancy code while freeing the controller resources.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 49 ++-
drivers/scsi/mpt3sas/mpt3sas_base.c | 57 +
2 files
would be issued.
3.If IOC is in reset state then driver will wait for 10 seconds to exit out of
reset state.
If the HBA continues to be in reset state, then the HBA wouldn't be claimed
by the driver.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas
Change List in this MPI2 specification,
1. Added SSUTimeout field to MPI2_CONFIG_PAGE_BIOS_1,
and more defines for the BiosOptions field.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpi/mpi2.h | 5 +++--
drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h
whenever the user sets the max_sgl_entries
to a value greater than SCSI_MAX_SG_SEGMENTS to warn about the kernel
definition overriding.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 9 ++---
drivers/scsi/mpt3sas/mpt3sas_base.c | 5 -
2
image to HashImageType.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas/mpi/mpi2.h | 6 --
drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 27 +--
drivers/scsi/mpt3sas/mpi/mpi2_ioc.h | 4 +++-
3 files changed, 28 insertions(+), 9
.
This information can be used by the user to identify the location of the
desired drive in the topology.
Driver will get these information by reading the sas device page0.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 2 +
drivers/scsi
Bump driver version to 19.100.00.00.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h
b/drivers/scsi/mpt2sas/mpt2sas_base.h
index
Enclosure level,
Enclosure address, Slot number etc,
- Displaying OEM's HBA branding String,
- MPI file's update,
- Some driver fixes.
Sreekanth Reddy (22):
[SCSI] mpt2sas: MPI2 Rev AA (2.00.19) specifications
[SCSI] mpt2sas, mpt3sas: Added support to log message when Temperature
Threshold
Copyright, Trademark Confidentiality legal statements throughout source code
changed from LSI to Avago.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 3 ++-
drivers/scsi/mpt2sas/mpt2sas_base.h | 5 +++--
drivers/scsi
Added the following Dell branding to the mpt3sas driver.
VendorID DeviceID SubsystemVendor ID SubsystemDevice ID Dell
Branding String
0x10000x0097 0x1028 0x1F46DELL
12Gbps HBA
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
parameter 'unblock_io' is introduced which needs to be set to have
this
functionality enabled. By default this functionality is disabled.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 4 +-
drivers/scsi/mpt3sas/mpt3sas_scsih.c
processing the reply post descriptor.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 70 +
drivers/scsi/mpt3sas/mpt3sas_base.h | 7 +++-
2 files changed, 69 insertions(+), 8 deletions(-)
diff --git
Bump mpt3sas driver version to v6.100.00.00.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h
b/drivers/scsi/mpt3sas/mpt3sas_base.h
For any SCSI command, if the driver receives IOC status = SCSI_IOC_TERMINATED
and log info = 0x32010081
then that command will be completed with DID_RESET host status.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_scsih.c | 4
1 file changed
Bump mpt3sas Driver version to v5.100.00.00
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h
b/drivers/scsi/mpt3sas/mpt3sas_base.h
Update MPI2 strings to MPI2.5.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 3 +--
drivers/scsi/mpt3sas/mpt3sas_base.h | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c
b/drivers
Hi,
Please consider this patch as Acked-by: Sreekanth Reddy
sreekanth.re...@avagotech.com.
Regards,
Sreekanth.
On Fri, Nov 7, 2014 at 6:20 AM, Alex Pilon alp+li...@alexpilon.ca wrote:
Fix 'ioctl' spelling.
Signed-off-by: Alex Pilon alp+li...@alexpilon.ca
---
drivers/scsi/mpt2sas
@@ -1373,20 +1380,30 @@ _base_assign_reply_queues(struct MPT2SAS_ADAPTER *ioc)
cpu = cpumask_first(cpu_online_mask);
- do {
+ list_for_each_entry(reply_q, ioc-reply_queue_list, list) {
+
Why are you reverting to iterating over the queues? A while back I fixed
this up
@@ -1609,6 +1611,10 @@ _base_request_irq(struct MPT3SAS_ADAPTER *ioc, u8
index, u32 vector)
reply_q-ioc = ioc;
reply_q-msix_index = index;
reply_q-vector = vector;
+
+ if (!zalloc_cpumask_var(reply_q-affinity_hint, GFP_KERNEL))
+ return -ENOMEM;
I think
@@ -2486,9 +2486,13 @@ _base_allocate_memory_pools(struct MPT2SAS_ADAPTER
*ioc, int sleep_flag)
/* command line tunables for max sgl entries */
if (max_sgl_entries != -1) {
- ioc-shost-sg_tablesize = (max_sgl_entries
- MPT2SAS_SG_DEPTH) ?
Sreekanth For any SCSI command, if the driver receives IOC status =
Sreekanth SCSI_IOC_TERMINATED and log info = 0x32010081 then that
Sreekanth command will be completed with DID_RESET host status.
What does that log info value mean?
Sreekanth The meaning of this log info value is Virtual
with actually connected phys. Without these patches,
disconnected phys remain listed under their former ports.
tested on both mpt2sas and mpt3sas hw.
CC: Nagalakshmi Nandigama nagalakshmi.nandig...@lsi.com
CC: Sreekanth Reddy sreekanth.re...@lsi.com
CC: Tomas Henzl the...@redhat.com
Signed-off-by: Jan
3520f9c779' and 'git revert 963ba22b90'
will create the patches for you.
Cheers,
Tomas
On 12/02/2014 02:18 PM, Sreekanth Reddy wrote:
Hi James/Chris
We are observing below issue due to this patch set code changes
Issue Description:
Drives connected Enclosure/Expander won't be visible
Reverting the below commit IDs
1. [PATCH 1/2] mpt2sas: Remove phys on topology change
commit ID: 3520f9c779bed098ca76dd3fb6377264301d57ed
2. [PATCH 2/2] mpt3sas: Remove phys on topology change
commit ID: 963ba22b90a955363644cd397b20226928eab976
Sreekanth Reddy (2):
Revert [SCSI] mpt2sas
and add expander
cable with in DMD (Device Missing Delay) time period or
even any one power-off and power-on the Enclosure with in
the DMD period.
Cc: sta...@vger.kernel.org
Cc: Tomas Henzl the...@redhat.com
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt3sas
and add expander
cable with in DMD (Device Missing Delay) time period or
even any one power-off and power-on the Enclosure with in
the DMD period.
Cc: sta...@vger.kernel.org
Cc: Tomas Henzl the...@redhat.com
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas
Ok, Thanks Martin.
On Wed, Dec 3, 2014 at 8:51 PM, Martin K. Petersen
martin.peter...@oracle.com wrote:
Sreekanth == Sreekanth Reddy sreekanth.re...@avagotech.com writes:
Sreekanth Anyone who aware of mpt2sas/mpt3sas driver's can please
Sreekanth review this patch set.
It's on my todo list
On Thu, Dec 4, 2014 at 8:36 AM, Martin K. Petersen
martin.peter...@oracle.com wrote:
Sreekanth == Sreekanth Reddy sreekanth.re...@avagotech.com writes:
Sreekanth For any SCSI command, if the driver receives IOC status =
Sreekanth SCSI_IOC_TERMINATED and log info = 0x32010081
-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 23 ---
drivers/scsi/mpt2sas/mpt2sas_base.h |1 +
drivers/scsi/mpt3sas/mpt3sas_base.c | 23 ---
drivers/scsi/mpt3sas/mpt3sas_base.h |1 +
4 files changed, 42
a print for the message log whenever the user sets the max_sgl_entries
to a value
greater than SCSI_MAX_SG_SEGMENTS to warn about the kernel definition
overriding.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 10 +++---
drivers
the reinserted drive successfully instated of just retrying failed
command for five times( doesn't giving enough time for firmware to
complete the drive discovery) and failing the IO permanently even
though drive came back successfully.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Please consider this mpt2sas drivers Phase19 and Phase20 patch series.
All these patches are reviewed by Martin K. Petersen.
Some of these features are exists for both mpt2sas mpt3sas drives,
so some of these patches contains code changes for both mpt2sas mpt3sas
drivers.
Sreekanth Reddy (10
-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpi/mpi2.h | 4 +++-
drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | 38 +---
drivers/scsi/mpt2sas/mpi/mpi2_ioc.h | 4 +++-
drivers/scsi
Bump mpt2sas driver version to 20.100.00.00.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi
definition
overriding.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 10 +++---
drivers/scsi/mpt3sas/mpt3sas_base.c | 10 --
2 files changed, 15 insertions(+), 5 deletions
the sensor number, the maximum threshold number it has exceed and
the current temperature of this sensor.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 7 +++
drivers/scsi/mpt2sas
Copyright, Trademark Confidentiality legal statements throughout source code
changed from LSI to Avago.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 3 ++-
drivers/scsi
for discovery related I/O timeout.
Instead it would return Failure for the host reset resulting in the
flaky disk getting removed by the SCSI Mid layer,
so other disks would be added correctly.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter
Change List in this MPI2 specification,
1. Added SSUTimeout field to MPI2_CONFIG_PAGE_BIOS_1,
and more defines for the BiosOptions field.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpi/mpi2
in cpumask argument.
4. then call the free_cpumask_var API to free the memory allocated in step 2.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 24 +---
drivers
Bump driver version to 19.100.00.00.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Reviewed-by: Martin K. Petersen martin.peter...@oracle.com
---
drivers/scsi/mpt2sas/mpt2sas_base.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/mpt2sas
the reinserted drive successfully instated of just retrying failed
command for five times( doesn't giving enough time for firmware to
complete the drive discovery) and failing the IO permanently even
though drive came back successfully.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
Fixed sparse warings 'restricted __le16 degrades to integer' generated
from below titled patch
[PATCH v2 02/22] [SCSI] mpt2sas, mpt3sas: Added support to log message
when Temperature Threshold exceeds for any Sensor
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi
sets the max_sgl_entries
to a value
greater than SCSI_MAX_SG_SEGMENTS to warn about the kernel definition
overriding.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 10 +++---
drivers/scsi/mpt3sas/mpt3sas_base.c | 10 --
2
2.
Signed-off-by: Sreekanth Reddy sreekanth.re...@avagotech.com
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 24 +---
drivers/scsi/mpt2sas/mpt2sas_base.h | 1 +
drivers/scsi/mpt3sas/mpt3sas_base.c | 24 +---
drivers/scsi/mpt3sas/mpt3sas_base.h | 1 +
4 files
1 - 100 of 594 matches
Mail list logo