Re: [PATCH v1 Resend] mpt2sas: setpci reset kernel oops fix

2015-07-08 Thread Christoph Hellwig
On Wed, Jul 08, 2015 at 11:17:47AM +0530, Nagarajkumar Narayanan wrote: Note: pci_access_mutex is used only if nytro warpdrive cards (ioc-is_warpdrive based on device id) are used as we could not test this case with other SAS2 HBA cards We can remove this check if this behaviour confirmed

[PATCH v1 Resend] mpt2sas: setpci reset kernel oops fix

2015-07-07 Thread Nagarajkumar Narayanan
Patch Description: In mpt2sas driver due to lack of synchronization between ioctl, BRM status access through sysfs, pci resource removal kernel oops happen as ioctl path and BRM status sysfs access path still tries to access the removed resources kernel: BUG: unable to handle kernel paging