[PATCH v2 19/19] be2iscsi: Bump the driver version

2012-10-19 Thread John Soni Jose
Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h index 5b27275..5946577 100644 --- a/drivers/scsi/be2isc

[PATCH v2 18/19] be2iscsi: Fix Unrecoverable Error Detection

2012-10-19 Thread John Soni Jose
Driver periodically checks adapter state,is up fine or not. Based on the value updates the internal structures of driver. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 10 +++- drivers/scsi/be2iscsi/be_main.c | 26 drivers/

[PATCH v2 17/19] be2iscsi: Fix for MBX timeout issue

2012-10-19 Thread John Soni Jose
The MBX timeout value set to 100 and if adapter doesn;t return response in that time driver will return from waiting for completion with an error to the caller. In the earlier code driver use to wait until MBX response comes from adapter. Signed-off-by: John Soni Jose Signed-off-by: Jayamoha

[PATCH v2 16/19] be2iscsi: Fix the copyright information

2012-10-19 Thread John Soni Jose
Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_cmds.c |2 +- drivers/scsi/be2iscsi/be_cmds.h |2 +- drivers/scsi/be2iscsi/be_iscsi.c |2 +- drivers/scsi/be2iscsi/be_iscsi.h |2 +- drivers

[PATCH v2 15/19] be2iscsi: Fix issue of displaying adapter family.

2012-10-19 Thread John Soni Jose
Fix issue of displaying adapter family through the sysfs entry for each Scsi_Host created for the adapter. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c |2 ++ drivers/scsi/be2iscsi/be_mgmt.c | 39 +++

[PATCH v2 14/19] be2iscsi: Fix Task Completion Event handling

2012-10-19 Thread John Soni Jose
The completion events returned by adapter differs based on the adapter. This fix checks for the adapter type and process the completion event. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.h | 53 drivers/scsi/be2iscsi/be_main.c

[PATCH v2 13/19] be2iscsi: Fix session update context with V2 version.

2012-10-19 Thread John Soni Jose
For updating session context on adapter, V2 version is to be used with teh latest adapter. This fix checks for the adapter type and uses correct version of session context. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c |8 ++ driver

[PATCH v2 12/19] be2iscsi: Fix support for V2 version of WRB.

2012-10-19 Thread John Soni Jose
Latest adapters use the V2 version of WRB. This fix checks for the adapter type and uses appropriate version of WRB. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 265 +-- drivers/scsi/be2iscsi/be_ma

[PATCH v2 11/19] be2iscsi: Fix support for handling CQ_CREATE V2 version.

2012-10-19 Thread John Soni Jose
For latest adapters, V2 version of cq_create MBX_CMD is to be used. When driver is loaded depending on the adapter type appropriate cq_create command will be called. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c | 38 ++

[PATCH v2 10/19] be2iscsi: Fix max EQ supported by the driver.

2012-10-19 Thread John Soni Jose
Fix the max EQ created when driver is loaded. Max EQ for for new adapters will be 64. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 15 +-- drivers/scsi/be2iscsi/be_main.h | 13 - 2 files changed, 21 insertio

[PATCH v2 09/19] be2iscsi: Fix driver support for an adapter.

2012-10-19 Thread John Soni Jose
Fix support for Skyhawk-R adapter by populating the pci_id_table Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be.h |2 +- drivers/scsi/be2iscsi/be_main.c |3 +++ drivers/scsi/be2iscsi/be_main.h |4 3 files changed, 8 insertio

[PATCH v2 08/19] be2iscsi: Fix return value and typo.

2012-10-19 Thread John Soni Jose
Fix return value and typo in the message displayed. Fix the goto label when wrb_hanlde allocation fails. Fix the error message display in beiscsi_alloc_pdu Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_iscsi.c | 13 +++ drivers/scsi/be2is

[PATCH v2 07/19] be2iscsi: Fix kernel panic in blk_iopoll disable mode.

2012-10-19 Thread John Soni Jose
Kernel used to panic while running IO is disable mode, as there was an issue with getting the correct EQ on which completion has come. Fix done is create workqueue per hba and work item for each EQ created. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2

[PATCH v2 06/19] be2iscsi: Issue an FLR when driver is loaded

2012-10-19 Thread John Soni Jose
Issue Function Level Reset everytime driver is loaded. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 65 +++ 1 files changed, 18 insertions(+), 47 deletions(-) diff --git a/drivers/scsi/be2iscsi/be

[PATCH v2 05/19] be2iscsi: Display driver name and version in device attribute

2012-10-19 Thread John Soni Jose
Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c |2 ++ drivers/scsi/be2iscsi/be_mgmt.c | 16 drivers/scsi/be2iscsi/be_mgmt.h |3 +++ 3 files changed, 21 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/be2isc

[PATCH v2 04/19] be2iscsi: Fix max supported EQ count to 8.

2012-10-19 Thread John Soni Jose
The maximum EQ that can be created for a function is 8. Check the CPU online count and create only 8 EQ if CPU_Count >= 8 Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 23 ++- drivers/scsi/be2iscsi/be_main.h |1

[PATCH v2 03/19] be2iscsi: Fix memory leak in control path of driver

2012-10-19 Thread John Soni Jose
In contorl path of the driver the task was mapped using pci_map_single which was not unmapped when the completion for the task had come. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_main.c | 39 +-- driver

[PATCH v2 02/19] be2iscsi: Display Completion Event string instead of Opcode

2012-10-19 Thread John Soni Jose
Display the event string along with the opcode and CID on which an event has occured. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.h |2 - drivers/scsi/be2iscsi/be_main.c | 88 --- 2 files changed,

[PATCH v2 01/19] be2iscsi: Fix the issue with soft reset.

2012-10-19 Thread John Soni Jose
From: Minh Tran Fixed soft_reset problem which driver modified all 32bit before a write on second pass. Signed-off-by: Minh Tran Signed-off-by: Jayamohan Kallickal --- drivers/scsi/be2iscsi/be_cmds.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2i

[PATCH v2 00/19] be2iscsi driver updates

2012-10-19 Thread John Soni Jose
V2 patches for be2iscsi driver updates. Fixed the review comments with this patch. These patches were generated aganist scsi-misc branch. be2iscsi: Fix the issue with soft reset. be2iscsi: Display Completion Event string instead of Opcode be2iscsi: Fix memory leak in control path of driver

Re: [PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-10-19 Thread Tomas Henzl
On 10/19/2012 03:51 PM, Mahesh Rajashekhara wrote: > Hi James, > > We've incorporated the changes suggested by Tomas in this driver patch. I > would request you to please consider this patch. Please let us know your > comments if any. > > Patch Description: > This patch handles SCSI dma mapping

Re: [PATCH v2 0/3] block: add queue-private command filter, editable via sysfs

2012-10-19 Thread Paolo Bonzini
> > In one use case, the administrator then needs the ability to configure > > devices easily, for example to be much more restrictive on non-MMC > > devices. It must be done with the same tools it uses for other > > aspects of the policy---which will be a combination of DAC (Unix > > permissions

[PATCH 1/1] aacraid: SCSI dma mapping failure case handling

2012-10-19 Thread Mahesh Rajashekhara
Hi James, We've incorporated the changes suggested by Tomas in this driver patch. I would request you to please consider this patch. Please let us know your comments if any. Patch Description: This patch handles SCSI dma mapping failure case. Reporting error code to the upper layer instead of