2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-26 23:55:40 +08:00
linux-next/drivers/scsi/mpt3sas
Sreekanth Reddy 422630955e mpt3sas: sysfs attribute to report Backup Rail Monitor Status
A new sysfs shost attribute called "BMR_status" is implemented to report
Backup Rail Monitor status.

This attribute is located in:

        /sys/class/scsi_host/host#/BMR_status

When reading this adapter attribute, the driver will output the state of
GPIO[24]. It returns "0" if BMR is healthy and "1" for failure.

If it returns an empty string then it means that there was an error
while obtaining the BMR status. Check dmesg for what error has occurred.

This sysfs shost attribute is mainly for WarpDrive controllers.

This commit is a port of 6c265660c2 ("mpt2sas: Provide sysfs attribute
to report Backup Rail Monitor Status").

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@avagotech.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2015-11-11 18:56:21 -05:00
..
mpi mpt3sas: MPI 2.5 Rev K (2.5.6) specifications 2015-08-27 11:08:28 -07:00
Kconfig mpt2sas, mpt3sas: Remove SCSI_MPTXSAS_LOGGING entry from Kconfig 2015-11-11 18:31:14 -05:00
Makefile mpt3sas: Move Gen3 HBA's device registration to a separate file 2015-11-11 18:20:02 -05:00
mpt3sas_base.c mpt3sas: Ported WarpDrive product SSS6200 support 2015-11-11 18:56:10 -05:00
mpt3sas_base.h mpt3sas: sysfs attribute to report Backup Rail Monitor Status 2015-11-11 18:56:21 -05:00
mpt3sas_config.c mpt3sas: sysfs attribute to report Backup Rail Monitor Status 2015-11-11 18:56:21 -05:00
mpt3sas_ctl.c mpt3sas: sysfs attribute to report Backup Rail Monitor Status 2015-11-11 18:56:21 -05:00
mpt3sas_ctl.h mpt3sas: Ported WarpDrive product SSS6200 support 2015-11-11 18:56:10 -05:00
mpt3sas_debug.h mpt2sas, mpt3sas: Remove SCSI_MPTXSAS_LOGGING entry from Kconfig 2015-11-11 18:31:14 -05:00
mpt3sas_module.c mpt3sas: Define 'hba_mpi_version_belonged' IOC variable 2015-11-11 18:29:34 -05:00
mpt3sas_scsih.c mpt3sas: Ported WarpDrive product SSS6200 support 2015-11-11 18:56:10 -05:00
mpt3sas_transport.c mpt3sas: Call dma_mapping_error() API after mapping an address with dma_map_single() API 2015-08-27 11:08:31 -07:00
mpt3sas_trigger_diag.c mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_trigger_diag.h mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00