2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 04:34:11 +08:00
linux-next/drivers/scsi/mpt3sas
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 mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
Kconfig mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
Makefile [SCSI] Allow MPT Fusion SAS 3.0 driver to be built into the kernel 2013-09-06 11:42:53 -07:00
mpt3sas_base.c mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt3sas_base.h mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt3sas_config.c mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt3sas_ctl.c mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_ctl.h mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_debug.h mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_scsih.c mpt2sas, mpt3sas: log exceeded temperature thresholds 2015-01-13 16:27:23 +01:00
mpt3sas_transport.c Revert "[SCSI] mpt3sas: Remove phys on topology change" 2014-12-04 09:58:34 +01:00
mpt3sas_trigger_diag.c mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00
mpt3sas_trigger_diag.h mpt3sas: Copyright in driver sources is updated for year the 2014. 2014-09-16 09:14:19 -07:00