linux-hardened/drivers/scsi/mpt2sas
Sreekanth Reddy ad666a0f41 mpt2sas, mpt3sas: fix upper bound for the module parameter max_sgl_entries
Change Set:

1. Extended the upper boundary restriction for the module parameter
   max_sgl_entries. Earlier, the max_sgl_entries was capped at the
   SCSI_MAX_SG_SEGMENTS kernel definition. With this change, the user
   would be able to set the max_sgl_entries to any value which is
   greater than SCSI_MAX_SG_SEGMENTS and less than the minimum of
   SCSI_MAX_SG_CHAIN_SEGMENTS & hardware limit (Calculated using
   IOCFacts's MaxChainDepth).

2. Added 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.Reddy@avagotech.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2015-01-13 16:27:26 +01:00
..
mpi mpt2sas: MPI2 Rev BB (2.00.20) specification and 2.00.35 header files 2015-01-13 16:27:25 +01:00
Kconfig mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
Makefile
mpt2sas_base.c mpt2sas, mpt3sas: fix upper bound for the module parameter max_sgl_entries 2015-01-13 16:27:26 +01:00
mpt2sas_base.h mpt2sas: Bump driver version to 19.100.00.00 2015-01-13 16:27:25 +01:00
mpt2sas_config.c mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt2sas_ctl.c mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
mpt2sas_ctl.h Merge Linus' tree to be be to apply submitted patches to newer code than 2014-11-20 14:42:02 +01:00
mpt2sas_debug.h mpt2sas: Copyright in driver sources is updated for year the 2014 2014-09-16 09:14:14 -07:00
mpt2sas_scsih.c mpt2sas, mpt3sas: Fail the host reset initiated due to discovery related I/O timeouts at driver load time 2015-01-13 16:27:24 +01:00
mpt2sas_transport.c Revert "[SCSI] mpt2sas: Remove phys on topology change." 2014-12-04 09:58:33 +01:00