[Bug 188061] On quad port QLE2564 can't add in target only 2 ports

2017-03-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=188061 --- Comment #8 from Anthony (anthony.blood...@gmail.com) --- I added output in text attachment. By construction this card have 3 PCI-E switches onboard. -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 188061] On quad port QLE2564 can't add in target only 2 ports

2017-03-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=188061 --- Comment #7 from Anthony (anthony.blood...@gmail.com) --- Created attachment 255073 --> https://bugzilla.kernel.org/attachment.cgi?id=255073&action=edit Output lspci for 4-port card -- You are receiving this mail because: You are watching t

Re: [PATCH v3 01/16] lpfc: Correct WQ creation for pagesize

2017-03-03 Thread Mauricio Faria de Oliveira
Hi Martin and James, On 02/12/2017 07:52 PM, James Smart wrote: Correct WQ creation for pagesize Reviewed-by: Mauricio Faria de Oliveira Please flag this patch for stable. This patch resolves a serious problem on IBM Power systems at least. An (apparently constant) series of invalid iotag

Re: [PATCH v2 10/11] lpfc: Add missing memory barrier

2017-03-03 Thread Mauricio Faria de Oliveira
On 12/19/2016 09:07 PM, James Smart wrote: On loosely ordered memory systems (PPC for example), the WQE elements were being updated in memory, but not necessarily flushed before the separate doorbell was written to hw which would cause hw to dma the WQE element. Thus, the hardware occasionally re

[GIT PULL] final round of SCSI updates for the 4.10+ merge window

2017-03-03 Thread James Bottomley
This is the set of stuff that didn't quite make the initial pull and a set of fixes for stuff which did. The new stuff is basically lpfc (nvme), qedi and aacraid. The fixes cover a lot of previously submitted stuff, the most important of which probably covers some of the failing irq vectors alloc

[RFC] hv_storvsc: error handling.

2017-03-03 Thread Stephen Hemminger
Needs more testing but this does fix the observed problem. From: Stephen Hemminger Subject: [PATCH] hv_storvsc: fix error handling The Hyper-V storvsc SCSI driver was hiding all errors in INQUIRY and MODE_SENSE commands. This caused the scan process to incorrectly think devices were present and

Re: SCSI regression in 4.11

2017-03-03 Thread Stephen Hemminger
On Thu, 02 Mar 2017 11:18:23 -0800 James Bottomley wrote: > On March 2, 2017 11:05:05 AM PST, Stephen Hemminger > wrote: > >On Thu, 02 Mar 2017 10:36:17 -0800 > >James Bottomley wrote: > > > >> On March 2, 2017 10:23:24 AM PST, Stephen Hemminger > > wrote: > >> >On Thu, 2 Mar 2017 14:25:

RE: [PATCH] qla2xxx: Fix ql_dump_buffer

2017-03-03 Thread Madhani, Himanshu
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Thursday, March 2, 2017 5:15 PM > To: qla2xxx-upstr...@qlogic.com > Cc: James E.J. Bottomley ; Martin K. Petersen > ; linux-scsi@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: [PATCH] qla2xxx: Fix ql_d

Re: [PATCH] target/user: Fix possible overwrite of t_data_sg's last iov[]

2017-03-03 Thread Andy Grover
On 02/27/2017 09:47 PM, lixi...@cmss.chinamobile.com wrote: From: Xiubo Li If there has BIDI data, its first iov[] will overwrite the last iov[] for se_cmd->t_data_sg. (+CCing orig BIDI and data block code authors) Yeah. It looks like because alloc_and_scatter_data_area() (hereafter "aasda"

RE: [PATCH] aacraid: Fix typo in blink status

2017-03-03 Thread Dave Carroll
> Subject: [PATCH] aacraid: Fix typo in blink status > > The return status of the adapter check on KERNEL_PANIC is supposed to be > the upper 16 bits of the OMR status register. > > Fixes: c421530bf848604e (scsi: aacraid: Reorder Adpater status check) > Reported-by: Dan Carpenter > Signed-off-by

[Bug 188061] On quad port QLE2564 can't add in target only 2 ports

2017-03-03 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=188061 --- Comment #6 from himanshu.madh...@cavium.com (himanshu.madh...@qlogic.com) --- (In reply to Anthony from comment #5) > I've installed another 4-port card and got same issue - port names have > variable part at highest bits. On 2-port card port

[patch] check length passed to SG_NEXT_CMD_LEN

2017-03-03 Thread Peter Chang
now that i think i've got gmail not marking everything as spam... \p From 93409c62db49d15105390315a685e54083029bee Mon Sep 17 00:00:00 2001 From: peter chang Date: Wed, 15 Feb 2017 14:11:54 -0800 Subject: [PATCH] [sg] check length passed to SG_NEXT_CMD_LEN the user can control the size of the ne

[PATCH] vmw_pvscsi: handle the return value from pci_alloc_irq_vectors correctly

2017-03-03 Thread Christoph Hellwig
It returns the number of vectors allocated when successful, so check for a negative error only. Fixes: 2e48e349 ("scsi: vmw_pvscsi: switch to pci_alloc_irq_vectors") Signed-off-by: Christoph Hellwig Reported-by: Loïc Yhuel Tested-by: Loïc Yhuel --- drivers/scsi/vmw_pvscsi.c | 2 +- 1 file chan

Re: [PATCH] scsi: lpfc: replace init_timer by setup_timer

2017-03-03 Thread James Smart
looks good -- james Signed-off-by: James Smart On 3/3/2017 4:45 AM, Jiri Slaby wrote: From: Tomas Jasek This patch shortens every init_timer in lpfc module followed by function and data assignment using setup_timer. This is purely cleanup patch, it does not add new functionality nor remove

Re: [PATCHv4 12/12] mpt3sas: lockless command submission

2017-03-03 Thread Hannes Reinecke
On 03/03/2017 01:32 PM, Sreekanth Reddy wrote: On Wed, Feb 22, 2017 at 4:01 PM, Hannes Reinecke wrote: Instead of holding 'struct scsiio_tracker' in its own pool we can embed it into the payload of the scsi command. This allows us to get rid of the lock when submitting and receiving commands an

Re: [PATCHv4 11/12] mpt3sas: simplify _wait_for_commands_to_complete()

2017-03-03 Thread Hannes Reinecke
On 03/03/2017 12:57 PM, Sreekanth Reddy wrote: On Wed, Feb 22, 2017 at 4:01 PM, Hannes Reinecke wrote: Use 'host_busy' instead of counting outstanding commands by hand. Suggested-by: Christoph Hellwig Signed-off-by: Hannes Reinecke --- drivers/scsi/mpt3sas/mpt3sas_base.c | 14 --

[PATCH] scsi: lpfc: replace init_timer by setup_timer

2017-03-03 Thread Jiri Slaby
From: Tomas Jasek This patch shortens every init_timer in lpfc module followed by function and data assignment using setup_timer. This is purely cleanup patch, it does not add new functionality nor remove any existing functionality. An init_timer call in this form: init_timer(&vport->fc_dis

Re: [PATCHv4 12/12] mpt3sas: lockless command submission

2017-03-03 Thread Sreekanth Reddy
On Wed, Feb 22, 2017 at 4:01 PM, Hannes Reinecke wrote: > Instead of holding 'struct scsiio_tracker' in its own pool we > can embed it into the payload of the scsi command. This allows > us to get rid of the lock when submitting and receiving commands > and streamline operations. > > Signed-off-by

Re: [PATCH v4 09/19] scsi: csiostor: Replace PCI pool old API

2017-03-03 Thread Sergei Shtylyov
Hello! On 3/1/2017 6:55 PM, Romain Perier wrote: The PCI pool API is deprecated. This commits replaces the PCI pool old Commit. API by the appropriated function with the DMA pool API. It also updates Appropriate perhaps? the name of some variables and the content of comments, acco

Re: [PATCHv4 11/12] mpt3sas: simplify _wait_for_commands_to_complete()

2017-03-03 Thread Sreekanth Reddy
On Wed, Feb 22, 2017 at 4:01 PM, Hannes Reinecke wrote: > Use 'host_busy' instead of counting outstanding commands by hand. > > Suggested-by: Christoph Hellwig > Signed-off-by: Hannes Reinecke > --- > drivers/scsi/mpt3sas/mpt3sas_base.c | 14 -- > 1 file changed, 4 insertions(+), 10

[PATCH] scsi: sr: fix oob access in get_capabilities

2017-03-03 Thread Kefeng Wang
'n = header_length + block_descriptor_length' could be greater than 512, and will lead to oob access, so enlarge transfer buffer to fix it. === BUG: KASAN: slab-out-of-bounds in sr_probe+0x570/0xcc0 at addr 8809020e Read of size 1 by task kworker/u48:2/188 Signed-off-by: Kefeng Wang ---

Re: [PATCH v4 08/19] scsi: be2iscsi: Replace PCI pool old API

2017-03-03 Thread Sergei Shtylyov
On 3/1/2017 6:55 PM, Romain Perier wrote: The PCI pool API is deprecated. This commits replaces the PCI pool old Commit. API by the appropriated function with the DMA pool API. Appropriate perhaps? Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna

Re: [patch] check length passed to SG_NEXT_CMD_LEN

2017-03-03 Thread Dmitry Vyukov
On Thu, Mar 2, 2017 at 7:29 PM, Peter Chang wrote: > now that i think i've got gmail not marking everything as spam... +syzkaller mailing list as this does not seem to appear anywhere on open web From 93409c62db49d15105390315a685e54083029bee Mon Sep 17 00:00:00 2001 From: peter chang Date: Wed,

Re: [PATCH] [v2] scsi: qedi: fix build error without DEBUG_FS

2017-03-03 Thread Rangankar, Manish
On 02/03/17 8:28 PM, "Arnd Bergmann" wrote: >Without CONFIG_DEBUG_FS, we run into a link error: > >drivers/scsi/qedi/qedi_iscsi.o: In function `qedi_ep_poll': >qedi_iscsi.c:(.text.qedi_ep_poll+0x134): undefined reference to >`do_not_recover' >drivers/scsi/qedi/qedi_iscsi.o: In function `qedi_ep_