[PATCH v1 1/1] cciss: replace custom function to hexdump

2016-05-06 Thread Andy Shevchenko
For small buffers we may use %*ph[N] specifier, for the bigger blocks print_hex_dump() call. Cc: Christoph Hellwig Signed-off-by: Andy Shevchenko --- drivers/block/cciss_scsi.c | 72 +++--- 1 file changed,

[PATCH v1 1/1] scsi: replace custom approach to hexdump small buffers

2016-05-06 Thread Andy Shevchenko
In kernel we have defined specifier (%*ph[C]) to dump small buffers in a hex format. Replace custom approach by a generic one. Signed-off-by: Andy Shevchenko --- drivers/scsi/scsi_transport_srp.c | 11 +-- drivers/scsi/sd.c | 4 +--- 2

[PATCH v1 0/4] scsi: some (very) old clean ups

2016-05-06 Thread Andy Shevchenko
This is a set of independent clean ups that didn't land upstream for ages (some are dated 2010!). As agreed with Martin at some point I resend them. I have more, but the rest is not yet ready for submission. Andy Shevchenko (3): libsas: remove private hex2bin() implementation scsi: fnic:

[PATCH v1 4/4] scsi: qla4xxx: print MAC and SID via %p[mM][R]

2016-05-06 Thread Andy Shevchenko
From: Oleksandr Khoshaba In the kernel we have nice specifier to print MAC by given pointer to the address in a binary form. Signed-off-by: Oleksandr Khoshaba Acked-by: Vikas Chaudhary Cc:

[PATCH v1 3/4] fusion: print lan address via %pMR

2016-05-06 Thread Andy Shevchenko
LAN MAC addresses can be printed directly using %pMR specifier. Cc: Sathya Prakash Cc: mpt-fusionlinux@broadcom.com Signed-off-by: Andy Shevchenko --- drivers/message/fusion/mptbase.c | 14 -- 1 file changed, 4

[PATCH v1 2/4] scsi: fnic: use kernel's '%pM' format option to print MAC

2016-05-06 Thread Andy Shevchenko
Instead of supplying each byte through stack let's use %pM specifier. Cc: Hiral Patel Cc: Suma Ramars Cc: Brian Uchino Signed-off-by: Andy Shevchenko --- drivers/scsi/fnic/vnic_dev.c | 10 ++

[PATCH v1 1/4] libsas: remove private hex2bin() implementation

2016-05-06 Thread Andy Shevchenko
The function sas_parse_addr() could be easily substituted by hex2bin() which is in kernel library code. Cc: Christoph Hellwig Signed-off-by: Andy Shevchenko --- drivers/scsi/libsas/sas_scsi_host.c | 22 ++ 1 file changed, 6

Re: [PATCHv3 00/14] libata: ZAC support

2016-05-06 Thread Hannes Reinecke
On 04/25/2016 10:16 PM, Tejun Heo wrote: > Hello, > > On Mon, Apr 25, 2016 at 12:45:42PM +0200, Hannes Reinecke wrote: >> here's a patchset implementing ZAC support for libata. >> >> This is the second part of a larger patchset for ZAC/ZBC support; >> it requires the scsi trace fixes queued for

Re: [PATCH] scsi: Make scsi_vpd_lun_id() able to use T10 vendor ID based designators

2016-05-06 Thread Hannes Reinecke
On 05/05/2016 02:41 PM, Paul Mackerras wrote: > On Thu, May 05, 2016 at 10:01:13AM +0200, Hannes Reinecke wrote: >> On 05/05/2016 05:50 AM, Paul Mackerras wrote: >>> On Wed, May 04, 2016 at 12:04:16PM +0200, Hannes Reinecke wrote: > ... Nearly. The thing is, a T-10 vendor specific ID is

[PATCH 4/6] mpt3sas: Updating mpt3sas driver version to 13.100.00.00

2016-05-06 Thread Chaitra P B
Bump mpt3sas driver version from 12.100.00.00 to 13.100.00.00 Signed-off-by: Chaitra P B --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h

[PATCH 1/6] mpt3sas: Update MPI header to 2.00.42

2016-05-06 Thread Chaitra P B
Updated MPI version and MPI header files. ChangeList: * Added SATADeviceWaitTime to SAS IO Unit Page 4 * Added EEDPObservedValue added to SCSI IO Reply message * Added MPI2_EVENT_ACTIVE_CABLE_EXCEPTION and MPI26_EVENT_DATA_ACTIVE_CABLE_EXCEPT Signed-off-by: Chaitra P B

[PATCH 0/6] mpt3sas: driver update to Phase12.

2016-05-06 Thread Chaitra P B
Here is the change list: * Updated MPI version and MPI header files. * Handle active cable exception event for Intruder/Cutlass HBAs. * Use scsi_prot_ref_tag()API to fill reference tag field in the CDB. * Updated mpt3sas driver version to Ph12 13.100.00.00 * Set maximum transfer length per IO on

[PATCH 5/6] mpt3sas: Set maximum transfer length per IO to 4MB for VDs

2016-05-06 Thread Chaitra P B
Set maximum transfer length per IO on RAID volumes to 4MB by setting VD's queue's max_sector to 8192. Signed-off-by: Chaitra P B --- drivers/scsi/mpt3sas/mpt3sas_base.h | 2 ++ drivers/scsi/mpt3sas/mpt3sas_scsih.c | 8 2 files changed, 10 insertions(+)

[PATCH 3/6] mpt3sas: Fix initial Reference tag field for 4K PI drives.

2016-05-06 Thread Chaitra P B
Modified driver code to use scsi_prot_ref_tag() API instead of scsi_get_lba(), while initializing reference tag field in the CDB. Signed-off-by: Chaitra P B --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 6/6] mpt3sas: Used "synchronize_irq()"API to synchronize timed-out IO & TMs

2016-05-06 Thread Chaitra P B
Replaced mpt3sas_base_flush_reply_queues()with mpt3sas_base_sync_reply_irqs(),as mpt3sas_base_flush_reply_queues() skips over reply queues that are currently busy (i.e. being handled by interrupt processing in another core). If a reply queue is busy, then call to synchronize_irq()in

[PATCH 2/6] mpt3sas: Handle active cable exception event

2016-05-06 Thread Chaitra P B
In-order to handle this 'MPI2_EVENT_ACTIVE_CABLE_EXCEPTION' event, driver need to follow below steps, 1. Unmask the 'MPI2_EVENT_ACTIVE_CABLE_EXCEPTION' event, so that FW can notify this event to host driver. 2. After receiving this event, add this event to AEN event queue, for notifying this event

[PATCH] scsi_dh_alua: do not fail for unknown VPD identification

2016-05-06 Thread Hannes Reinecke
Not every device will return a useable VPD identification, but still might support ALUA. Rather then disable ALUA support we should be allowing the device identification to be empty and attach individual ALUA device handler to each devices. Reported-by: Paul Mackerras

[PATCH] scsi_lib: Decode T-10 vendor IDs

2016-05-06 Thread Hannes Reinecke
Some arrays / HBAs will only present T-10 vendor IDs, so we should be decoding them, too. Suggested-by: Paul Mackerras Signed-off-by: Hannes Reinecke --- drivers/scsi/scsi_lib.c | 16 1 file changed, 16 insertions(+) diff --git

RE: [PATCH resend v2] [SCSI] bfa: fix bfa_fcb_itnim_alloc() error handling

2016-05-06 Thread Anil Gurumurthy
Apologies for the delay. Patch looks good. Acked by: Anil Gurumurthy -Original Message- From: Martin K. Petersen [mailto:martin.peter...@oracle.com] Sent: 06 May 2016 06:54 To: Dan Carpenter Cc: Anil Gurumurthy