- 10 4月, 2015 40 次提交
-
-
由 Ondrej Zary 提交于
aha1542_restart does nothing (except useless printk), remove it Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Remove gotos that are no longer needed. Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
aha1542_out are in fact two separate functions. Split them into aha1542_out and aha1542_outb to simplify the code. Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Unify aha1542_in and aha1542_in1 functions, they differ only in timeout and printk. Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Convert the ugly WAIT and WAITd macros into wait_mask function. Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Convert aha1542_intr_reset macro to inline function Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Remove HOSTDATA macro and use shost_priv instead Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Ondrej Zary 提交于
Convert aha1542 to use scsi_add_host instead of scsi_module.c Use pnp_driver and isa_driver to manage cards. Signed-off-by: NOndrej Zary <linux@rainbow-software.org> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
Signed-off-by: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
Signed-off-by: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
Signed-off-by: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
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: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
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: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
Signed-off-by: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
Signed-off-by: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
Signed-off-by: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
Also fix up a name truncation problem Signed-off-by: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
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: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Mahesh Rajashekhara 提交于
Signed-off-by: NMahesh Rajashekhara <Mahesh.Rajashekhara@pmcs.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Reviewed-by: NMurthy Bhat <Murthy.Bhat@pmcs.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Brian King 提交于
Signed-off-by: NBrian King <brking@linux.vnet.ibm.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Wen Xiong 提交于
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: NBrian King <brking@linux.vnet.ibm.com> Reviewed-by: NDaniel Kreling <kreling@linux.vnet.ibm.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Brian King 提交于
Re-enable write same support for ipr RAID adapters. Signed-off-by: NBrian King <brking@linux.vnet.ibm.com> Reviewed-by: NWen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: NDaniel Kreling <kreling@linux.vnet.ibm.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Brian King 提交于
Fixes a possible oops during adapter initialization in some memory allocation failure error paths scenarios. Reported-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NBrian King <brking@linux.vnet.ibm.com> Reviewed-by: NWen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: NDaniel Kreling <kreling@linux.vnet.ibm.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Brian King 提交于
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: NBrian King <brking@linux.vnet.ibm.com> Reviewed-by: NWen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: NDaniel Kreling <kreling@linux.vnet.ibm.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Brian King 提交于
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: NBrian King <brking@linux.vnet.ibm.com> Reviewed-by: NWen Xiong <wenxiong@linux.vnet.ibm.com> Reviewed-by: NDaniel Kreling <kreling@linux.vnet.ibm.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 K. Y. Srinivasan 提交于
Set the tablesize based on the information given by the host. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Reviewed-by: NLong Li <longli@microsoft.com> Tested-by: NLong Li <longli@microsoft.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 K. Y. Srinivasan 提交于
The current code assumes that the scatterlists presented are not chained. Fix the code to not make this assumption. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Reviewed-by: NLong Li <longli@microsoft.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 K. Y. Srinivasan 提交于
We may exit this function without properly freeing up the maapings we may have acquired. Fix the bug. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Reviewed-by: NLong Li <longli@microsoft.com> Cc: <stable@vger.kernel.org> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 K. Y. Srinivasan 提交于
The storage protocol informs the guest of the I/O capabilities of the storage stack. Retrieve this information and use it in the guest. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Reviewed-by: NLong Li <longli@microsoft.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 K. Y. Srinivasan 提交于
The current code always sent packets without data on the primary channel. Properly distribute sending of packets with no data amongst all available channels. I would like to thank Long Li for noticing this problem. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Reviewed-by: NLong Li <longli@microsoft.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 K. Y. Srinivasan 提交于
Size the queue depth based on the ringbuffer size. Also accommodate for the fact that we could have multiple channels (ringbuffers) per adaptor. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Reviewed-by: NLong Li <longli@microsoft.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 K. Y. Srinivasan 提交于
Increase the default ring buffer size as this can significantly improve performance especially on high latency storage back-ends. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Reviewed-by: NLong Li <longli@microsoft.com> Signed-off-by: NJames Bottomley <JBottomley@Odin.com>
-
由 Michael Opdenacker 提交于
This replaces kmalloc + memset by a call to kzalloc This also fixes one checkpatch.pl issue in the process. This improvement was suggested by "make coccicheck" Signed-off-by: NMichael Opdenacker <michael.opdenacker@free-electrons.com> Reviewed-by: NHannes Reinecke <hare@suse.de> Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
-