Re: [PATCH] scsi: lpfc: Add shutdown method for kexec

2017-02-12 Thread Anton Blanchard
Hi Ben, On Mon, 13 Feb 2017 10:14:54 +1100 Benjamin Herrenschmidt <b...@kernel.crashing.org> wrote: > On Mon, 2017-02-13 at 08:49 +1100, Anton Blanchard wrote: > > From: Anton Blanchard <an...@samba.org> > > > > We see lpfc devices regularly fail during kexec.

[PATCH] scsi: lpfc: Add shutdown method for kexec

2017-02-12 Thread Anton Blanchard
From: Anton Blanchard <an...@samba.org> We see lpfc devices regularly fail during kexec. Fix this by adding a shutdown method which mirrors the remove method. Signed-off-by: Anton Blanchard <an...@samba.org> --- drivers/scsi/lpfc/lpfc_init.c | 1 + 1 file changed, 1 insertion(+)

[PATCH 2/2] ipr: set coherent DMA mask

2014-10-13 Thread Anton Blanchard
Use dma_set_mask_and_coherent() to set both the DMA and coherent DMA mask. Signed-off-by: Anton Blanchard an...@samba.org --- drivers/scsi/ipr.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 3aa28bd..15f4575 100644

Re: [PATCH 1/5] ipr: Add support for async scanning to speed up boot

2014-08-26 Thread Anton Blanchard
your subsequent kexec patch is applied. Tested-by: Anton Blanchard an...@samba.org Anton -- To unsubscribe from this list: send the line unsubscribe linux-scsi in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 3/5]: ipr: kexec boot speed improvements

2014-08-26 Thread Anton Blanchard
adapters. Signed-off-by: Brian King brk...@linux.vnet.ibm.com --- This reduces boot time on my box from 80 seconds to 34 seconds. ppc64 kernel developers (who boot boxes continually) thank you! Tested-by: Anton Blanchard an...@samba.org Anton -- To unsubscribe from this list: send the line

Re: [PATCH] ibmvscsi: Speed up kexec boot

2014-03-27 Thread Anton Blanchard
more reasonable - 1 ms. This improves my boot time by 6 seconds. Fix the other places we have arbitrary 100 ms delays. Checking in on this patch, 6 seconds is a decent chunk of our boot time on KVM. Anton Signed-off-by: Anton Blanchard an...@samba.org --- diff --git a/drivers/scsi

[PATCH] ibmvscsi: Speed up kexec boot

2013-12-22 Thread Anton Blanchard
- 1 ms. This improves my boot time by 6 seconds. Fix the other places we have arbitrary 100 ms delays. Signed-off-by: Anton Blanchard an...@samba.org --- diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index fa76440..ed7b52e 100644 --- a/drivers/scsi/ibmvscsi

[PATCH] ibmvscsi: Fix little endian issues

2013-09-02 Thread Anton Blanchard
The hypervisor is big endian, so little endian kernel builds need to byteswap. Signed-off-by: Anton Blanchard an...@samba.org --- diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index d0fa4b6..62bdbc9 100644 --- a/drivers/scsi/ibmvscsi/ibmvscsi.c +++ b

[SCSI] lpfc: Don't force CONFIG_GENERIC_CSUM on

2013-08-08 Thread Anton Blanchard
defined. As such, remove the select of CONFIG_GENERIC_CSUM. Signed-off-by: Anton Blanchard an...@samba.org Cc: sta...@vger.kernel.org # 3.10 --- diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index 48b2918..92ff027 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -1353,7

Why does lpfc select GENERIC_CSUM?

2013-08-05 Thread Anton Blanchard
Hi Randy, commit 6a7252fd ([SCSI] lpfc: fix up Kconfig dependencies) added a select of GENERIC_CSUM. This seems strange to me - it's an architecture specific detail if the checksum routines are implemented in assembly or if they pull in lib/checksum.c. The networking code doesn't select

Re: [PATCH] IBM VSCSI Client: handle large scatter/gather lists

2005-09-06 Thread Anton Blanchard
Hi, The maximum size of a scatter-gather list that the current IBM VSCSI Client can handle is 10. This patch adds large scatter-gather support to the client so that it is capable of handling up to SG_ALL(255) number of requests in the scatter-gather list. Please consider it for

Re: 2.5.51 + fastT FC disk

2005-09-06 Thread Anton Blanchard
On Fri, Dec 13, 2002 at 12:24:39AM +1100, Anton Blanchard wrote: We tested 2.5.51 on a ppc64 box, qlogic 2312 and a fastt700 array. I had CONFIG_SCSI_REPORT_LUNS and unfortunately it thought the management LUN was a disk: Vendor: IBM Model: Universal Xport Rev: 0520 Type