[PATCH] [SCSI] bfa: allocate memory with GFP_ATOMIC in spinlock context

2014-04-18 Thread Alexey Khoroshilov
bfa_fcb_pbc_vport_create() is called only from bfa_fcs_pbc_vport_init(), that is called only from bfad_drv_start() with bfad_lock spinlock held. So the patch replaces GFP_KERNEL with GFP_ATOMIC to avoid sleeping in atomic spinlock context. Found by Linux Driver Verification project

Re: [PATCH] [SCSI] bfa: allocate memory with GFP_ATOMIC in spinlock context

2014-04-18 Thread Alexey Khoroshilov
Please ignore this patch, it will resend a correct version of it. On 18.04.2014 00:25, Alexey Khoroshilov wrote: bfa_fcb_pbc_vport_create() is called only from bfa_fcs_pbc_vport_init(), that is called only from bfad_drv_start() with bfad_lock spinlock held. So the patch replaces GFP_KERNEL

[PATCH v2] [SCSI] bfa: allocate memory with GFP_ATOMIC in spinlock context

2014-04-18 Thread Alexey Khoroshilov
bfa_fcb_pbc_vport_create() is called only from bfa_fcs_pbc_vport_init(), that is called only from bfad_drv_start() with bfad_lock spinlock held. So the patch replaces GFP_KERNEL with GFP_ATOMIC to avoid sleeping in atomic spinlock context. Found by Linux Driver Verification project

Re: [PATCH] target: Allow non-supporting backends to set pi_prot_type to 0

2014-04-18 Thread Jerome Martin
Excellent, thank you Nic and Andy, that will fix the issue with rtslib/targetcli main branch too. On 04/18/2014 02:14 AM, Nicholas A. Bellinger wrote: On Tue, 2014-04-15 at 14:13 -0700, Andy Grover wrote: Userspace tools assume if a value is read from configfs, it is valid and will not cause

Re: LSI SAS - SSDs with DRAT and DZAT

2014-04-18 Thread Kurt Miller
On Thu, 2014-04-17 at 16:10 -0700, Purush Gupta wrote: Kurt, Just curious which LSI firmware version are you using? currently 18. Intel S3500 on LSI SAS 9207-8i IT: Linux thorin 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux [3.077947] mpt2sas0:

[PATCH 0/2] PHY: Add SATA Gen1/Gen2 support to the APM X-Gene SoC 15Gbps PHY driver

2014-04-18 Thread Suman Tripathi
This patch adds the necessary code to support SATA Gen1/Gen2 for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. Suman Tripathi (2): PHY: Add function set_rate to generic PHY framework PHY: Add Gen1/Gen2 support for the APM SoC X-Gene SATA PHY driver drivers/phy/phy-core.c | 29

[PATCH 2/2] PHY: Add Gen1/Gen2 support for the APM SoC X-Gene SATA PHY driver

2014-04-18 Thread Suman Tripathi
This patch adds the necessary PHY code to support SATA Gen1/Gen2 for the APM X-Gene SoC PHY driver. Signed-off-by: Loc Ho l...@apm.com Signed-off-by: Suman Tripathi stripa...@apm.com --- drivers/phy/phy-xgene.c | 90 ++--- 1 file changed, 77

[PATCH 1/2] PHY: Add function set_rate to generic PHY framework

2014-04-18 Thread Suman Tripathi
This patch adds function set_rate to the generic PHY framework operation structure. This function can be called to instruct the PHY underlying layer at specified lane to configure for specified rate. Signed-off-by: Loc Ho l...@apm.com Signed-off-by: Suman Tripathi stripa...@apm.com ---

[PATCH 1/2] PHY: Add function set_rate to generic PHY framework

2014-04-18 Thread Suman Tripathi
This patch adds function set_rate to the generic PHY framework operation structure. This function can be called to instruct the PHY underlying layer at specified lane to configure for specified rate. Signed-off-by: Loc Ho l...@apm.com Signed-off-by: Suman Tripathi stripa...@apm.com ---

Re: Please help me to review the patch about supporting SATA PM in LIBSAS

2014-04-18 Thread Dan Williams
On Thu, Apr 17, 2014 at 9:03 AM, Dan Williams dan.j.willi...@intel.com wrote: On Wed, Apr 16, 2014 at 8:07 PM, xiangliang yu yxlr...@gmail.com wrote: hi, The patch is support SATA PM device and can find all devices that is attached to PM. Until now, i have tested the identified, hot-plug

[PATCH 1/3] fnic:NoFIP solicitation frame in NONFIP mode and changed IO Throttle count

2014-04-18 Thread Hiral Shah
This patch contains following three minor fixes. 1) During Probe, fnic was sending FIP solicitation in Non FIP mode which is not expected, setting the internal fip state to Non FIP mode explicitly, avoids sending FIP frame. 2) When target goes offline, all outstanding IOs belong to the

[PATCH 2/3] fnic:Failing to queue aborts due to Q full cause terminate driver timeout

2014-04-18 Thread Hiral Shah
In fnic abort handler, abort queuing can be failed when hardware queue is full. The command state is left as abort queued. The command with abort queued state will never be queued next time for abort or termiantion. Fix restores the command state in above case. Signed-off-by: Hiral Shah

[PATCH 3/3] fnic: fnic Control Path Trace Utility

2014-04-18 Thread Hiral Shah
Fnic Ctlr Path Trace utility is a tracing functionality built directly into fnic driver to trace the control path frames like discovery, FLOGI request/reply, PLOGI request/reply, link event etc. It will be one trace file for all fnics. It will help us to debug and resolve the discovery and