[PATCH 5/8] bnx2fc: Map the doorbell register between offload and enable requests

2012-12-21 Thread Bhanu Prakash Gollapudi
We used to map doorbell register after FW enable request is complete. This causes a race condition when unsolicited event is received, and FW sends a CQE for it. Since the doorbell is not mapped, driver does not arm CQ, which means FW will not notify the driver for further CQ completions. To resol

[PATCH 8/8] bnx2fc: Bumped version to 1.0.13

2012-12-21 Thread Bhanu Prakash Gollapudi
Signed-off-by: Bhanu Prakash Gollapudi --- drivers/scsi/bnx2fc/bnx2fc.h |2 +- drivers/scsi/bnx2fc/bnx2fc_fcoe.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h index 6bbc0c1..7ce1560 100644 --- a/drive

[PATCH 4/8] bnx2fc: Move offload/upload wait logic into a function

2012-12-21 Thread Bhanu Prakash Gollapudi
Moved the 'waiting for upload/offload completion' logic to respective functions as it is called in multiple places. Also this is done in preperation for the next patch. Signed-off-by: Bhanu Prakash Gollapudi --- drivers/scsi/bnx2fc/bnx2fc_tgt.c | 65 + 1 fil

[PATCH 7/8] bnx2fc: Support max IO size to 512KB

2012-12-21 Thread Bhanu Prakash Gollapudi
Increase max_sectors from 512 to 1024 in order to support max IO size of 512KB. Signed-off-by: Bhanu Prakash Gollapudi --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_f

[PATCH 6/8] bnx2fc: Tx/Rx byte counts reset to 0 when exceeding 32 bit values

2012-12-21 Thread Bhanu Prakash Gollapudi
Since the FW counters are 32-bit, accumulate the stats in the driver. Signed-off-by: Bhanu Prakash Gollapudi --- drivers/scsi/bnx2fc/bnx2fc.h | 22 ++ drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 17 - 2 files changed, 34 insertions(+), 5 deletions(-) diff --

[PATCH 1/8] bnx2fc: remove useless calls to memset().

2012-12-21 Thread Bhanu Prakash Gollapudi
From: Cyril Roelandt These calls are followed by calls to memcpy() on the same memory area, so they can be safely removed. Signed-off-by: Cyril Roelandt Signed-off-by: Bhanu Prakash Gollapudi --- drivers/scsi/bnx2fc/bnx2fc_hwi.c |4 1 files changed, 0 insertions(+), 4 deletions(-) d

[PATCH 2/8] bnx2fc: Remove potential NULL dereference

2012-12-21 Thread Bhanu Prakash Gollapudi
From: Julia Lawall If the NULL test is necessary, the initialization involving a dereference of the tested value should be moved after the NULL test. The sematic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ type T; expression E; identifier i,fld; statement S;

[PATCH 3/8] bnx2fc: support software fcoe target

2012-12-21 Thread Bhanu Prakash Gollapudi
Software FCoE target always advertises RETRY bit even when there are no tape LUNs behind the target. This causes the driver to enable FW support for sequence level error recovery and perform REC/SRR. This patch arrests the behavior by not enabling SLER feature for this target. Signed-off-by: Bhanu

[PATCH 0/8] bnx2fc version 1.0.13

2012-12-21 Thread Bhanu Prakash Gollapudi
Hi James, Please consider including the following patches in 3.8+ merge window. Thanks, Bhanu Bhanu Prakash Gollapudi (6): bnx2fc: support software fcoe target bnx2fc: Move offload/upload wait logic into a function bnx2fc: Map the doorbell register between offload and enable requests bnx

mpt2sas: SATA Initialization Failed - Linux does not create any block devices for PUIS drives behind SAS expander

2012-12-21 Thread CrashPlan Pro
kernel 2.6.32-5-amd64 linux /boot/vmlinuz-2.6.32-5-amd64 root=UUID=61dd0022-387c-4fb8-9532-a4af17aa4af3 ro clocksource=hpet hpet=force raid=noautodetect scsi_mod.scan=async selinux=0 noisapnp verbose MPT2BIOS-07.29.00.00 (loading of this BIOS is disabled in Ami PC BIOS) SAS2008-IT 15.00.00.00

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

2012-12-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=51881 --- Comment #2 from Kouichi ONO 2012-12-21 14:30:04 --- Created an attachment (id=89541) --> (https://bugzilla.kernel.org/attachment.cgi?id=89541) dmesg (OK) -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ---

[Bug 51881] HighPoint RocketRAID 2720 fail to detect some SATA hdd

2012-12-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=51881 --- Comment #1 from Kouichi ONO 2012-12-21 14:29:30 --- Created an attachment (id=89531) --> (https://bugzilla.kernel.org/attachment.cgi?id=89531) dmesg (BAD) -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --

[Bug 51881] New: HighPoint RocketRAID 2720 fail to detect some SATA hdd

2012-12-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=51881 Summary: HighPoint RocketRAID 2720 fail to detect some SATA hdd Product: IO/Storage Version: 2.5 Kernel Version: 3.7 Platform: All OS/Version: Linux Tree: Mainline Sta