[PATCH] scsi: cxlflash: fix assignment of the backend operations

2018-07-04 Thread Cédric Le Goater
commit cd43c221bb5e ("scsi: cxlflash: Isolate external module dependencies") introduced the use of ifdefs to avoid compilation errors when one of the possible backend driver, CXL or OCXL, is not compiled. Unfortunately, the wrong defines are used and the backend ops are never assigned, leading to

Re: [PATCH] mpt3sas: Fix for regression caused due to cf6bf9710c patch

2018-07-04 Thread David Miller
From: Sreekanth Reddy Date: Wed, 4 Jul 2018 16:54:05 +0530 > > Also I tried replacing readl() API with readw()API (as HBA FW will > send 16 bit data at a time) as shown below and still I see same issue, > > MPI2DefaultReply_t *default_reply = (MPI2DefaultReply_t *)reply; > u16

Re: [PATCHv2] libfc: fixup 'sleeping function called from invalid context'

2018-07-04 Thread Johannes Thumshirn
Acked-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key

Re: [PATCH] libfc: Add lockdep annotations

2018-07-04 Thread Johannes Thumshirn
Acked-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key

[PATCHv2] libfc: fixup 'sleeping function called from invalid context'

2018-07-04 Thread Hannes Reinecke
fc_rport_login() will be calling mutex_lock() while running inside an RCU-protected section, triggering the warning 'sleeping function called from invalid context'. To fix this we can drop the rcu functions here altogether as the disc mutex protecting the list itself is already held, preventing

[PATCH] libfc: fixup 'sleeping function called from invalid context'

2018-07-04 Thread Hannes Reinecke
fc_rport_login() will be calling mutex_lock() while running inside an RCU-protected section, triggering the warning 'sleeping function called from invalid context'. To fix this we can drop the rcu functions here altogether as the disc mutex protecting the list itself is already held, preventing

[PATCH] libfc: Add lockdep annotations

2018-07-04 Thread Hannes Reinecke
Convert the free text locking notes into proper lockdep annotations. Signed-off-by: Hannes Reinecke --- drivers/scsi/libfc/fc_disc.c | 32 + drivers/scsi/libfc/fc_lport.c | 108 +- drivers/scsi/libfc/fc_rport.c | 99

Re: [PATCH] mpt3sas: Fix for regression caused due to cf6bf9710c patch

2018-07-04 Thread Sreekanth Reddy
On Tue, Jul 3, 2018 at 8:53 PM, James Bottomley wrote: > On Tue, 2018-07-03 at 22:49 +0900, David Miller wrote: >> From: Sreekanth Reddy >> Date: Tue, 3 Jul 2018 17:48:49 +0530 >> >> > Any suggestion/update over my previous mail. I am using 4.13 >> kernel. >> >> I think the issue is that if you

Re: aacraid driver, kernel 4.14 and up, ASR8xxx controller : doesn't work

2018-07-04 Thread Emmanuel Florac
Le Tue, 3 Jul 2018 17:37:56 + Dave Carroll écrivait: > > [ 61.076949] SME is active and system is using DMA bounce buffers > > [ 61.076954] aacraid: Comm Interface type2 enabled > > > > Both controllers are capable of 64-bit DMA, however the communication > area should be 32-bit. Is