linux/drivers/scsi/mpt2sas
Sreekanth Reddy 2d8ce8c9d4 mpt2sas, mpt3sas: log exceeded temperature thresholds
This patch will log a message when driver receives "Temperature Threshold
exceeded" event from any temperature sensor.

The message will look similar to like:
mpt3sas0: Temperature Threshold flags a b c d exceeded for Sensor: x !!!
mpt3sas0: Current Temp In Celsius: y

where a b c d are threshold flags 0 1 2 3

Change_set:
1. Get the number of sensor count of this IOC by reading IO Unit page 8 at
   driver initialization time.
2. Also unmask the Temperature Threshold Event at driver initialization
   time
3. Whenever a MPI2_EVENT_TEMP_THRESHOLD event is received from the
   firmware, then print the sensor number, the maximum threshold number it
   has exceed and the current temperature of this sensor.

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:23 +01:00
..
mpi mpt2sas: MPI2 Rev AA (2.00.19) specifications 2015-01-12 13:15:35 +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: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt2sas_base.h mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +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: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt2sas_transport.c Revert "[SCSI] mpt2sas: Remove phys on topology change." 2014-12-04 09:58:33 +01:00