diff options
author | Sreekanth Reddy <sreekanth.reddy@avagotech.com> | 2015-11-11 13:00:33 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2015-11-12 01:24:02 +0100 |
commit | 08c4d550c5797d842b1f1bb85d474a8b54f02382 (patch) | |
tree | 188c3590ac007bbdbcfe83c9c4e93f31600fe463 /drivers/hid/hid-xinmo.c | |
parent | mpt3sas: Added OEM Gen2 PnP ID branding names (diff) | |
download | linux-08c4d550c5797d842b1f1bb85d474a8b54f02382.tar.xz 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/hid/hid-xinmo.c')
0 files changed, 0 insertions, 0 deletions