Re: [PATCH 4/4 v4] scsi:stex.c Add S3/S4 support

2014-12-16 Thread Oliver Neukum
On Tue, 2014-12-16 at 14:14 +0800, Charles Chiou wrote: From f9d84df080c16097218092630db9b5df31d487b5 Mon Sep 17 00:00:00 2001 From: Charles Chiou charles.ch...@tw.promise.com Date: Fri, 7 Nov 2014 10:15:18 +0800 Subject: [PATCH 4/4] scsi:stex.c Add S3/S4 support Add S3/S4 support, add

[PATCH 1/4] be2iscsi : Fix the retry count for boot targets

2014-12-16 Thread John Soni Jose
Increment the retry count to get the boot target info when port async event is received by the driver. Update sysfs enteries with the boot target parameters. Signed-off-by: Minh Tran minhduc.t...@emulex.com Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan

[PATCH 0/4] be2iscsi driver update to 10.4.200.0

2014-12-16 Thread John Soni Jose
The patchset updates be2iscsi driver to 10.4.200.0. These patches are generated aganist the SCSI for-next branch. John Soni Jose (4): be2iscsi : Fix the retry count for boot targets be2iscsi : Fix the PCI request region reserving. Reserve the device PCI I/O and Memory resources.

[PATCH 4/4] be2iscsi : Bump the driver version

2014-12-16 Thread John Soni Jose
Bump the driver version Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/be2iscsi/be_main.h

[PATCH 3/4] be2iscsi : Fix memory leak in the unload path

2014-12-16 Thread John Soni Jose
Driver was not freeing the DMA memory allocated for EQ/CQ in the unload path. This patch frees the DMA memory during the driver unload. Signed-off-by: John Soni Jose sony.joh...@emulex.com Signed-off-by: Jayamohan Kallickal jayamohan.kallic...@emulex.com --- drivers/scsi/be2iscsi/be_main.c |

Re: Tagged overlapped commands

2014-12-16 Thread Andrew Brooks
On 8 December 2014 at 07:02, James Bottomley james.bottom...@hansenpartnership.com wrote: The error message likely means that the tape device had more than one command outstanding at once (i.e. one command was sent while the current command was still pending). It could also mean that a tag

Re: [Lsf-pc] [LSF/MM TOPIC] Integrated Unit Attention handling

2014-12-16 Thread Hannes Reinecke
On 12/16/2014 09:32 AM, Christoph Hellwig wrote: Sounds like a good topic, altough I hope we'll see considerable progress before LSF on this item.. Full integration requires a change of the SCSI device model; currently struct scsi_device has a fixed type and inquiry data, so rescan is

[PATCH V6 1/3] scsi: Avoid unnecessary GFP_ATOMIC allocation in scsi_report_lun_scan

2014-12-16 Thread Rob Evers
Signed-off-by: Rob Evers rev...@redhat.com --- drivers/scsi/scsi_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index ba3f1e8..e460b35 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c @@ -1408,7

[PATCH V6 3/3] scsi: retry report-luns when reported LU count requres more memory

2014-12-16 Thread Rob Evers
Update scsi_report_lun_scan to initially always report up to 511 LUs, as the previous default max_report_luns did. Retry in a loop if not enough memory is available for the number of LUs reported. Parameter max_report_luns is removed as it is no longer used. Signed-off-by: Rob Evers

[PATCH V6 0/3] scsi: Configure number of LUs reported by 'report-luns'

2014-12-16 Thread Rob Evers
This patch set retrieves the number of LUs available on a target using the report-luns command by re-sizing the returned data buffer and retrying report luns. A minor bug fix is included. scsi_mod parameter max_report_luns is no longer used and is removed. Changes from previous posting: -

[PATCH V6 2/3] scsi: Use set/get_unaligned_be32 in report_luns

2014-12-16 Thread Rob Evers
Signed-off-by: Rob Evers rev...@redhat.com --- drivers/scsi/scsi_scan.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c index e460b35..8db1f6f 100644 --- a/drivers/scsi/scsi_scan.c +++ b/drivers/scsi/scsi_scan.c

Re: [PATCH 1/4] be2iscsi : Fix the retry count for boot targets

2014-12-16 Thread Mike Christie
On 12/16/14, 8:33 PM, John Soni Jose wrote: +#define GET_BOOT_RETRIES 45 +#define GET_BOOT_TO20 /** Does beiscsi_get_boot_info() succeed when the fw is able to log into the target (go into iscsi full feature phase) or just able to reach it (ICMP ping the port or something

[PATCH 0/2] * ahci_xgene: Bug fixes in APM X-Gene Soc AHCI SATA controller driver.

2014-12-16 Thread Suman Tripathi
These patches address the following two issues : 1. Endianess issue with xgene_read_id function. 2. ATAPI device enumeration failure with ATA_CMD_PACKET PIO mode command. Signed-off-by: Suman Tripathi stripa...@apm.com --- Suman Tripathi (2): ahci_xgene: Fix the endianess issue in APM X-Gene

[PATCH 1/2] ahci_xgene: Fix the endianess issue in APM X-Gene SoC AHCI SATA controller driver.

2014-12-16 Thread Suman Tripathi
This patch fixes the big endian mode issue with function xgene_ahci_read_id. Signed-off-by: Suman Tripathi stripa...@apm.com --- drivers/ata/ahci_xgene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index 0f8538f..0ffd3c9

[PATCH 2/2] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_PACKET PIO mode command.

2014-12-16 Thread Suman Tripathi
This patch addresses the issue with ATA_CMD_PACKET pio mode command for enumeration and device detection with ATAPI devices.It is the same issue as in patch www.spinics.net/lists/linux-ide/msg49092.html Signed-off-by: Suman Tripathi stripa...@apm.com --- drivers/ata/ahci_xgene.c | 12

[PATCH RESEND 0/2] ahci_xgene: Bug fixes in APM X-Gene Soc AHCI SATA controller driver.

2014-12-16 Thread Suman Tripathi
These patches address the following two issues : 1. Endianess issue with xgene_read_id function. 2. ATAPI device enumeration failure with ATA_CMD_PACKET PIO mode command. Signed-off-by: Suman Tripathi stripa...@apm.com --- Suman Tripathi (2): ahci_xgene: Fix the endianess issue in APM X-Gene

Re: [PATCH 2/2] ahci_xgene: Fix the dma state machine lockup for the ATA_CMD_PACKET PIO mode command.

2014-12-16 Thread Sergei Shtylyov
Hello. On 12/16/2014 07:49 PM, Suman Tripathi wrote: This patch addresses the issue with ATA_CMD_PACKET pio mode command for enumeration and device detection with ATAPI devices.It is the same issue as in patch www.spinics.net/lists/linux-ide/msg49092.html Signed-off-by: Suman Tripathi

[PATCH 4/4] Drivers: scsi: storvsc: Force SPC-3 compliance on win8 and win8 r2 hosts

2014-12-16 Thread K. Y. Srinivasan
On win8 and win8 r2 hosts force SPC-3 compliance for MSFT virtual disks. Ubuntu has been carrying a similar patch outside the tree for a while now. Starting with win10, the host will support SPC-3 compliance. Based on all the testing that has been done on win8 and win8 r2 hosts, we are comfortable

[PATCH 0/4] Drivers: scsi: storvsc: Fix miscellaneous issues

2014-12-16 Thread K. Y. Srinivasan
The first two patches in this series are a resend; these were submitted some months ago and as far as I know, there were no outstanding issues. Win8 and win8 r2 hosts do support SPC-3 features but claim SPC-2 compliance. This issue is fixed here as well. K. Y. Srinivasan (4): Drivers: scsi:

[PATCH 2/4] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-12-16 Thread K. Y. Srinivasan
The host asks the guest to scan when a LUN is removed or added. The only way a guest can identify the removed LUN is when an I/O is attempted on a removed LUN - the SRB status code indicates that the LUN is invalid. We currently handle this SRB status and remove the device. Rather than waiting

[PATCH 3/4] Drivers: scsi: storvsc: Fix a bug in storvsc limits

2014-12-16 Thread K. Y. Srinivasan
Commit 4cd83ecdac20d30725b4f96e5d7814a1e290bc7e changed the limits to reflect the values on the host. It turns out that WS2008R2 cannot correctly handle these new limits. Fix this bug by setting the limits based on the host. Signed-off-by: K. Y. Srinivasan k...@microsoft.com ---

[PATCH 1/4] Drivers: scsi: storvsc: In responce to a scan event, scan the host

2014-12-16 Thread K. Y. Srinivasan
The virtual HBA that storvsc implements can support multiple channels and targets. So, scan the host when the host notifies that a scan is needed. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/scsi/storvsc_drv.c | 19 +++ 1 files changed, 7 insertions(+), 12

[SCSI] bfa: fix bfa_fcb_itnim_alloc() error handling

2014-12-16 Thread Dan Carpenter
The caller assumes that itnim is NULL on error and non-NULL on success but really itnim is uninitialized on error. This function should just use normal error handling where it returns zero on success and negative on failure. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Static

RE: [PATCH 1/4] be2iscsi : Fix the retry count for boot targets

2014-12-16 Thread Minh Duc Tran
On 12/16/14, 8:33 PM, John Soni Jose wrote: +#define GET_BOOT_RETRIES45 +#define GET_BOOT_TO 20 /** Does beiscsi_get_boot_info() succeed when the fw is able to log into the target (go into iscsi full feature phase) or just able to reach it (ICMP ping the port or something like