56cbd0c | James Bottomley | 16 April 2015, 05:16:01 UTC | mvsas: fix panic on expander attached SATA devices mvsas is giving a General protection fault when it encounters an expander attached ATA device. Analysis of mvs_task_prep_ata() shows that the driver is assuming all ATA devices are locally attached and obtaining the phy mask by indexing the local phy table (in the HBA structure) with the phy id. Since expanders have many more phys than the HBA, this is causing the index into the HBA phy table to overflow and returning rubbish as the pointer. mvs_task_prep_ssp() instead does the phy mask using the port properties. Mirror this in mvs_task_prep_ata() to fix the panic. Reported-by: Adam Talbot <ajtalbot1@gmail.com> Tested-by: Adam Talbot <ajtalbot1@gmail.com> Cc: <stable@vger.kernel.org> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 17 April 2015, 17:19:07 UTC |
8041708 | Hannes Reinecke | 27 March 2015, 13:31:12 UTC | am53c974: Fix crash during modprobe On systems with shared interrupts the interrupt routine might be called as soon as the interrupt is enabled. As this might happen before pci_set_drvdata() is called the system would crash. Reported-by: Andreas Brogle <anbro@ok.de> Tested-by: Andreas Brogle <anbro@ok.de> Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 17 April 2015, 17:13:56 UTC |
16b8528 | Christoph Hellwig | 15 April 2015, 16:44:37 UTC | megaraid_sas: use raw_smp_processor_id() We only want to steer the I/O completion towards a queue, but don't actually access any per-CPU data, so the raw_ version is fine to use and avoids the warnings when using smp_processor_id(). Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Andy Lutomirski <luto@kernel.org> Tested-by: Andy Lutomirski <luto@kernel.org> Acked-by: Sumit Saxena <sumit.saxena@avagotech.com> Cc: <stable@vger.kernel.org> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 16 April 2015, 17:37:58 UTC |
e557990 | Martin K. Petersen | 14 April 2015, 21:11:03 UTC | sd: Fix missing ATO tag check 3aec2f41a8bae introduced a merge error where we would end up check for sdkp instead of sdkp->ATO. Fix this so we register app tag capability correctly. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Cc: <stable@vger.kernel.org> # v3.17+ Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 16 April 2015, 17:37:12 UTC |
e727c42 | Martin K. Petersen | 14 April 2015, 20:56:23 UTC | sd: Unregister integrity profile The new integrity code did not correctly unregister the profile for SD disks. Call blk_integrity_unregister() when we release a disk. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Reported-by: Sagi Grimberg <sagig@dev.mellanox.co.il> Tested-by: Sagi Grimberg <sagig@mellanox.com> Cc: stable@vger.kernel.org # v3.17+ Signed-off-by: James Bottomley <JBottomley@Odin.com> | 16 April 2015, 17:36:14 UTC |
0351b8f | James Bottomley | 01 April 2015, 09:09:36 UTC | change SCSI Maintainer email We've recently suffered a rebranding and the Service Provider half of Parallels has become Odin. This means my email has changed so update the MAINTAINERS file (and tidy up the pointers to our git trees to be correct). Signed-off-by: James Bottomley <JBottomley@Odin.com> | 11 April 2015, 06:20:10 UTC |
b9f28d8 | James Bottomley | 06 March 2015, 02:47:01 UTC | sd, mmc, virtio_blk, string_helpers: fix block size units The current string_get_size() overflows when the device size goes over 2^64 bytes because the string helper routine computes the suffix from the size in bytes. However, the entirety of Linux thinks in terms of blocks, not bytes, so this will artificially induce an overflow on very large devices. Fix this by making the function string_get_size() take blocks and the block size instead of bytes. This should allow us to keep working until the current SCSI standard overflows. Also fix virtio_blk and mmc (both of which were also artificially multiplying by the block size to pass a byte side to string_get_size()). The mathematics of this is pretty simple: we're taking a product of size in blocks (S) and block size (B) and trying to re-express this in exponential form: S*B = R*N^E (where N, the exponent is either 1000 or 1024) and R < N. Mathematically, S = RS*N^ES and B=RB*N^EB, so if RS*RB < N it's easy to see that S*B = RS*RB*N^(ES+EB). However, if RS*BS > N, we can see that this can be re-expressed as RS*BS = R*N (where R = RS*BS/N < N) so the whole exponent becomes R*N^(ES+EB+1) [jejb: fix incorrect 32 bit do_div spotted by kbuild test robot <fengguang.wu@intel.com>] Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 23:27:48 UTC |
cad2e03 | Yaniv Gardi | 31 March 2015, 14:37:14 UTC | ufs: add support to allow non standard behaviours (quirks) Some implementation of UFS host controller HW might have some non-standard behaviours (quirks) when compared to behaviour specified by UFSHCI specification. This patch add support to allow specifying all such quirks to standard UFS host controller driver so standard driver takes them into account. In this change a UFSHCD_QUIRK_DELAY_BEFORE_DME_CMDS is introduced, where a minimum delay of 1ms is required before DME commands for stability purposes. Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org> Reviewed-by: Gilad Broner <gbroner@codeaurora.org> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:53:56 UTC |
bfdbe8b | Yaniv Gardi | 31 March 2015, 14:37:13 UTC | ufs-qcom: save controller revision info in internal structure Sometimes, specific information about the UFS controller revision is required in order to determine certain operations or execute controller dependent quirks. In order to avoid reading the controller revision multiple times, we simply read it once and save this information in internal structure. Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org> Reviewed-by: Gilad Broner <gbroner@codeaurora.org> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:52:58 UTC |
a776e39 | Himanshu Madhani | 09 April 2015, 19:00:08 UTC | qla2xxx: Update driver version to 8.07.00.18-k Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:43:17 UTC |
718abbd | Sawan Chandak | 09 April 2015, 19:00:07 UTC | qla2xxx: Restore physical port WWPN only, when port down detected for FA-WWPN port. For FA-WWPN is enabled port, if NPIV created on that port and, if port link is brought down, then WWPN was restored from flash for both physical and NPIV port. This will result in NPIV port and physical port sharing same WWPN. Any application refreshing ports information will not be able to scan NPIV port because of this behavior. So while restoring WWPN, only restore physical port WWPN. Signed-off-by: Sawan Chandak <sawan.chandak@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:43:07 UTC |
ded6411 | Sawan Chandak | 09 April 2015, 19:00:06 UTC | qla2xxx: Fix virtual port configuration, when switch port is disabled/enabled. On some vendor switches, when switch port is toggled (down /up), then in some condition driver tries to configure virtual port, before FW is actually in ready state to process any commands on wire. At this time, configuring virtual port can fail. Add fix in driver to make driver wait, for FW to be ready state before Signed-off-by: Sawan Chandak <sawan.chandak@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:42:58 UTC |
e8fb125 | Himanshu Madhani | 09 April 2015, 19:00:05 UTC | qla2xxx: Prevent multiple firmware dump collection for ISP27XX. For ISP27XX, driver will capture new firmware dump even if there is one already collected. Prevent this from happening by checking fw_dumped flag. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:42:49 UTC |
fd564b5 | Himanshu Madhani | 09 April 2015, 19:00:04 UTC | qla2xxx: Disable Interrupt handshake for ISP27XX. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:42:38 UTC |
d14e72f | Himanshu Madhani | 09 April 2015, 19:00:03 UTC | qla2xxx: Add debugging info for MBX timeout. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:42:30 UTC |
064135e | Andrew Vasquez | 09 April 2015, 19:00:02 UTC | qla2xxx: Add serdes read/write support for ISP27XX Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: Harish Zunjarrao <harish.zunjarrao@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:42:18 UTC |
0137e59 | Himanshu Madhani | 09 April 2015, 19:00:01 UTC | qla2xxx: Add udev notification to save fw dump for ISP27XX Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:42:10 UTC |
f4bf5e3 | Himanshu Madhani | 09 April 2015, 19:00:00 UTC | qla2xxx: Add message for sucessful FW dump collected for ISP27XX. o Added message indicating firmware dump was sucessfully collected for ISP27XX. o Improve logging to help debug firmware dump process for ISP27XX. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:42:01 UTC |
f1458cd | Sawan Chandak | 09 April 2015, 18:59:59 UTC | qla2xxx: Add support to load firmware from file for ISP 26XX/27XX. Signed-off-by: Sawan Chandak <sawan.chandak@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:41:50 UTC |
b21ba31 | Nigel Kirkland | 09 April 2015, 18:59:58 UTC | qla2xxx: Fix beacon blink for ISP27XX. Signed-off-by: Nigel Kirkland <nigel.kirkland@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:41:40 UTC |
3346149 | Chad Dupuis | 09 April 2015, 18:59:57 UTC | qla2xxx: Increase the wait time for firmware to be ready for P3P. Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:41:30 UTC |
6cbfb1e | Himanshu Madhani | 09 April 2015, 18:59:56 UTC | qla2xxx: Fix crash due to wrong casting of reg for ISP27XX. [Bart: additional sparse warning caused by this patch] [jejb: fix sparse warning] Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Cc: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:40:25 UTC |
dd83cb2 | Himanshu Madhani | 09 April 2015, 18:59:55 UTC | qla2xxx: Fix warnings reported by static checker. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 15:32:15 UTC |
d09c78f | James Smart | 07 April 2015, 19:07:29 UTC | lpfc: Update version to 10.5.0.0 for upstream patch set Update version to 10.5.0.0 for upstream patch set Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:50:54 UTC |
f25e8e7 | James Smart | 07 April 2015, 19:07:28 UTC | lpfc: Update copyright to 2015 Update copyright to 2015 Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:50:42 UTC |
4fbdf9c | James Smart | 07 April 2015, 19:07:27 UTC | lpfc: Fix for lun discovery issue with saturn adapter. FCP_CMD payload was not always properly initialized on SLI-3 devices. Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:50:29 UTC |
ad490b6 | James Smart | 07 April 2015, 19:07:26 UTC | lpfc: Fix crash in device reset handler. Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:50:16 UTC |
6c7cf48 | James Smart | 07 April 2015, 19:07:25 UTC | lpfc: Fix OS crash when running loopback test in applications Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:50:03 UTC |
6eae430 | James Smart | 07 April 2015, 19:07:23 UTC | lpfc: Fix internal loopback failure. Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:49:52 UTC |
be6bb94 | James Smart | 07 April 2015, 19:07:22 UTC | lpfc: Fix premature release of rpi bit in bitmask Currently, the driver plays off the fact that older sli4 adapters have a different rpi access pattern that allowed for the rpi reference to be released earlier in the teardown sequence, allowing the driver to recycle the rpi value sooner. Newer sli4 adapters have a different access pattern that requires us to wait for a later mailbox completion. This changes the put call location on the newer sli4 adapters. Symptoms of the error are "0110 ELS" and the "0372 iotag" errors. Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:49:39 UTC |
34154e0 | James Smart | 07 April 2015, 19:07:21 UTC | lpfc: Initiator sends wrong BBCredit value for either FLOGI or FLOGI_ACC Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:49:23 UTC |
63e480f | James Smart | 07 April 2015, 19:07:20 UTC | lpfc: Fix null ndlp dereference in target_reset_handler Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:49:10 UTC |
76b2c34 | James Smart | 07 April 2015, 19:07:19 UTC | lpfc: Fix FDMI Fabric support in driver for Brocade Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:48:57 UTC |
f0bf5f9 | James Smart | 07 April 2015, 19:07:18 UTC | lpfc: Fix provide host name and OS name in RSNN-NN FC-GS command Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:48:45 UTC |
26d830e | James Smart | 07 April 2015, 19:07:17 UTC | lpfc: Parse the new 20G, 25G and 40G link speeds in the lpfc driver Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:48:08 UTC |
a0683bf | James Smart | 07 April 2015, 19:07:16 UTC | lpfc: Add support for reporting option_rom_version on newer adapters Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:47:39 UTC |
2c9c5a0 | James Smart | 07 April 2015, 19:07:15 UTC | lpfc: Fix setting of EQ (interrupt) delay Multiplier Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:47:27 UTC |
ea4142f | James Smart | 07 April 2015, 19:07:13 UTC | lpfc: Fix host reset escalation killing all IOs. Fix host reset escalation killing all IOs. SLI-3 adapters will use a new host template. The template differs from SLI-4 adapters in that it does not have an eh_host_reset_handler. Lpfc has traditionally never had a host_reset. The host reset handler was added when we ran into a stuck hardware condition on a SLI-4 adapter. The host_reset will reset and reinit the pci function, clearing the hardware condition. Unfortunately, the host reset handler uses attach/detach code paths, which makes scsi_add_host() and scsi_remove_host() calls. Meaning, a host_reset will completely remove the scsi_host from the system. As a new call to scsi_add_host() is made, the shost# changes, which results in completely new scsi_devices and device names. All the older scsi devices on the old shost# are now orphaned and unrecoverable. We realize we need to re-implement the host_reset_handler so the scsi_host stays registered across the host_reset, but that will be a rather lengthy effort. In the short term, we had an immediate need to restore the SLI-3 devices to their working behavior, with the easiest path being to remove their host_reset handler. Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:46:35 UTC |
85c0f17 | James Smart | 07 April 2015, 19:07:12 UTC | lpfc: Linux lpfc driver doesn't re-establish the link after a cable pull on LPe12002 Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:46:08 UTC |
ed4afe7 | James Smart | 07 April 2015, 19:07:11 UTC | lpfc: Fix to handle PLOGI when already logged in Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:45:54 UTC |
c637797 | James Smart | 07 April 2015, 19:07:10 UTC | lpfc: Add new mbx cmd recognition Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:45:36 UTC |
946727d | James Smart | 07 April 2015, 19:07:09 UTC | lpfc: Add Lancer Temperature Event support to the lpfc driver This will detect and send an async event if overtemp is detected Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:45:03 UTC |
77d093f | James Smart | 07 April 2015, 19:07:08 UTC | lpfc: Fix the iteration count to match the 30 sec comment in the routine lpfc_pci_function_reset Signed-off-by: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:44:33 UTC |
c749e6b | James Smart | 02 April 2015, 19:50:52 UTC | scsi_transport_fc: Add support for 25Gbit speed Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 14:40:32 UTC |
eef7780 | Ondrej Zary | 06 February 2015, 22:11:57 UTC | aha1542: remove loop from aha1542_outb The loop in aha1542_outb with double-check is no longer needed, remove it. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:09:35 UTC |
7061dec | Ondrej Zary | 06 February 2015, 22:11:56 UTC | aha1542: Fix bus reset Bus reset always fails because aha1542_reset waits for the controller to assert the INIT bit (Mailbox Initialization Required) which it never does. This bit is asserted only after host reset. Remove the requirement for INIT bit (we really need only the IDLE bit). Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:09:30 UTC |
1b0224b | Ondrej Zary | 06 February 2015, 22:11:55 UTC | aha1542: rework locking Remove aha1542_lock and use host_lock instead. Remove interrupt and queuecommand function wrappers. Remove locking from lowlevel _out and _in functions, they now can onle be called (at runtime) with host_lock being held. Remove ssleep(4) in aha1542_reset as we can't sleep while holding a spinlock. It's useless anyway as wait_mask will wait until the controller is idle and kernel waits for 10 seconds (HOST_RESET_SETTLE_TIME) after that. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:09:24 UTC |
764a0c7 | Ondrej Zary | 06 February 2015, 22:11:54 UTC | aha1542: Don't reduce functionality with DEBUG enabled Enabling DEBUG disables write commands and devices with ID > 1. Remove this "feature" to allow real debugging. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:09:18 UTC |
6ddc8cf | Ondrej Zary | 06 February 2015, 22:11:53 UTC | aha1542: Use print_hex_dump_bytes in debug code Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:09:13 UTC |
fde1fb8 | Ondrej Zary | 06 February 2015, 22:11:52 UTC | aha1542: remove DEB macro and simplify debug code Remove DEB macro and join ifdef DEBUG blocks Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:09:08 UTC |
2906b3c | Ondrej Zary | 06 February 2015, 22:11:51 UTC | aha1542: Use shost_printk instead of printk Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:09:01 UTC |
37d607b | Ondrej Zary | 06 February 2015, 22:11:50 UTC | aha1542: Change aha1542_set_bus_times parameters Pass struct Scsi_Host *sh and dma parameters instead of index to aha1542_set_bus_times. This is required for printk conversion. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:56 UTC |
68ea9de | Ondrej Zary | 06 February 2015, 22:11:49 UTC | aha1542: Pass struct Scsi_Host * to functions Pass struct Scsi_Host * to functions instead of base address. This reduces the number of parameters and is also required for printk conversion. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:49 UTC |
954a9fd | Ondrej Zary | 06 February 2015, 22:11:48 UTC | aha1542: cleanup includes Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:44 UTC |
1d084d2 | Ondrej Zary | 06 February 2015, 22:11:47 UTC | aha1542: remove useless changelog Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:39 UTC |
e51dacb | Ondrej Zary | 06 February 2015, 22:11:46 UTC | aha1542: fix include guard and remove useless changelog Fix include guard in header file and remove useless changelog Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:31 UTC |
c2532f6 | Ondrej Zary | 06 February 2015, 22:11:45 UTC | aha1542: Always name Scsi_Host variables sh Make Scsi_Host variable names consistent - use sh everywhere. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:26 UTC |
55b28f9 | Ondrej Zary | 06 February 2015, 22:11:44 UTC | aha1524: Use struct scsi_cmnd Use struct scsi_cmnd instead of Scsi_Cmnd and also rename the variables to get rid of SC prefix Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:21 UTC |
cad2fc7 | Ondrej Zary | 06 February 2015, 22:11:43 UTC | aha1542: clean up cmd variables Make sure that there's no variable named cmd Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:16 UTC |
17787a0 | Ondrej Zary | 06 February 2015, 22:11:42 UTC | aha1542: Simplify aha1542_biosparam Simplify aha1542_biosparam, use sector_div, remove unused BIOS_TRANSLATION_1632. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:10 UTC |
f71429a | Ondrej Zary | 06 February 2015, 22:11:41 UTC | aha1542: rework configuration parameters Remove __setup and introduce separate io, bus_on, bus_off and dma_speed module parameters. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:05 UTC |
3a70c00 | Ondrej Zary | 06 February 2015, 22:11:40 UTC | aha1542: rework hw_init Cleanup hw_init, use goto for error handling. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:08:00 UTC |
23e6940 | Ondrej Zary | 06 February 2015, 22:11:39 UTC | aha1542: Call wait_mask from aha1542_out aha1542_out call is always followed by wait_mask. Move the call into aha1542_out to simplify code. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:07:54 UTC |
b847fd0 | Ondrej Zary | 06 February 2015, 22:11:38 UTC | aha1542: split out code from aha1542_hw_init Split out bus times related block of aha1542_hw_init into separate function aha1542_set_bus_times. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:07:48 UTC |
8537cba | Ondrej Zary | 06 February 2015, 22:11:37 UTC | aha1542: Merge aha1542_host_reset and aha1542_bus_reset aha1542_host_reset and aha1542_bus_reset are almost same, merge them into aha1542_reset Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:07:42 UTC |
dfd7c99 | Ondrej Zary | 06 February 2015, 22:11:36 UTC | aha1542: Remove aha1542_restart aha1542_restart does nothing (except useless printk), remove it Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:07:37 UTC |
bdebe22 | Ondrej Zary | 06 February 2015, 22:11:35 UTC | aha1542: remove useless code from aha1542_test_port Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:07:32 UTC |
a13b372 | Ondrej Zary | 06 February 2015, 22:11:34 UTC | aha1542: Remove unneeded gotos Remove gotos that are no longer needed. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:07:26 UTC |
0c2b648 | Ondrej Zary | 06 February 2015, 22:11:33 UTC | aha1542: Split aha1542_out aha1542_out are in fact two separate functions. Split them into aha1542_out and aha1542_outb to simplify the code. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:07:20 UTC |
f8846be | Ondrej Zary | 06 February 2015, 22:11:32 UTC | aha1542: Unify aha1542_in and aha1542_in1 Unify aha1542_in and aha1542_in1 functions, they differ only in timeout and printk. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:07:13 UTC |
2093bfa | Ondrej Zary | 06 February 2015, 22:11:31 UTC | aha1542: Remove WAIT and WAITd macros Convert the ugly WAIT and WAITd macros into wait_mask function. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:07:05 UTC |
6d9ffe6 | Ondrej Zary | 06 February 2015, 22:11:30 UTC | aha1542: Use BIT() macro Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:06:58 UTC |
f232d53 | Ondrej Zary | 06 February 2015, 22:11:29 UTC | aha1542: remove empty aha1542_stat Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:06:53 UTC |
09a4483 | Ondrej Zary | 06 February 2015, 22:11:28 UTC | aha1542: Reorder functions to remove forward declarations Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:06:47 UTC |
cb5b570 | Ondrej Zary | 06 February 2015, 22:11:27 UTC | aha1542: Use u8 instead of unchar Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:06:40 UTC |
f1bbef6 | Ondrej Zary | 06 February 2015, 22:11:26 UTC | aha1542: Convert aha1542_intr_reset to function Convert aha1542_intr_reset macro to inline function Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:06:32 UTC |
e98878f | Ondrej Zary | 06 February 2015, 22:11:25 UTC | aha1542: Remove HOSTDATA macro Remove HOSTDATA macro and use shost_priv instead Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:06:22 UTC |
10be625 | Ondrej Zary | 06 February 2015, 22:11:24 UTC | aha1542: Remove SCSI_BUF_PA, SCSI_SG_PA, AHA1542_SCATTER and AHA1542_CMDLUN Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:03:33 UTC |
6f82fbf | Ondrej Zary | 06 February 2015, 22:11:23 UTC | aha1542: remove dead code Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:03:11 UTC |
643a7c4 | Ondrej Zary | 06 February 2015, 22:11:22 UTC | aha1542: Stop using scsi_module.c Convert aha1542 to use scsi_add_host instead of scsi_module.c Use pnp_driver and isa_driver to manage cards. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 10 April 2015, 01:00:37 UTC |
f20dffc | Mahesh Rajashekhara | 26 March 2015, 14:41:32 UTC | aacraid: driver version change Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:57:01 UTC |
dab04b0 | Mahesh Rajashekhara | 26 March 2015, 14:41:31 UTC | aacraid: AIF raw device remove support Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:56:18 UTC |
ef61623 | Mahesh Rajashekhara | 26 March 2015, 14:41:30 UTC | aacraid: performance improvement changes Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:55:21 UTC |
f9c4259 | Mahesh Rajashekhara | 26 March 2015, 14:41:29 UTC | aacraid: IOCTL fix After getting the platform shutdown command "VM_CloseAll" response from the firmware, driver was getting configuration IOCTL request from the upper layers and it sends down to firmware. This causes firmware assert issue. This patch fixes the firmware assert issue. During the shutdown, if driver gets commands from the upper layer, driver sends error code to the upper layers. Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:54:40 UTC |
dafde94 | Mahesh Rajashekhara | 26 March 2015, 14:41:28 UTC | aacraid: IOP RESET command handling changes This patch fixes the IOP_RESET issue. Sending IOP_RESET command need to wait for only 10 sec instead of 5 minutes in case of firmware does not response IOP_RESET command. Disable interrupt before setup interrupt routine to prevent spurious interrupts. Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:53:37 UTC |
a7129a5 | Mahesh Rajashekhara | 26 March 2015, 14:41:27 UTC | aacraid: 240 simple volume support Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:52:33 UTC |
5d91064 | Mahesh Rajashekhara | 26 March 2015, 14:41:26 UTC | aacraid: vpd page code 0x83 support Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:51:29 UTC |
495c021 | Mahesh Rajashekhara | 26 March 2015, 14:41:25 UTC | aacraid: MSI-x support Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:48:15 UTC |
b836439 | Mahesh Rajashekhara | 26 March 2015, 14:41:24 UTC | aacraid: 4KB sector support Also fix up a name truncation problem Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:46:30 UTC |
2f5d1f7 | Mahesh Rajashekhara | 26 March 2015, 14:41:23 UTC | aacraid: IOCTL pass-through command fix The Linux aacriad driver fails to detect the case of SG list count=0 on IOCTL pass-through command and cause intermittent fault. The result is the Linux aacriad driver send down IOCTL pass-through command with one not initialized SG list to firmware when receiving SG list count =0 on pass-through command. Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:44:49 UTC |
46154a0 | Mahesh Rajashekhara | 26 March 2015, 14:41:22 UTC | aacraid: AIF support for SES device add/remove Signed-off-by: Mahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Murthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 23:44:24 UTC |
29854a4 | Brian King | 26 March 2015, 16:24:00 UTC | ipr: Driver version 2.6.1 Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 21:19:23 UTC |
f8ee25d | Wen Xiong | 26 March 2015, 16:23:58 UTC | ipr: AF DASD raw mode implementation in ipr driver This patch implements raw mode support for AF DASD in ipr driver which allows for tools to send commands directly to physical devices which are members of RAID arrays when enabled in the firmware. [jejb: fix up whitespace] Signed-off-by: Wen Xiong<wenxiong@linux.vnet.ibm.com> Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Daniel Kreling <kreling@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 21:17:57 UTC |
ea30c1d | Brian King | 26 March 2015, 16:23:56 UTC | ipr: Re-enable write same Re-enable write same support for ipr RAID adapters. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: Daniel Kreling <kreling@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 21:14:53 UTC |
a65e8f1 | Brian King | 26 March 2015, 16:23:55 UTC | ipr: Fix possible error path oops during initialization Fixes a possible oops during adapter initialization in some memory allocation failure error paths scenarios. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: Daniel Kreling <kreling@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 20:44:22 UTC |
2796ca5 | Brian King | 26 March 2015, 16:23:52 UTC | ipr: Reset in task context The pci_set_pcie_reset_state has changed semantics to not be callable from interrupt context, so change ipr's usage of the API to comply with this change by ensuring this occurs from a workqueue. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: Daniel Kreling <kreling@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 20:43:14 UTC |
4fdd7c7 | Brian King | 26 March 2015, 16:23:50 UTC | ipr: Reboot speed improvements Currently when performing a reboot with an ipr adapter, the adapter gets shutdown completely, flushing all write cache, as well as performing a full hardware reset of the card during the shutdown phase of the old kernel. This ensures the adapter is in a fully quiesced state across the reboot. There are scenarios, however, such as when performing kexec, where this full adapter shutdown is not required and not desired, since it can make the reboot process take noticeably longer. This patch adds a module parameter to allow for skipping the full shutdown during reboot. Rather than performing a full adapter shutdown and reset, we simply cancel any outstanding error buffers, place the adapter into a state where it has no memory of any DMA addresses from the old kernel, then disable the device. This significantly speeds up kexec boot, particularly in configurations with multiple ipr adapters. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Reviewed-by: Wen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: Daniel Kreling <kreling@linux.vnet.ibm.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 20:42:07 UTC |
be0cf6c | K. Y. Srinivasan | 27 March 2015, 07:27:20 UTC | scsi: storvsc: Set the tablesize based on the information given by the host Set the tablesize based on the information given by the host. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Tested-by: Long Li <longli@microsoft.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 20:22:12 UTC |
aaced99 | K. Y. Srinivasan | 27 March 2015, 07:27:19 UTC | scsi: storvsc: Don't assume that the scatterlist is not chained The current code assumes that the scatterlists presented are not chained. Fix the code to not make this assumption. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 20:22:12 UTC |
8de5807 | K. Y. Srinivasan | 27 March 2015, 07:27:18 UTC | scsi: storvsc: Fix a bug in copy_from_bounce_buffer() We may exit this function without properly freeing up the maapings we may have acquired. Fix the bug. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Long Li <longli@microsoft.com> Cc: <stable@vger.kernel.org> Signed-off-by: James Bottomley <JBottomley@Odin.com> | 09 April 2015, 20:22:12 UTC |