aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-09-16mpt2sas: Clear PFA Status on SGPIO when PFA Drive is Removed or ReplacedSreekanth Reddy2-9/+63
Added code to send a SEP message that turns off the Predictive Failure LED when a drive is removed (if Predictive Failure LED was turned on). Added a new flag 'pfa_led_on' per device that tracks the status of Predictive Failure LED. When the drive is removed, this flag is checked and sends the SEP message to turn off the respective Predictive Failure LED. Signed-off-by: Sreekanth Reddy <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16mpt2sas: Copyright in driver sources is updated for year the 2014Sreekanth Reddy9-9/+9
Copyright in driver sources is updated for year the 2014. Signed-off-by: Sreekanth Reddy <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16mpt2sas: MPI2 Rev Y (2.00.17) and Rev Z (2.00.18) specificationsSreekanth Reddy8-31/+148
Below is the change set in MPI2 Rev Y specification and in 2.00.17 header files 1) Added SCSIStatusQualifier to SCSI IO Error Reply message. 2) Added ATA Security Freeze Lock to IO Unit Page 1 Flags field. Below is the change set in MPI2 Rev Z specification and in 2.00.19 header files 1) Added reserved fields to IO Unit Page 7 for future use. 2) Added optional functionality to IOCInit Request so that the host may specify a separate base address for each Reply Descriptor Post Queue. IOC support for this is indicated using a new IOCCapabilities bit in the IOCFacts Reply. 3) Added Toolbox Console Text Display Tool The host uses the Console Text Display Tool to send a string to IOC's Console using different console types (eg: UART serial terminal or Ethernet terminal). The copyright in the mpi files is updated for year 2014 Signed-off-by: Sreekanth Reddy <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16mpt2sas: Added driver module parameter max_msix_vectorsSreekanth Reddy1-0/+14
Added driver module parameter max_msix_vectors. Using this module parameter the maximum number of MSI-X vectors could be set. The number of MSI-X vectors used would be the minimum of MSI-X vectors supported by the HBA, the number of CPU cores and the value set to max_msix_vectors module parameters. Signed-off-by: Sreekanth Reddy <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16bnx2i: Make boot_nic entry visible in the sysfs session objectsTej Parkash1-0/+3
Signed-off-by: Tej Parkash <[email protected]> Signed-off-by: Vikas Chaudhary <[email protected]> Reviewed-by: Mike Christie <[email protected]> Acked-by: Eddie Wai <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16bnx2fc: fix incorrect DMA memory mapping in bnx2fc_unmap_sg_list()Chad Dupuis1-2/+13
This patch is based on a problem and solution from Maurizio Lombardi where bnx2fc isn't consistent in which device struct we using for DMA map and unmap operations. Make them consistent by using dma_sg_unmap in bnx2fc_unmap_sg_list like bnx2fc_map_sg. Reviewed-by: Eddie Wai <[email protected]> Signed-off-by: Chad Dupuis <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: update lpfc version to driver version 10.4.8000.0James Smart1-1/+1
Update lpfc version to driver version 10.4.8000.0 Signed-off-by: James Smart <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: fix for handling unmapped ndlp in target reset handlerJames Smart2-2/+14
Fix for handling unmapped ndlp in target reset handler Signed-off-by: James Smart <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: fix low priority issues from fortify source code scanJames Smart8-49/+25
Fixed Low priority issues from lpfc given by fortify source code scan. Signed-off-by: James Smart <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: fix high priority issues from fortify source code scanJames Smart6-40/+53
Fixed High priority issues from lpfc given by fortify source code scan. Signed-off-by: James Smart <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: fix crash from page fault caused by use after rport deleteJames Smart1-0/+12
Fix crash from page fault caused by use after rport delete. Signed-off-by: James Smart <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: fix locking issues with abort data pathsJames Smart3-48/+83
Fix locking issues with abort data paths Signed-off-by: James Smart <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: fix race between LOGO/PLOGI handling causing NULL pointerJames Smart3-2/+30
Fix race between LOGO/PLOGI handling causing NULL pointer Signed-off-by: James Smart <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: fix IP Reset processing - wait for RDY before proceedingJames Smart1-62/+47
Fix IP Reset processing - wait for RDY before proceeding Signed-off-by: James Smart <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: fix quarantined XRI recovery qualifier state in link bounceJames Smart3-38/+0
Fix quarantined XRI recovery qualifier state in link bounce Signed-off-by: James Smart <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: fix discovery timeout during nameserver loginJames Smart3-1/+29
Fix discovery timeout during nameserver login Signed-off-by: James Smart <[email protected]> Signed-off-by: Dick Kennedy <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: Use pci_enable_msix_range() instead of pci_enable_msix()Alexander Gordeev1-22/+17
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Signed-off-by: Alexander Gordeev <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: do not feed jiffies as random seed from lpfc driverDaniel Borkmann1-4/+0
In prandom we have already reseeding mechanisms that trigger periodically from a much better entropy source than just feeding in jiffies through lpfc_mbx_cmpl_fcf_scan_read_fcf_rec() [what a function name 8-)]. Therefore, just remove this. Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: use time_after()Manuel Schölling1-1/+3
To be future-proof and for better readability the time comparisons are modified to use time_after() instead of plain, error-prone math. Signed-off-by: Manuel Schölling <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: use dma_zalloc_coherentJoe Perches4-30/+17
Use the zeroing function instead of dma_alloc_coherent & memset(,0,) Signed-off-by: Joe Perches <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: mark function as static in lpfc/lpfc_bsg.cRashika Kheria1-1/+1
[PATCH 26/55] scsi: Mark function as static in lpfc/lpfc_bsg.c Mark function as static in lpfc/lpfc_bsg.c because it is not used outside this file. This eliminates the following warning in lpfc/lpfc_bsg.c: drivers/scsi/lpfc/lpfc_bsg.c:3348:1: warning: no previous prototype for ‘lpfc_bsg_issue_mbox_cmpl’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: mark functions as static in lpfc/lpfc_scsi.cRashika Kheria1-5/+5
Mark functions as static in lpfc/lpfc_scsi.c because they are not used outside this file. This eliminates the following warnings in lpfc/lpfc_scsi.c: drivers/scsi/lpfc/lpfc_scsi.c:299:1: warning: no previous prototype for ‘lpfc_change_queue_depth’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_scsi.c:795:1: warning: no previous prototype for ‘lpfc_sli4_post_scsi_sgl_list’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_scsi.c:3019:1: warning: no previous prototype for ‘lpfc_bg_crc’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_scsi.c:3035:1: warning: no previous prototype for ‘lpfc_bg_csum’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_scsi.c:3048:1: warning: no previous prototype for ‘lpfc_calc_bg_err’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: mark functions as static in lpfc/lpfc_init.cRashika Kheria1-3/+3
Mark functions as static in lpfc/lpfc_init.c because they are not used outside this file. This eliminates the following warning in lpfc/lpfc_init.c: drivers/scsi/lpfc/lpfc_init.c:652:1: warning: no previous prototype for ‘lpfc_hba_init_link’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_init.c:753:1: warning: no previous prototype for ‘lpfc_hba_down_link’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_init.c:3434:1: warning: no previous prototype for ‘lpfc_sli4_fcf_redisc_wait_tmo’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: mark functions as static in lpfc/lpfc_hbadisc.cRashika Kheria1-3/+4
Mark functions as static in lpfc/lpfc_hbadisc.c because they are not used outside this file. This eliminates the following warnings in lpfc/lpfc_hbadisc.c: drivers/scsi/lpfc/lpfc_hbadisc.c:2047:5: warning: no previous prototype for ‘lpfc_sli4_fcf_pri_list_add’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_hbadisc.c:2681:1: warning: no previous prototype for ‘lpfc_init_vfi_cmpl’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_hbadisc.c:4432:1: warning: no previous prototype for ‘lpfc_nlp_logo_unreg’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16lpfc: mark functions as static in lpfc/lpfc_sli.cRashika Kheria1-7/+7
[PATCH 22/55] scsi: Mark functions as static in lpfc/lpfc_sli.c Mark functions as static in lpfc/lpfc_sli.c because they are not used outside this file. This eliminates the following warnings in lpfc/lpfc_sli.c: drivers/scsi/lpfc/lpfc_sli.c:13867:1: warning: no previous prototype for ‘lpfc_sli4_alloc_xri’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_sli.c:13897:1: warning: no previous prototype for ‘__lpfc_sli4_free_xri’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_sli.c:14317:1: warning: no previous prototype for ‘lpfc_update_rcv_time_stamp’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_sli.c:14786:1: warning: no previous prototype for ‘lpfc_sli4_handle_unsol_abort’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_sli.c:15331:1: warning: no previous prototype for ‘__lpfc_sli4_free_rpi’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_sli.c:15769:1: warning: no previous prototype for ‘lpfc_check_next_fcf_pri_level’ [-Wmissing-prototypes] drivers/scsi/lpfc/lpfc_sli.c:16000:1: warning: no previous prototype for ‘lpfc_mbx_cmpl_redisc_fcf_table’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Reviewed-by: James Smart <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16fnic: assign FIP_ALL_FCF_MACS to fcoe_all_fcfsHiral Shah3-6/+6
1) Assgning FIP_ALL_FCF_MACS to fcoe_all_fcfs allows VLAN request to be sent to correct Mac address for VLAN Discovery otherwise VLAN request will be sent to invalid address hence FLOGI never happens. 2) Simplify the copy_and_format_trace_data code and log the correct Link event for fnic control path tracing in case of link status UP->UP. 3) Increment Fnic driver version Signed-off-by: Hiral Shah <[email protected]> Signed-off-by: Sesidhar Baddela <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16qla2xxx: Prevent probe and board_disable raceJoe Lawrence3-1/+5
The PCI register read checking introduced in commit fe1b806f4f71 ("qla2xxx: Disable adapter when we encounter a PCI disconnect") is active during driver probe. Hold off scheduling any board removal until the driver probe has completed. This ensures that the the board_disable work structure is initialized and more importantly, avoids racing qla2x00_probe_one. Signed-off-by: Joe Lawrence <[email protected]> Acked-by: Chad Dupuis <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16qla2xxx: Prevent removal and board_disable raceJoe Lawrence3-13/+22
Introduce mutual exclusion between the qla2xxx_remove_one PCI driver callback and qla2x00_disable_board_on_pci_error, which is scheduled as board_disable work by qla2x00_check_reg{32,16}_for_disconnect: * Leave the driver-specific data attached to the underlying PCI device intact in qla2x00_disable_board_on_pci_error, so that qla2x00_remove_one has enough breadcrumbs to determine that any board_disable work has been completed. * In qla2xxx_remove_one, set a bit to prevent any subsequent board_disable work from scheduling, then cancel and wait until pending work has completed. * Reuse the PCI device enable count check in qla2x00_remove_one to determine if board_disable has occured. The original purpose of this check was unnecessary since the driver remove function wasn't called when the probe fails. Signed-off-by: Joe Lawrence <[email protected]> Acked-by: Chad Dupuis <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16qla2xxx: Schedule board_disable only onceJoe Lawrence2-6/+11
There are various callers of qla2x00_check_reg{32,16}_for_disconnect that may schedule board removal on PCI-disconnect. Test-and-set a dedicated flag before scheduling board_disable so it is invoked only once. Signed-off-by: Joe Lawrence <[email protected]> Acked-by: Chad Dupuis <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16qla2xxx: Collect PCI register checks and board_disable schedulingJoe Lawrence5-27/+20
Add an uint16_t variant of qla2x00_check_reg_for_disconnect and use these routines to check and schedule a PCI-disconnected board from a centralized place. Signed-off-by: Joe Lawrence <[email protected]> Acked-by: Chad Dupuis <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16qla2xxx: Use qla2x00_clear_drv_active on probe failureJoe Lawrence1-10/+3
Take advantage of commit fe1b806f4f71 ("qla2xxx: Refactor shutdown code so some functionality can be reused") to remove an inlined copy of qla2x00_clear_drv_active in the driver's probe hardware error path. Signed-off-by: Joe Lawrence <[email protected]> Acked-by: Chad Dupuis <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16qla2xxx: Fix shost use-after-free on device removalJoe Lawrence1-4/+2
Once calling scsi_host_put, be careful to not access qla_hw_data through the Scsi_Host private data (ie, scsi_qla_host base_vha). Fixes: fe1b806f4f71 ("qla2xxx: Refactor shutdown code so some functionality can be reused") Cc: [email protected] # 3.14, 3.15, 3.16 Signed-off-by: Joe Lawrence <[email protected]> Acked-by: Chad Dupuis <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16pmcraid: Use pci_enable_msix_range() instead of pci_enable_msix()Alexander Gordeev1-11/+2
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Signed-off-by: Alexander Gordeev <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16pmcraid: Get rid of a redundant assignmentAlexander Gordeev1-1/+0
Signed-off-by: Alexander Gordeev <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16csiostor: Use pci_enable_msix_range() instead of pci_enable_msix()Alexander Gordeev2-14/+10
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces. Signed-off-by: Alexander Gordeev <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16csiostor: Remove superfluous call to pci_disable_msix()Alexander Gordeev1-3/+1
There is no need to call pci_disable_msix() in case the previous call to pci_enable_msix() failed Signed-off-by: Alexander Gordeev <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16be2iscsi: Use pci_enable_msix_range()Alexander Gordeev1-3/+3
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Acked-by: Jayamohan Kallickal <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas: Version and Changelog updateAdam Radford3-4/+18
The following patch for megaraid_sas updates the driver version and Documentation/scsi/ChangeLog.megaraid_sas. Signed-off-by: Adam Radford <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas: Fix reset_mutex leakAdam Radford1-0/+1
The following patch for megaraid_sas fixes a reset_mutex leak in megasas_reset_fusion(). Signed-off-by: Adam Radford <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas: Remove unused variables in megasas_instanceAdam Radford1-2/+0
The following patch for megaraid_sas removes some unused variables from the megasas_instance structure. Signed-off-by: Adam Radford <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas: Add missing initial call to megasas_get_ld_vf_affiliation().Adam Radford1-0/+4
The following patch for megaraid_sas adds a missing initial call to megasas_get_ld_vf_affiliation() at the end of megasas_probe_one(). Signed-off-by: Adam Radford <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16megaraid_sas: Fix LD/VF affiliation parsingAdam Radford2-111/+208
The following patch for megaraid_sas fixes the LD/VF affiliation policy parsing code to account for LD targetId's and Hidden LD's (not yet affiliated with any Virtual Functions). This also breaks megasas_get_ld_vf_affiliation() into 2 separate functions: megasas_get_ld_vf_affiliation_111() and megasas_get_ld_Vf_affiliation_12() to reduce indentation levels. Signed-off-by: Adam Radford <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16scsi_debug: bump inquiry version to SPC-4, update version descriptorsDouglas Gilbert1-7/+7
Since a lot of functionality from SPC-4 is supported by this driver (e.g. LBP and PI) then bump the default INQUIRY version from SPC-3 to SPC-4. Also update the INQUIRY version descriptors. Signed-off-by: Douglas Gilbert <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16scsi_debug: give unit attention and other errors precedence over TSFDouglas Gilbert1-34/+33
Give existing errors priority over the generation of Task Set Full (TSF) errors. So that max_queue is not exceeded, existing errors may be sent back in the invocation thread. This is done so errors like Unit Attentions are not hidden and lost by either max_queue exceeded or real/injected TSFs. Signed-off-by: Douglas Gilbert <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16scsi_debug: scsi_cmnd->cmnd check and casts unnecessaryDouglas Gilbert1-11/+11
This patch removes a NULL check for the scsi_cmnd::cmnd pointer since many other instances in this driver and elsewhere assume it is valid. Also redundant casts to 'unsigned char *' are removed as the pointer has that type. Signed-off-by: Douglas Gilbert <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16fusion: fix excess parameter kernel-doc warningRandy Dunlap1-1/+0
Fix kernel-doc excess parameter warning: Warning(..//drivers/message/fusion/mptbase.c:1411): Excess function parameter 'prod_name' description in 'mpt_get_product_name' Signed-off-by: Randy Dunlap <[email protected]> Reviewed-by: Ewan D. Milne <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16hpsa: refine the pci enable/disable handlingTomas Henzl1-14/+28
When a second(kdump) kernel starts and the hard reset method is used the driver calls pci_disable_device without previously enabling it, so the kernel shows a warning - [ 16.876248] WARNING: at drivers/pci/pci.c:1431 pci_disable_device+0x84/0x90() [ 16.882686] Device hpsa disabling already-disabled device ... This patch fixes it, in addition to this I tried to balance also some other pairs of enable/disable device in the driver. Unfortunately I wasn't able to verify the functionality for the case of a sw reset, because of a lack of proper hw. Signed-off-by: Tomas Henzl <[email protected]> Reviewed-by: Stephen M. Cameron <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16pm8001: Update nvmd response data to request bufferSuresh Thiagarajan2-3/+9
Instead of using the virt_ptr use request buffer for copying back the nvmd response data and use the same in request function also Signed-off-by: Suresh Thiagarajan <[email protected]> Reviewed-by: Tomas Henzl <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16be2iscsi: Bump the driver versionJayamohan Kallickal1-1/+1
Bump the driver version Signed-off-by: John Soni Jose <[email protected]> Signed-off-by: Jayamohan Kallickal <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
2014-09-16be2iscsi: Fix processing CQE before connection resources are freedJayamohan Kallickal3-1/+46
Driver should process the completion queue entries before a connection resources are freed. While running mixed traffic due to latency, driver processes the CQE after the connection resources are freed. This fix processes all the completion queue before the connection resources are freed. Signed-off-by: John Soni Jose <[email protected]> Signed-off-by: Jayamohan Kallickal <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>