controllers
>From c53a1cff4c07528b8b9ec7f6716e94950283e8f9 Mon Sep 17 00:00:00 2001
From: Nagarajkumar Narayanan
Date: Tue, 18 Aug 2015 11:58:13 +0530
Subject: [PATCH] mpt2sas setpci reset oops fix
In mpt2sas driver due to lack of synchronization between ioctl,
BRM status access through sysfs,
ioc removal is syncrhonized, if not synchronized it might lead to
list_del corruption as the ioc list is traversed in cli path
>From 9e54273555d9a34d0d375b91d41318b4ac69a13b Mon Sep 17 00:00:00 2001
From: Nagarajkumar Narayanan
Date: Fri, 17 Jul 2015 11:28:27 +0530
Subject: [PATCH] mpt2sas set
ioc removal is syncrhonized, if not synchronized it might lead to
list_del corruption as the ioc list is traversed in cli path
>From 8db4d8194276ba420a4e93de4b09df6da5a934e4 Mon Sep 17 00:00:00 2001
From: Nagarajkumar Narayanan
Date: Tue, 14 Jul 2015 16:33:56 +0530
Subject: [PATCH] mpt2sas set
ght lead to
list_del corruption as the ioc list is traversed in cli path
Note: This is a generic case any list operation should be protected.
Signed-off-by: Nagarajkumar Narayanan
---
* v1
- using DEFINE_SPINLOCK() to initialize the lock at compile time instead
of using spin_lock_init
drivers/s
spinlock initialization modified as per comments, Could anyone please
review and approve the patch
On Thu, Jun 25, 2015 at 4:24 PM, Nagarajkumar Narayanan
wrote:
> This patch contains the fix for kernel oops on issuing setpci reset
> along with sysfs, cli access
>
> spinlock in
PCI resource handling path
2. gioc_lock spinlock to protect list operations over multiple controllers
Signed-off-by: Nagarajkumar Narayanan
---
drivers/scsi/mpt2sas/mpt2sas_base.c |9 ++
drivers/scsi/mpt2sas/mpt2sas_base.h | 19 -
drivers/scsi/mpt2sas/mpt2sas_ctl.c |
resource handling
2. gioc_lock : global spin lock over mulitple warp drive controllers to protect
list operations on ioc(controller) list
>From ba692140278e6e2b660896c32206b26dac98d215 Mon Sep 17 00:00:00 2001
From: Nagarajkumar Narayanan
Date: Thu, 19 Mar 2015 12:02:07 +0530
Subject: [PA
rom ba692140278e6e2b660896c32206b26dac98d215 Mon Sep 17 00:00:00 2001
From: Nagarajkumar Narayanan
Date: Thu, 19 Mar 2015 12:02:07 +0530
Subject: [PATCH] mpt2sas setpci kernel oops fix
Signed-off-by: Nagarajkumar Narayanan
---
drivers/scsi/mpt2sas/mpt2sas_base.c | 10 +++
drivers/scsi/mpt2
8 matches
Mail list logo