aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-09-25qla2xxx: Allow user to change ql2xfdmienable value.Himanshu Madhani1-1/+1
Signed-off-by: Himanshu Madhani <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: Fix driver version string message.Himanshu Madhani1-1/+1
Signed-off-by: Himanshu Madhani <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: Add diagnostic port functionality.Joe Carnuccio7-9/+20
Add support for the D-port (diagnostic port) fabric switch feature. (Fabric Switch initiates loopback style port testing) Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: Add FA-WWN functionality.Joe Carnuccio3-7/+38
Add support for the FA-WWN (fabric assigned wwn) fabric switch feature. (Fabric Assigned World Wide Port Name) Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: Add FDMI-2 functionality.Himanshu Madhani7-160/+967
Add support for the FDMI-2 fabric switch feature. Since FDMI-2 uses code from FDMI-1, some of the existing code needed to be repaired to prevent fields from being overflowed. Signed-off-by: Himanshu Madhani <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: ISPFx00 unexpected resets during adapter boot sequence.Jan Kulich1-1/+4
Signed-off-by: Jan Kulich <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: Incorrect linked list semantic in qlafx00_get_fcport().Joe Carnuccio1-3/+2
Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: Incorrect debug level on mailbox command print 0x1111.Joe Carnuccio1-1/+1
Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: ISPFX00 avoid writing semaphore register in request_irqs().Joe Carnuccio1-2/+3
Semaphore register does not exist for ISPFx00. Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: Fix potential return count bug in qla2xxx_get_vpd_field().Joe Carnuccio1-1/+1
Call scnprintf() instead of snprintf() since the latter may return an incorrect count in cases where the write is truncated to fit. scnprintf() returns the count of what was actually written; snprintf() returns the count of what would have been written. Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: ISP27xx fwdump template error print simplification.Joe Carnuccio3-27/+9
Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: ISP25xx multiqueue shadow register crash fix.Joe Carnuccio1-0/+2
When creating request/response queues from qla25xx_setup_mode(), the shadow index register pointers were not being initialized to point at the registers. Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: Add endianizer to max_payload_size modifier.Joe Carnuccio2-7/+7
Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: Enable fast flash access for ISP83xx.Chad Dupuis1-1/+2
Signed-off-by: Chad Dupuis <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: Add ISP27xx fwdump template entry T275 (insert buffer).Joe Carnuccio3-4/+36
Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: ISP27xx fwdump template fix insertbuf() routine.Joe Carnuccio1-10/+2
Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: ISP27xx fwdump template remove high frequency debug logs.Joe Carnuccio2-18/+1
Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: ISP27xx optimize fwdump entry table lookup.Joe Carnuccio1-4/+6
Since the entry call array is sorted in order of entry type opcode, the search can be terminated as soon as the search key is exceeded. Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25qla2xxx: ISP27xx add tests for incomplete template.Joe Carnuccio2-1/+10
Signed-off-by: Joe Carnuccio <[email protected]> Signed-off-by: Saurav Kashyap <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25mptfusion: enable no_write_same for vmware scsi disksChris J Arges1-0/+5
When using a virtual SCSI disk in a VMWare VM if blkdev_issue_zeroout is used data can be improperly zeroed out using the mptfusion driver. This patch disables write_same for this driver and the vmware subsystem_vendor which ensures that manual zeroing out is used instead. Cc: [email protected] BugLink: http://bugs.launchpad.net/bugs/1371591 Reported-by: Bruce Lucas <[email protected]> Tested-by: Chris J Arges <[email protected]> Signed-off-by: Chris J Arges <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25hpsa: add missing pci_set_master in kdump pathTomas Henzl1-1/+1
Add a call to pci_set_master(...) missing in the previous patch "hpsa: refine the pci enable/disable handling". Found thanks to Rob Elliot. Signed-off-by: Tomas Henzl <[email protected]> Reviewed-by: Robert Elliott <[email protected]> Tested-by: Robert Elliott <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25arcmsr: simplify ioctl data read/writeChing Huang3-229/+119
Signed-off-by: Ching Huang <ching [email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-25ipr: don't log error messages when applications issues illegal requests[email protected]2-0/+11
Failing Device information are logged when IOA firmware detected these illegal request such as IOA firmware doesn't support inquiry with page code 2. The patch fixes the issue. Signed-off-by: Brian King <[email protected]> Tested-by: Wen Xiong <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-22cxgb4i: avoid holding mutex in interrupt contextAnish Bhatt3-7/+55
cxgbi_inet6addr_handler() can be called in interrupt context, so use rcu protected list while finding netdev Applies on top of core-for-3.18 Signed-off-by: Anish Bhatt <[email protected]> Signed-off-by: Karen Xie <[email protected]> Fixes: fc8d0590d914 ("libcxgbi: Add ipv6 api to driver") Fixes: 759a0cc5a3e1 ("cxgb4i: Add ipv6 code to driver, call into libcxgbi ipv6 api") Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-22storvsc: get rid of overly verbose warning messagesK. Y. Srinivasan1-12/+0
Get rid of the warning messages since they will clutter up various system logs and are of questionable value to the end user. For debugging purposes, this information can be gotten by setting the scsi log level appropriately. Signed-off-by: K. Y. Srinivasan <[email protected]> Reviewed-by: Olaf Hering <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-22mpt2sas: fix undefined reference to `__udivdi3' compilation errorsSreekanth Reddy1-4/+4
This patch will fix the below compilation errors on i386 ARCH drivers/built-in.o: In function `_scsih_qcmd': mpt2sas_scsih.c:(.text+0x1e7b56): undefined reference to `__udivdi3' mpt2sas_scsih.c:(.text+0x1e7b8a): undefined reference to `__umoddi3' Used sector_div() API to fix above compilation errors. Signed-off-by: Sreekanth Reddy <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: simplify of updating doneq_index and postq_indexChing Huang1-81/+40
Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: call scsi_scan_host at the end of host initializationChing Huang1-5/+9
Call scsi_scan_host at the end of host initialization and fix and error path to free allocated resource. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: add support new adapter ARC12x4 seriesChing Huang2-9/+860
Add code to support the new Areca Raid ARC12x4 series adapters. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: modify some character stringsChing Huang1-13/+11
Revise comment and some character strings. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: fix sparse warnings and errorsChing Huang1-38/+40
Fix sparse utility checking errors and warnings. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: fix ioctl data read/write error for adapter type CChing Huang3-239/+442
Rewrite ioctl entry and its relate function. This patch fix ioctl data read/write error and change data I/O access from byte to Dword. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: revise allocation of second dma_coherent_handle for type BChing Huang2-14/+26
This modification is for consistency with upcoming adapter type D. Both adapter type B and D have similar H/W and S/W structure. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: rename functions and variablesChing Huang2-119/+121
Rename some variable and function names for readability and consistency. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: clear outbound doorbell buffer completelyChing Huang1-4/+14
Clear outbound doorbell buffer completely for adapter type C. This is to prevent getting bad data input from IOP before ioctl command processing starts. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: modify printing adapter model number and F/W messagesChing Huang1-9/+9
Adjust printing order of adapter model name and firmware version. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: remove calling arcmsr_hbb_enable_driver_modeChing Huang1-12/+6
Remove calling arcmsr_hbb_enable_driver_mode by in-lining the code into the caller. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: revise message_isr_bh_fn to remove duplicate codeChing Huang1-106/+54
Revise message_isr_bh_fn to remove the duplicate code for each adapter type. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: store adapter type in PCI id tableChing Huang1-40/+41
Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: return status of abort commandChing Huang1-5/+11
This patch fixes the wrong return status of abort command. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: limit max. number of SCSI command requestChing Huang2-11/+25
This patch limits the max. number of SCSI commmand request to avoid command overflow. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: add code to support hibernationChing Huang1-0/+76
This patch adds code to support system hibernation. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: add code to support MSI-X and MSI interruptChing Huang2-12/+76
This patch adds code to support MSI and MSI-X interrupt. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16arcmsr: fix command timeout under heavy loadChing Huang2-102/+98
This patch rewrites the interrupt service routine relate function to fix a command timeout under heavy controller load. Signed-off-by: Ching Huang <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas : Driver version update[email protected]2-4/+4
Resending the patch. Addressed the review comments by Tomas Henzl. Driver version upgrade patch. Signed-off-by: Sumit Saxena <[email protected]> Signed-off-by: Kashyap Desai <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas : MFI MPT linked list corruption fix[email protected]4-83/+241
Resending the patch. Addressed the review comments from Tomas Henzl. Added comment for to-do work. Problem statement: MFI link list in megaraid_sas driver is used from mfi-mpt pass-through commands. This list can be corrupted due to many possible race conditions in driver and eventually we may see kernel panic. One example - MFI frame is freed from calling process as driver send command via polling method and interrupt for that command comes after driver free mfi frame (actually even after some other context reuse the mfi frame). When driver receive MPT frame in ISR, driver will be using the index of MFI and access that MFI frame and finally in-used MFI frame’s list will be corrupted. High level description of new solution - Free MFI and MPT command from same context. Free both the command either from process (from where mfi-mpt pass-through was called) or from ISR context. Do not split freeing of MFI and MPT, because it creates the race condition which will do MFI/MPT list corruption. Renamed the cmd_pool_lock which is used in instance as well as fusion with below name. mfi_pool_lock and mpt_pool_lock to add more code readability. Signed-off-by: Sumit Saxena <[email protected]> Signed-off-by: Kashyap Desai <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas : N-drive primary raid level 1 load balancing[email protected]4-68/+96
Resending the patch. Addressed the review comments from Tomas Henzl. Current driver does fast path read load balancing between arm and mirror disk for two Drive Raid-1 configuration only. Now, Driver support fast path read load balancing for all (any number of disk) Raid-1 configuration. Signed-off-by: Sumit Saxena <[email protected]> Signed-off-by: Kashyap Desai <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas : Add module parameter to disable IRQ-CPU affinity hint[email protected]1-22/+38
Resending the patch. Addressed the review comments from Tomas Henzl. For certain deployment, we may need to disable irq cpu affinity hint. This module parameter provides option for use to disable irq cpu affinity hint and allow irqbalancer to handle the rest. Signed-off-by: Sumit Saxena <[email protected]> Signed-off-by: Kashyap Desai <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas : Round down max sge supported by controller to power of two[email protected]1-2/+2
Resending the patch. Addressed the review comments from Tomas Henzl. Round down the max sge to power of two. Earlier max sge limit is 70 SGE, which will allow block layer to send 280K IO frame. It is optimal to provide max IO size aligned to the smallest possible stripe size. E.a Consider that we have configured RAID Volumes which does not allow Fast Path across the stripe. Raid volume with stripe size = 256K, will have peformance hit if we get io frame of size 280K. Driver will not send IO frame large than stripe size to the Fast Path. Also, FW will convert 280K frame into 256K + 24K. This is an additional overhead. Signed-off-by: Sumit Saxena <[email protected]> Signed-off-by: Kashyap Desai <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas : Host lock less mode to enabled asynchronous IO submission[email protected]1-7/+4
Resending the patch. Addressed the review comments from Tomas Henzl. Megaraid_sas driver can now work in host lock less mode. Remove host lock less as megaraid_sas driver will have safer access to raid map as described in earlier patch. We now keep Driver Raid map copy, which will make sure that driver will always have old or new map Driver raid map will be replaced safely in MR_PopulateDrvRaidMap(), so there is no issue even if IO is continue from the scsi mid layer. There is a plan to remove "host_lock" and "hba_lock" usage from megaraid_sas in future. Signed-off-by: Sumit Saxena <[email protected]> Signed-off-by: Kashyap Desai <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>