Re: mpt3sas: sleeping function called from invalid context

2018-03-19 Thread Jaco Kroon
Hi All, On 14/03/2018 03:29, Bart Van Assche wrote: > (+Jaco) Bart, thanks for adding me. > > On Tue, 2018-03-13 at 16:18 +0530, Suganath Prabu Subramani wrote: >> We have root caused the issue and it is same as you mentioned. >> "_scsih_get_enclosure_logicalid_chassis_slot()" is called with

Re: mpt3sas: sleeping function called from invalid context

2018-03-13 Thread Bart Van Assche
(+Jaco) On Tue, 2018-03-13 at 16:18 +0530, Suganath Prabu Subramani wrote: > We have root caused the issue and it is same as you mentioned. > "_scsih_get_enclosure_logicalid_chassis_slot()" is called with interrupts > disabled and this function > "_scsih_get_enclosure_logicalid_chassis_slot"

Re: mpt3sas: sleeping function called from invalid context

2018-03-13 Thread Suganath Prabu Subramani
Hi Bart, We have root caused the issue and it is same as you mentioned. "_scsih_get_enclosure_logicalid_chassis_slot()" is called with interrupts disabled and this function "_scsih_get_enclosure_logicalid_chassis_slot" again calls _config_request(), with mutex_lock(). We have patch ready along

mpt3sas: sleeping function called from invalid context

2018-03-12 Thread Bart Van Assche
Hello, For the first I/O request after boot that is sent to a disk attached to an mpt3sas adapter I see the below complaint appearing in the kernel log. This occurs at least with kernels v4.16-rc4 and v4.16-rc5. What I see in the mpt3sas source code is that