Re: [PATCH] mpt3sas: Force request partial completion alignment

2017-01-23 Thread Sreekanth Reddy
On Wed, Dec 28, 2016 at 6:21 PM, Guilherme G. Piccoli wrote: > From: Ram Pai > > The firmware or device, possibly under a heavy I/O load, can return > on a partial unaligned boundary. Scsi-ml expects these requests to be > completed on an alignment boundary. Scsi-ml blindly requeues the I/O > wit

[PATCH v3 0/4] mpt3sas driver Enhancements and defect fixes:

2017-01-23 Thread Chaitra P B
Here is the change list: Posting 4 patches for mpt3sas driver enhancement and defect fixes. * Handle cable event for notifying degraded speed. * Performance improvement for Crusader. * Fix Firmware fault state 0x2100 during heavy 4K RR FIO stress test. * Updated driver version to 15.100

[PATCH v3 1/4] mpt3sas: Added print to notify cable running at a degraded speed.

2017-01-23 Thread Chaitra P B
Driver processes the event MPI26_EVENT_ACTIVE_CABLE_DEGRADED when a cable is present and is running at a degraded speed (below the SAS3 12 Gb/s rate). Prints added to inform the user that the cable is not running at optimal speed. Signed-off-by: Chaitra P B Signed-off-by: Suganath Prabu S --- d

[PATCH v3 2/4] mpt3sas: Fix for Crusader to achieve product targets with SAS devices.

2017-01-23 Thread Chaitra P B
Small glitch/degraded performance in Crusader is improved with SAS drives by removing unnecessary spinlocks while clearing scsi command in drivers internal lookup table. Signed-off-by: Chaitra P B Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_base.c |1 + drivers/scsi/mp

[PATCH v3 4/4] mpt3sas: Updating driver version to v15.100.00.00

2017-01-23 Thread Chaitra P B
Updated driver version to "15.100.00.00" Signed-off-by: Chaitra P B Signed-off-by: Suganath Prabu S Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drive

[PATCH v3 3/4] mpt3sas: Fix Firmware fault state 0x2100 during heavy 4K RR FIO stress test.

2017-01-23 Thread Chaitra P B
Due existence of loop in the IO path our HBA will receive heavy IOs and also as driver is not updating the Reply Post Host Index frequently, So there will be a high chance that our Firmware unable to find any free entry in the Reply Post Descriptor Queue (i.e. Queue overflow occurs) and can observe

Re: [PATCH] mpt3sas: Force request partial completion alignment

2017-01-23 Thread Guilherme G. Piccoli
On 01/23/2017 07:05 AM, Sreekanth Reddy wrote: > On Wed, Dec 28, 2016 at 6:21 PM, Guilherme G. Piccoli > wrote: >> From: Ram Pai >> >> The firmware or device, possibly under a heavy I/O load, can return >> on a partial unaligned boundary. Scsi-ml expects these requests to be >> completed on an al

split scsi passthrough fields out of struct request

2017-01-23 Thread Christoph Hellwig
Hi all, this series splits the support for SCSI passthrough commands from the main struct request used all over the block layer into a separate scsi_request structure that drivers that want to support SCSI passthough need to embedded as the first thing into their request-private data, similar to h

[PATCH 01/16] block: fix elevator init check

2017-01-23 Thread Christoph Hellwig
We can't initalize the elevator fields for flushes as flush share space in struct request with the elevator data. But currently we can't commnicate that a request is a flush through blk_get_request as we can only pass READ or WRITE, and the low-level code looks at the possible NULL bio to check fo

[PATCH 02/16] block: simplify blk_init_allocated_queue

2017-01-23 Thread Christoph Hellwig
Return an errno value instead of the passed in queue so that the callers don't have to keep track of two queues, and move the assignment of the request_fn and lock to the caller as passing them as argument doesn't simplify anything. While we're at it also remove two pointless NULL assignments, giv

[PATCH 03/16] block: allow specifying size for extra command data

2017-01-23 Thread Christoph Hellwig
This mirrors the blk-mq capabilities to allocate extra drivers-specific data behind struct request by setting a cmd_size field, as well as having a constructor / destructor for it. Signed-off-by: Christoph Hellwig --- block/blk-core.c | 59 --

[PATCH 07/16] scsi_dh_emc: switch to scsi_execute_req_flags()

2017-01-23 Thread Christoph Hellwig
From: Hannes Reinecke Switch to scsi_execute_req_flags() and scsi_get_vpd_page() instead of open-coding it. Using scsi_execute_req_flags() will set REQ_QUIET and REQ_PREEMPT, but this is okay as we're evaluating the errors anyway and should be able to send the command even if the device is quies

[PATCH 06/16] scsi_dh_rdac: switch to scsi_execute_req_flags()

2017-01-23 Thread Christoph Hellwig
From: Hannes Reinecke Switch to scsi_execute_req_flags() and scsi_get_vpd_page() instead of open-coding it. Using scsi_execute_req_flags() will set REQ_QUIET and REQ_PREEMPT, but this is okay as we're evaluating the errors anyway and should be able to send the command even if the device is quies

[PATCH 08/16] scsi_dh_hp_sw: switch to scsi_execute_req_flags()

2017-01-23 Thread Christoph Hellwig
From: Hannes Reinecke Switch to scsi_execute_req_flags() instead of using the block interface directly. This will set REQ_QUIET and REQ_PREEMPT, but this is okay as we're evaluating the errors anyway and should be able to send the command even if the device is quiesced. Signed-off-by: Hannes Re

[PATCH 05/16] dm: always defer request allocation to the owner of the request_queue

2017-01-23 Thread Christoph Hellwig
DM already calls blk_mq_alloc_request on the request_queue of the underlying device if it is a blk-mq device. But now that we allow drivers to allocate additional data and initialize it ahead of time we need to do the same for all drivers. Doing so and using the new cmd_size infrastructure in th

[PATCH 09/16] scsi: remove gfp_flags member in scsi_host_cmd_pool

2017-01-23 Thread Christoph Hellwig
When using the slab allocator we already decide at cache creation time if an allocation comes from a GFP_DMA pool using the SLAB_CACHE_DMA flag, and there is no point passing the kmalloc-family only GFP_DMA flag to kmem_cache_alloc. Drop all the infrastructure for doing so. Signed-off-by: Christo

[PATCH 04/16] dm: remove incomple BLOCK_PC support

2017-01-23 Thread Christoph Hellwig
DM tries to copy a few fields around for BLOCK_PC requests, but given that no dm-target ever wires up scsi_cmd_ioctl BLOCK_PC can't actually be sent to dm. Signed-off-by: Christoph Hellwig --- drivers/md/dm-rq.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/md/dm-r

[PATCH 14/16] block/bsg: move queue creation into bsg_setup_queue

2017-01-23 Thread Christoph Hellwig
Simply the boilerplate code needed for bsg nodes a bit. Signed-off-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn --- block/bsg-lib.c | 21 +++-- drivers/scsi/scsi_transport_fc.c| 36 drivers/scsi/scsi_transport

[PATCH 10/16] scsi: respect unchecked_isa_dma for blk-mq

2017-01-23 Thread Christoph Hellwig
Currently blk-mq always allocates the sense buffer using normal GFP_KERNEL allocation. Refactor the cmd pool code to split the cmd and sense allocation and share the code to allocate the sense buffers as well as the sense buffer slab caches between the legacy and blk-mq path. Note that this switc

[PATCH 11/16] scsi: remove scsi_cmd_dma_pool

2017-01-23 Thread Christoph Hellwig
There is no need for GFP_DMA allocations of the scsi_cmnd structures themselves, all that might be DMAed to or from is the actual payload, or the sense buffers. Signed-off-by: Christoph Hellwig --- drivers/scsi/scsi.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --

[PATCH 13/16] scsi: allocate scsi_cmnd structures as part of struct request

2017-01-23 Thread Christoph Hellwig
Rely on the new block layer functionality to allocate additional driver specific data behind struct request instead of implementing it in SCSI itѕelf. Signed-off-by: Christoph Hellwig --- drivers/scsi/hosts.c | 20 +-- drivers/scsi/scsi.c | 319 ---

[PATCH 12/16] scsi: remove __scsi_alloc_queue

2017-01-23 Thread Christoph Hellwig
Instead do an internal export of __scsi_init_queue for the transport classes that export BSG nodes. Signed-off-by: Christoph Hellwig --- drivers/scsi/scsi_lib.c | 19 --- drivers/scsi/scsi_transport_fc.c| 6 -- drivers/scsi/scsi_transport_iscsi.c | 3 ++- in

[PATCH 15/16] block: split scsi_request out of struct request

2017-01-23 Thread Christoph Hellwig
And require all drivers that want to support BLOCK_PC to allocate it as the first thing of their private data. To support this the legacy IDE and BSG code is switched to set cmd_size on their queues to let the block layer allocate the additional space. Signed-off-by: Christoph Hellwig --- block

[PATCH 16/16] block: don't assign cmd_flags in __blk_rq_prep_clone

2017-01-23 Thread Christoph Hellwig
These days we have the proper flags set since request allocation time. Signed-off-by: Christoph Hellwig --- block/blk-core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/block/blk-core.c b/block/blk-core.c index fe5cc98..93a9e0b 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -2983

Re: Booting qla2x00_mailbox_command+0x8ac/0xec0

2017-01-23 Thread Liam R. Howlett
* Frans van Berckel [170121 19:34]: > Anyone a idea what could be wrong while booting from the scsi disk on > sparc64. 4.9.0 is mailboxing this error and dumps into initramfs. > > [   78.162677] ERROR(0): Cheetah error trap taken > afsr[0800] afar[07fd00100040] TL1(0) > [   78.165

Re: split scsi passthrough fields out of struct request

2017-01-23 Thread Jens Axboe
On 01/23/2017 08:29 AM, Christoph Hellwig wrote: > Hi all, > > this series splits the support for SCSI passthrough commands from the > main struct request used all over the block layer into a separate > scsi_request structure that drivers that want to support SCSI passthough > need to embedded as

Re: split scsi passthrough fields out of struct request

2017-01-23 Thread Christoph Hellwig
On Mon, Jan 23, 2017 at 08:39:44AM -0700, Jens Axboe wrote: > I'd like to get this in sooner rather than later, so I'll spend some > time reviewing and testing it start this week. I'm assuming you are > targeting 4.11 with this change, right? Yes. -- To unsubscribe from this list: send the line "u

Re: [PATCH V2] mpt3sas: disable ASPM for MPI2 controllers

2017-01-23 Thread ojab
On 2016/12/28 11:05, ojab wrote: MPI2 controllers sometimes got lost (i. e. disappears from /sys/bus/pci/devices) if ASMP is enabled. Signed-off-by: Slava Kardakov Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=60644 Can I haz Reviewed-by? //wbr ojab -- To unsubscribe from this list: se

[PATCH 0/2] qla2xxx: Two bug fixes

2017-01-23 Thread Bart Van Assche
Hello Martin, While testing kernel v4.10-rc5 I ran into two bugs in the qla2xxx driver. The two patches in this series fixes these bugs. Please consider these patches for inclusion in the upstream kernel. Bart Van Assche (2): qla2xxx: Fix a recently introduced memory leak qla2xxx: Avoid that

[PATCH 1/2] qla2xxx: Fix a recently introduced memory leak

2017-01-23 Thread Bart Van Assche
qla2x00_probe_one() allocates IRQs before it initializes rsp_q_map so IRQs must be freed even if rsp_q_map allocation did not occur. This was detected by kmemleak. Fixes: 4fa183455988 ("scsi: qla2xxx: Utilize pci_alloc_irq_vectors/pci_free_irq_vectors calls") Signed-off-by: Bart Van Assche Cc: M

[PATCH 2/2] qla2xxx: Avoid that issuing a LIP triggers a kernel crash

2017-01-23 Thread Bart Van Assche
Avoid that issuing a LIP as follows: find /sys -name 'issue_lip'|while read f; do echo 1 > $f; done triggers the following: BUG: unable to handle kernel NULL pointer dereference at (null) Call Trace: qla2x00_abort_all_cmds+0xed/0x140 [qla2xxx] qla2x00_abort_isp_cleanup+0x1e3/0x280 [qla2xxx]

Re: [PATCH 1/2] qla2xxx: Fix a recently introduced memory leak

2017-01-23 Thread Christoph Hellwig
Thanks Bart, this looks good to me. Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/2] qla2xxx: Fix a recently introduced memory leak

2017-01-23 Thread Madhani, Himanshu
On 1/23/17, 8:34 AM, "Bart Van Assche" wrote: >qla2x00_probe_one() allocates IRQs before it initializes rsp_q_map >so IRQs must be freed even if rsp_q_map allocation did not occur. >This was detected by kmemleak. > >Fixes: 4fa183455988 ("scsi: qla2xxx: Utilize >pci_alloc_irq_vectors/pci_free_ir

Re: Booting qla2x00_mailbox_command+0x8ac/0xec0

2017-01-23 Thread Frans van Berckel
Hi Liam, On Mon, 2017-01-23 at 10:38 -0500, Liam R. Howlett wrote: > < removed most of dmesg > > > > [   64.557099] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) > > Driver > > [   64.633786] qla2xxx [:00:00.0]-0005: : QLogic Fibre Channel > > HBA Driver: 8.07.00.38-k. > > [   64.63396

Re: [PATCH 2/2] qla2xxx: Avoid that issuing a LIP triggers a kernel crash

2017-01-23 Thread Madhani, Himanshu
On 1/23/17, 8:34 AM, "Bart Van Assche" wrote: >Avoid that issuing a LIP as follows: > > find /sys -name 'issue_lip'|while read f; do echo 1 > $f; done > >triggers the following: > >BUG: unable to handle kernel NULL pointer dereference at (null) >Call Trace: > qla2x00_abort_all_cmds+0xed/0x140 [

Re: Booting qla2x00_mailbox_command+0x8ac/0xec0

2017-01-23 Thread Liam R. Howlett
* Frans van Berckel [170123 12:27]: > Hi Liam, > > On Mon, 2017-01-23 at 10:38 -0500, Liam R. Howlett wrote: > > > < removed most of dmesg > > > > > > [   64.557099] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) > > > Driver > > > [   64.633786] qla2xxx [:00:00.0]-0005: : QLogic Fibre

Re: [PATCH 2/2] scsi: storvsc: Add support for FC lightweight host.

2017-01-23 Thread Cathy Avery
Hi, There is no way to issue a lip directly as the current client for this feature ( storvsc ) does not handle that request as a physical fc hba can. Storvsc only has two fc attributes exposed - port_name and node_name. You can rescan the bus with the standard echo "- - -" > /sys/class/scs

Claims Requirements

2017-01-23 Thread Daniel Ellmerer
The British National Lottery P O Box 1010 3b Olympic Way, Sefton Business Park, Aintree, Liverpool , L30 1RD (Customer Services) Ref: UK/9420X2/68 Batch: 074/05/ZY369 Ticket number:56475600545 188 Lucky Numbers: 05,06,17,20,28,42(Bonus33) WINNING NOTIFICATION: We wish to congratulate and inf

Re: [PATCH 15/16] block: split scsi_request out of struct request

2017-01-23 Thread Bart Van Assche
On Mon, 2017-01-23 at 16:29 +0100, Christoph Hellwig wrote: > @@ -251,11 +251,13 @@ static int __scsi_execute(struct scsi_device *sdev, > const unsigned char *cmd, > * is invalid.  Prevent the garbage from being misinterpreted > * and prevent security leaks by zeroing out the exc

[PATCH 01/24] aacraid: Remove duplicate irq management code

2017-01-23 Thread Raghava Aditya Renukunta
Removed duplicate code that for acquiring and releasing irqs Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/linit.c | 58 +++- 1 file changed, 3 insertions(+), 55 deletions(-) diff --git a/drivers/scsi/aacrai

[PATCH 16/24] aacraid: Add task management functionality

2017-01-23 Thread Raghava Aditya Renukunta
Added support to send out task management commands. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aachba.c | 364 +- 1 file changed, 360 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/aacraid/aachba

[PATCH 00/24] aacraid: Patchset for Smart Family card support

2017-01-23 Thread Raghava Aditya Renukunta
This patchset adds support to the HBA1000 and SMARTIOC2000 family of cards. The driver version to now updated to 50740 Raghava Aditya Renukunta (24): [SCSI] aacraid: Remove duplicate irq management code [SCSI] aacraid: Added aacraid.h include guard [SCSI] aacraid: Added support for init_struct_

[PATCH 14/24] aacraid: Added support for hotplug

2017-01-23 Thread Raghava Aditya Renukunta
Added support for drive hotplug add and removal Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aachba.c | 13 ++-- drivers/scsi/aacraid/aacraid.h | 17 +- drivers/scsi/aacraid/commsup.c | 136 + 3 files

[PATCH 09/24] aacraid: Added support for read medium error

2017-01-23 Thread Raghava Aditya Renukunta
This patch processes Raw IO read medium errors. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aachba.c | 10 ++ drivers/scsi/aacraid/aacraid.h | 1 + 2 files changed, 11 insertions(+) diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/

[PATCH 02/24] aacraid: Added aacraid.h include guard

2017-01-23 Thread Raghava Aditya Renukunta
Added aacraid.h include guard Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aacraid.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index f059c14..01b457b 100644 --- a/drivers

[PATCH 21/24] aacraid: Retrieve HBA host information ioctl

2017-01-23 Thread Raghava Aditya Renukunta
Added a new ioctl interface to retrieve the host device information. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aacraid.h | 52 + drivers/scsi/aacraid/commctrl.c | 26 + 2 files change

[PATCH 17/24] aacraid: Added support to abort cmd and reset lun

2017-01-23 Thread Raghava Aditya Renukunta
Added task management command support to abort any timed out commands in case of a eh_abort call and to reset lun's in case of eh_reset call. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aacraid.h | 48 ++ drivers/scsi/aacraid/linit.c | 349

[PATCH 18/24] aacraid: VPD 83 type3 support

2017-01-23 Thread Raghava Aditya Renukunta
This patch adds support to retrieve the unique identifier data (VPD page 83 type3) for Logical drives created on SmartIOC 2000 products. In addition added a sysfs device structure to expose the id information. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi

[PATCH 12/24] aacraid: Retrieve Queue Depth from Adapter FW

2017-01-23 Thread Raghava Aditya Renukunta
Retrieved queue depth from fw and saved it for future use. Only applicable for HBA1000 drives. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aachba.c | 84 - drivers/scsi/aacraid/aacraid.h | 85

[PATCH 19/24] aacraid: Added new IWBR reset

2017-01-23 Thread Raghava Aditya Renukunta
Added a new IWBR soft reset type, reworked the IOP reset interface for a bit. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aacraid.h | 15 +++-- drivers/scsi/aacraid/commsup.c | 15 +++-- drivers/scsi/aacraid/linit.c | 8 ++- drivers/scsi/aa

[PATCH 15/24] aacraid: Include HBA direct interface

2017-01-23 Thread Raghava Aditya Renukunta
Added support to send direct pasthru srb commands from management utilty to the controller. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aacraid.h | 175 ++-- drivers/scsi/aacraid/commctrl.c | 294

[PATCH 13/24] aacraid: Added support to set QD of attached drives

2017-01-23 Thread Raghava Aditya Renukunta
Added support to set qd of drives in slave_configure.This only works for HBA1000 attached drives. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/linit.c | 100 --- 1 file changed, 66 insertions(+), 34 deletion

[PATCH 10/24] aacraid: Reworked aac_command_thread

2017-01-23 Thread Raghava Aditya Renukunta
Reworked aac_command_thread into aac_process_events Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/commsup.c | 410 ++--- 1 file changed, 217 insertions(+), 193 deletions(-) diff --git a/drivers/scsi/aacraid/comm

[PATCH 22/24] aacraid: Update copyrights

2017-01-23 Thread Raghava Aditya Renukunta
Added new copyright messages Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aachba.c | 8 +++- drivers/scsi/aacraid/aacraid.h | 32 drivers/scsi/aacraid/commctrl.c | 3 ++- drivers/scsi/aacraid/comminit.c |

[PATCH 23/24] aacraid: Change Driver Version Prefix

2017-01-23 Thread Raghava Aditya Renukunta
Change the aacraid driver prefix from 1.2-1 to 1.2.1 Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/linit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index 7465175

[PATCH 11/24] aacraid: Added support for periodic wellness sync

2017-01-23 Thread Raghava Aditya Renukunta
This patch adds a new functions that periodically sync the time of host to the adapter. In addition also informs the adapter that the driver is alive and kicking. Only applicable to the HBA1000 and SMARTIOC2000. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scs

[PATCH 20/24] aacraid: Added ioctl to trigger IOP/IWBR reset

2017-01-23 Thread Raghava Aditya Renukunta
Added a new ioctl interface to trigger an IOP or IWBR reset from ioctl. Primary used by management utility to trigger resets. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aacraid.h | 1 + drivers/scsi/aacraid/commctrl.c | 19 ++

[PATCH 05/24] aacraid: Retrieve and update the device types

2017-01-23 Thread Raghava Aditya Renukunta
This patch adds support to retrieve the type of each adapter connected device. Applicable to HBA1000 and SmartIOC2000 products Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aachba.c | 141 - drivers/scsi/aac

[PATCH 04/24] aacraid: Added sa firmware support

2017-01-23 Thread Raghava Aditya Renukunta
sa_firmware adds the capability to differentiate the new SmartIOC family of adapters from the series 8 and below. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aacraid.h | 4 ++ drivers/scsi/aacraid/comminit.c | 98 +--

[PATCH 24/24] aacraid: update version

2017-01-23 Thread Raghava Aditya Renukunta
Update the driver version to 50740 Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aacraid.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index 58ee1b3..e3b79a

[PATCH 03/24] aacraid: added support for init_struct_8

2017-01-23 Thread Raghava Aditya Renukunta
This patch lays the groundwork for supporting the new HBA-1000 controller family.A new INIT structure INIT_STRUCT_8 has been added which allows for a variable size for MSI-x vectors among other things, and is used for both Series-8, HBA-1000 and SmartIOC-2000. Signed-off-by: Raghava Aditya Renuk

[PATCH 07/24] aacraid: Process Error for response I/O

2017-01-23 Thread Raghava Aditya Renukunta
Make sure that the driver processes error conditions even in the fast response path for response from the adapter. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aachba.c | 289 ++ 1 file changed, 151 insertio

[PATCH 06/24] aacraid: Reworked scsi command submission path

2017-01-23 Thread Raghava Aditya Renukunta
Moved the READ and WRITE switch cases to the top. Added a default case to the switch case and replaced duplicate scsi result value with a macro. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aachba.c | 172 +

[PATCH 08/24] aacraid: Added support for response path

2017-01-23 Thread Raghava Aditya Renukunta
This patch enables the driver to actually process the I/O, or srb replies from adapter. In addition to any HBA1000 or SmartIOC2000 adapter events. Signed-off-by: Raghava Aditya Renukunta Signed-off-by: Dave Carroll --- drivers/scsi/aacraid/aachba.c | 34 +++ drivers/scs

Re: [PATCH 05/24] aacraid: Retrieve and update the device types

2017-01-23 Thread kbuild test robot
Hi Raghava, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.10-rc5 next-20170123] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Raghava-Aditya-Renukunta/aacraid

Re: [PATCH 17/24] aacraid: Added support to abort cmd and reset lun

2017-01-23 Thread kbuild test robot
Hi Raghava, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.10-rc5 next-20170123] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Raghava-Aditya-Renukunta/aacraid

Re: [PATCH 16/24] aacraid: Add task management functionality

2017-01-23 Thread kbuild test robot
Hi Raghava, [auto build test WARNING on scsi/for-next] [also build test WARNING on v4.10-rc5 next-20170123] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Raghava-Aditya-Renukunta/aacraid

Re: [PATCH 01/16] block: fix elevator init check

2017-01-23 Thread Hannes Reinecke
On 01/23/2017 04:29 PM, Christoph Hellwig wrote: > We can't initalize the elevator fields for flushes as flush share space > in struct request with the elevator data. But currently we can't > commnicate that a request is a flush through blk_get_request as we > can only pass READ or WRITE, and the

Re: [PATCH 02/16] block: simplify blk_init_allocated_queue

2017-01-23 Thread Hannes Reinecke
On 01/23/2017 04:29 PM, Christoph Hellwig wrote: > Return an errno value instead of the passed in queue so that the callers > don't have to keep track of two queues, and move the assignment of the > request_fn and lock to the caller as passing them as argument doesn't > simplify anything. While we