diff options
author | Sreekanth Reddy | 2015-11-11 13:00:33 +0100 |
---|---|---|
committer | Martin K. Petersen | 2015-11-12 01:24:02 +0100 |
commit | 08c4d550c5797d842b1f1bb85d474a8b54f02382 (patch) | |
tree | 188c3590ac007bbdbcfe83c9c4e93f31600fe463 /drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h | |
parent | mpt3sas: Added OEM Gen2 PnP ID branding names (diff) | |
download | kernel-qcow2-linux-08c4d550c5797d842b1f1bb85d474a8b54f02382.tar.gz kernel-qcow2-linux-08c4d550c5797d842b1f1bb85d474a8b54f02382.tar.xz kernel-qcow2-linux-08c4d550c5797d842b1f1bb85d474a8b54f02382.zip |
mpt3sas: setpci reset kernel oops fix
setpci reset on nytro warpdrive card along with sysfs access and cli
ioctl access resulted in kernel oops
1. pci_access_mutex lock added to provide synchronization between IOCTL,
sysfs, PCI resource handling path
2. gioc_lock spinlock to protect list operations over multiple
controllers
This patch is ported from commit 6229b414b3ad ("mpt2sas: setpci reset
kernel oops fix").
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>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h')
0 files changed, 0 insertions, 0 deletions