Re: [RFC PATCH 4/6] bsg: refactor ioctl to use regular BSG-command infrastructure for SG_IO

2017-08-10 Thread Johannes Thumshirn
onstruct. Thanks, Johannes -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fingerprint

Re: [RFC PATCH 5/6] bsg: reduce unnecessary arguments for bsg_map_hdr()

2017-08-10 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [RFC PATCH 6/6] bsg: reduce unnecessary arguments for blk_complete_sgv4_hdr_rq()

2017-08-10 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH] sym53c8xx: Avoid undefined behaviour in drivers/scsi/sym53c8xx_2/sym_hipd.c:762

2017-08-11 Thread Johannes Thumshirn
this warning by switching to dev64_ul(). div64_ul() ^ Otherwise, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr.

Re: [PATCH v3 04/20] lpfc: Fix oops when NVME Target is discovered in a nonNVME environment

2017-08-28 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg

Re: [PATCH v3 07/20] lpfc: Fix handling of FCP and NVME FC4 types in Pt2Pt topology

2017-08-28 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg

Re: [PATCH v3 12/20] lpfc: Limit amount of work processed in IRQ

2017-08-28 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg

Re: [PATCH v3 11/20] lpfc: Correct issues with FAWWN and FDISCs

2017-08-28 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg

Re: [PATCH v3 13/20] lpfc: Fix MRQ > 1 context list handling

2017-08-28 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg

Re: [PATCH v3 15/20] lpfc: Fix nvme target failure after 2nd adapter reset

2017-08-28 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg

Re: [PATCH 1/4] bsg-lib: pass the release callback through bsg_setup_queue

2017-08-29 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH 2/4] hpsa: remove the smp_handler stub

2017-08-29 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH 3/4] smartpqi: remove the smp_handler stub

2017-08-29 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH 4/4] scsi_transport_sas: switch to bsg-lib for SMP passthrough

2017-08-29 Thread Johannes Thumshirn
The scsi_transport_sas.c part looks good, I have a nearly identical version (different remove part due to missing patch 1 of your series). For the other parts I can't tell. Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@su

[PATCH] qla2xxx: add missing includes for qla_isr

2017-08-30 Thread Johannes Thumshirn
ds the definition of 'struct fc_ba_rjt' from scsi/fc/fc_fs.h) to the header files included by qla_isr.c. Fixes: 7401bc18d1ee ("scsi: qla2xxx: Add FC-NVMe command handling") Signed-off-by: Johannes Thumshirn --- drivers/scsi/qla2xxx/qla_isr.c | 2 ++ 1 file changed, 2 insertio

Re: [PATCH v3 1/4] Call scsi_initialize_rq() also for filesystem requests

2017-08-31 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH v3 2/4] Improve requeuing behavior

2017-08-31 Thread Johannes Thumshirn
Thanks, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH v3 3/4] Show .retries and .jiffies_at_alloc in debugfs

2017-08-31 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg

Re: [PATCH v3 4/4] scsi-mq: Always unprepare before requeuing a request

2017-08-31 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg

Re: [PATCH] Remove Scsi_Host.uspace_req_q

2017-09-01 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH 4/9] blk-mq: only run hw queues for blk-mq

2017-09-01 Thread Johannes Thumshirn
_queues() so we can't accidently call it from the sq path? Just an idea, no hard preferences here. Byte, Johannes -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr.

Re: [PATCH 4/9] blk-mq: only run hw queues for blk-mq

2017-09-01 Thread Johannes Thumshirn
On Fri, Sep 01, 2017 at 08:33:40PM +0800, Ming Lei wrote: > Given it is the only case that blk_mq_run_hw_queues() is run on > !q->mq_ops now, I suggest to check q->mq_ops outside, otherwise > it can be a bit overkill. Fair enough, Reviewed-by: Johannes Thumshirn -- Joh

Re: [PATCH] lpfc: Don't return internal MBXERR_ERROR code from probe function

2017-09-06 Thread Johannes Thumshirn
reported below [1], and > should perhaps also be queued for -stable. It seems to have slipped trough the cracks, can you please re-submit? Thanks, Johannes -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911

Re: [PATCH] lpfc: Don't return internal MBXERR_ERROR code from probe function

2017-09-06 Thread Johannes Thumshirn
PATCH RESEND] should be OK -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fin

Re: [PATCH RESEND] lpfc: Don't return internal MBXERR_ERROR code from probe function

2017-09-06 Thread Johannes Thumshirn
goto out_free_bsmbx; Because as this patch shows there's always a chance to miss an 'rc = -EIO'. Out of curiosity, do you know what's the value of rc in the failure case? Anyways: Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn

Re: [PATCH RESEND] lpfc: Don't return internal MBXERR_ERROR code from probe function

2017-09-06 Thread Johannes Thumshirn
#x27;rc = -EIO'. > > > > Out of curiosity, do you know what's the value of rc in the failure case? > > Yes, MBXERR_ERROR (mentioned in patch subject -- sorry, I could have > repeated it in the message perhaps). Ah ok I somehow missed it, sorry. Byte, Johanne

Re: [PATCH v4 01/11] libsas: kill useless ha_event and do some cleanup

2017-09-06 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH v4 02/11] libsas: remove the numbering for each event enum

2017-09-06 Thread Johannes Thumshirn
I guess it boils down to personal preference, but Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane

Re: [PATCH v4 03/11] libsas: remove unused port_gone_completion and DISCE_PORT_GONE

2017-09-06 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg

Re: [PATCH v4 04/11] libsas: rename notify_port_event() for consistency

2017-09-06 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg

Re: [PATCH V2 01/12] block: Fix declaration of blk-mq debugfs functions

2017-09-08 Thread Johannes Thumshirn
On Fri, Sep 08, 2017 at 01:16:29AM +0900, Damien Le Moal wrote: > __blk_mq_debugfs_rq_show() and blk_mq_debugfs_rq_show() are exported > symbols but ar eonly declared in the block internal file are only Otherwise this looks good to me, Reviewed-by: Johannes Thumshirn -- Jo

Re: [PATCH V2 02/12] block: Fix declaration of blk-mq scheduler functions

2017-09-08 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH V2 03/12] scsi: sd_zbc: Move ZBC declarations to scsi_proto.h

2017-09-08 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH V2 04/12] scsi: sd_zbc: Move zbc disk declarations to sd_zbc.h

2017-09-08 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH V2 05/12] scsi: sd_zbc: Fix comments and indentation

2017-09-08 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH V2 06/12] scsi: sd_zbc: Rearrange code

2017-09-08 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH V2 07/12] scsi: sd_zbc.c: Use well defined macros

2017-09-08 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH V2 08/12] scsi: sd_zbc: Fix sd_zbc_read_zoned_characteristics()

2017-09-08 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG

Re: [PATCH V2 09/12] scsi: sd_zbc: Limit zone write locking to sequential zones

2017-09-08 Thread Johannes Thumshirn
ing NUMA nodes into account. But that has nothing to do with your patch, just a general rant, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeld

Re: [PATCH V2 09/12] scsi: sd_zbc: Limit zone write locking to sequential zones

2017-09-08 Thread Johannes Thumshirn
On Fri, Sep 08, 2017 at 11:48:09AM +0200, Christoph Hellwig wrote: > On Fri, Sep 08, 2017 at 10:39:25AM +0200, Johannes Thumshirn wrote: > > It's a shame we have all this overflow checking kcalloc() and > > kmalloc_array() functions but none of them is taking NUMA no

Re: [PATCH 1/3] fcoe: move fcoe_interface_remove() out of fcoe_interface_cleanup()

2017-09-11 Thread Johannes Thumshirn
With an updates patch description (see Lee's mail) Acked-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer,

Re: [PATCH 2/3] fcoe: separate out fcoe_vport_remove()

2017-09-11 Thread Johannes Thumshirn
Acked-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key

Re: [PATCH 3/3] fcoe: open-code fcoe_destroy_work() for NETDEV_UNREGISTER

2017-09-11 Thread Johannes Thumshirn
Acked-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key

[PATCH v5] qla1280: Don't allocate 512kb of host tags

2016-04-27 Thread Johannes Thumshirn
tags by default". Reduce can_queue to MAX_OUTSTANDING_COMMANDS (512) to solve the allocation error. Signed-off-by: Johannes Thumshirn Fixes: 64d513ac31b - "scsi: use host wide tags by default" Cc: sta...@vger.kernel.org # v4.4 Cc: Laura Abbott Cc: Michael Reed Reviewed-by: Laurence Ob

Re: [PATCH 03/10] aacraid: Start adapter after updating number of MSIX vectors

2016-04-27 Thread Johannes Thumshirn
a Aditya Renukunta > Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton H

Re: [PATCH 02/10] aacraid: Fix incorrectly named MACRO

2016-04-27 Thread Johannes Thumshirn
On Mon, Apr 25, 2016 at 11:31:03PM -0700, Raghava Aditya Renukunta wrote: > Suggested-by: Seymour, Shane M > Signed-off-by: Raghava Aditya Renukunta > Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh..

Re: [PATCH 05/10] aacraid: Disable MSI mode for series 6, 7, 8 cards

2016-04-27 Thread Johannes Thumshirn
On Mon, Apr 25, 2016 at 11:31:43PM -0700, Raghava Aditya Renukunta wrote: > As the firmware for series 6, 7, 8 cards does not support msi, remove it > in the driver > > Signed-off-by: Raghava Aditya Renukunta > Reviewed-by: Johannes Thumshirn -- Joh

Re: [PATCH 07/10] aacraid: Log firmware AIF messages

2016-04-27 Thread Johannes Thumshirn
the user. > > Signed-off-by: Raghava Aditya Renukunta > Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörf

Re: [PATCH 08/10] aacraid: Remove code to needlessly complete fib

2016-04-27 Thread Johannes Thumshirn
ot;)); > > -- > 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 -- Johannes Thumshirn

Re: [PATCH 09/10] aacraid: Fix for KDUMP driver hang

2016-04-27 Thread Johannes Thumshirn
nfo(&dev->pdev->dev, "Changed firmware to INTX mode"); > + } > + > if ((!aac_adapter_sync_cmd(dev, GET_ADAPTER_PROPERTIES, > 0, 0, 0, 0, 0, 0, > status+0, status+1, status+2, status+3, NULL)) && > > -- > T

Re: [PATCH 10/10] aacraid: Update driver version

2016-04-27 Thread Johannes Thumshirn
On Mon, Apr 25, 2016 at 11:32:44PM -0700, Raghava Aditya Renukunta wrote: > Signed-off-by: Raghava Aditya Renukunta > Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 740

Re: [PATCH 04/10] aacraid: Relinquish CPU during timeout wait

2016-04-27 Thread Johannes Thumshirn
quot; (which is > responsible for completing the command from being timed out) from > starting because it could not get the CPU. > > Fixed by replacing "cpu_relax()" call with "schedule()" > Cc: sta...@vger.kernel.org > > Signed-off-by: R

Re: [PATCH 06/10] aacraid: Fix for aac_command_thread hang

2016-04-27 Thread Johannes Thumshirn
Fixed by: Adding another kthread_should_stop() before schedule_timeout() > Cc: sta...@vger.kernel.org > > Signed-off-by: Raghava Aditya Renukunta > Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de

Re: [PATCH 08/10] aacraid: Remove code to needlessly complete fib

2016-04-28 Thread Johannes Thumshirn
hat was why > I used info, > It should not impact the flow of the driver. OK, I'm fine with the explanation Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE

Re: [PATCH 09/10] aacraid: Fix for KDUMP driver hang

2016-04-28 Thread Johannes Thumshirn
On Wed, Apr 27, 2016 at 04:49:50PM +, Raghava Aditya Renukunta wrote: > Hello Johannes, > > > -Original Message- > > From: Johannes Thumshirn [mailto:jthmsh...@suse.de] > > Sent: Wednesday, April 27, 2016 2:30 AM > > To: Raghava Aditya Renukunta > >

Re: [PATCH 1/7] hpsa: correct initialization order issue

2016-04-28 Thread Johannes Thumshirn
cared" messages and the driver to hang. > > This patch enables interrupts before the call to scsi_scan_host. > > Reported-by: Piotr Karbowski > Reviewed-by: Scott Teel > Reviewed-by: Kevin Barnett > Signed-off-by: Don Brace Reviewed-b

Re: [PATCH 2/7] hpsa: add sas_address to sysfs device attibute

2016-04-28 Thread Johannes Thumshirn
Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) Key fing

Re: [PATCH 3/7] hpsa: add timeouts for driver initiated commands

2016-04-28 Thread Johannes Thumshirn
On Wed, Apr 27, 2016 at 05:13:51PM -0500, Don Brace wrote: > faulty drives can cause the driver to hang during a > scan operation. > > Reviewed-by: Scott Teel > Reviewed-by: Kevin Barnett > Signed-off-by: Don Brace Reviewed-by: Johannes Thumshirn --

Re: [PATCH 4/7] hpsa: correct ioaccel state change operation

2016-04-28 Thread Johannes Thumshirn
On Wed, Apr 27, 2016 at 05:13:59PM -0500, Don Brace wrote: > offload_to_be_enabled also needs to be set to 0 during a state > change. > > Reviewed-by: Scott Teel > Reviewed-by: Kevin Barnett > Signed-off-by: Don Brace Reviewed-by: Johannes Thumshirn --

Re: [PATCH 5/7] hpsa: correct ioaccel2 error procecssing.

2016-04-28 Thread Johannes Thumshirn
wed-by: Kevin Barnett > Signed-off-by: Don Brace Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane

Re: [PATCH 6/7] hpsa: correct handling of HBA device removal

2016-04-28 Thread Johannes Thumshirn
t Teel > Reviewed-by: Kevin Barnett > Signed-off-by: Don Brace Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix

Re: [PATCH 7/7] hpsa: update driver version

2016-04-28 Thread Johannes Thumshirn
On Wed, Apr 27, 2016 at 05:14:26PM -0500, Don Brace wrote: > Reviewed-by: Gerry Morong > Signed-off-by: Don Brace Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 68

Re: [PATCH] libfc: replace 'rp_mutex' with 'rp_lock'

2016-05-09 Thread Johannes Thumshirn
r details cf https://lkml.org/lkml/2015/2/11/245 > > Signed-off-by: Hannes Reinecke Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5,

Re: [PATCH] scsi_lib: correctly retry failed zero length REQ_TYPE_FS commands

2016-05-17 Thread Johannes Thumshirn
king for blk_rq_bytes(req) == 0 && error in scsi_end_request()? > > /* > -- > 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/majo

Re: [PATCH] scsi: use spinlock instead of mutex for RCU-protected VPD inquiry data

2016-05-23 Thread Johannes Thumshirn
On Fri, May 20, 2016 at 08:56:14AM -0400, Ewan D. Milne wrote: > From: "Ewan D. Milne" > > A spinlock is sufficient for this purpose, and much smaller. > > Signed-off-by: Ewan D. Milne Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn

mpt3sas: memory allocation for firmware upgrade DMA memory question

2016-05-25 Thread Johannes Thumshirn
on Sep 17 00:00:00 2001 From: Johannes Thumshirn Date: Tue, 24 May 2016 17:25:59 +0200 Subject: [RFC PATCH] mpt3sas: Don't do atomic memory allocations for firmware update DMA Currently mpt3sas uses pci_alloc_consistent() to allocate memory for the DMA used to do firmware updates. pci_alloc_con

Re: [PATCH] bnx2fc: replace printk() with BNX2FC_IO_DBG()

2016-05-30 Thread Johannes Thumshirn
> Signed-off-by: Maurizio Lombardi Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Gra

Re: mpt3sas: memory allocation for firmware upgrade DMA memory question

2016-05-30 Thread Johannes Thumshirn
oughly , as I don’t see allocation of > several non-contiguous chunks of memory in below patch..., The question here is if it would be possible to replace the kmalloc() call with a vmalloc() (which is non-contiguous) and then pass the allocated memory to a sg list? Thanks, Johann

[PATCH 3/5] scsi: Use pci_(request|release)_mem_regions

2016-05-31 Thread Johannes Thumshirn
Now that we do have pci_request_mem_regions() and pci_release_mem_regions() at hand, use it in the lpfc driver. Suggested-by: Christoph Hellwig Signed-off-by: Johannes Thumshirn Cc: James Smart Cc: Dick Kennedy Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen&q

[PATCH 0/5] Introduce pci_(request|release)_(mem|io)_regions

2016-05-31 Thread Johannes Thumshirn
(pdev); Johannes Thumshirn (5): PCI: Add helpers to request/release memory and I/O regions NVMe: Use pci_(request|release)_mem_regions scsi: Use pci_(request|release)_mem_regions GenWQE: Use pci_(request|release)_mem_regions ethernet: Use pci_(request|release)_mem_regions drivers/misc/g

Re: [PATCH] scsi: Add QEMU CD-ROM to VPD Inquiry Blacklist

2016-05-31 Thread Johannes Thumshirn
:00/00:00:00:00:00/a0 Emask 0x2 (HSM violation) > [4.646685] ata2.00: status: { DRDY DRQ } > [4.648193] ata2: soft resetting link > > ... > > Fix this by suppressing VPD inquiry for this device. > > Reported-by: Jan Stancek > Tested-by: Jan Stance

Re: [PATCH 3/5] scsi: Use pci_(request|release)_mem_regions

2016-06-01 Thread Johannes Thumshirn
On Wed, Jun 01, 2016 at 12:59:29AM -0700, Christoph Hellwig wrote: > On Tue, May 31, 2016 at 02:05:11PM +0200, Johannes Thumshirn wrote: > > Now that we do have pci_request_mem_regions() and pci_release_mem_regions() > > at > > hand, use it in the lpfc driver. > > Th

[PATCH v2 3/6] lpfc: Use pci_(request|release)_mem_regions

2016-06-02 Thread Johannes Thumshirn
Now that we do have pci_request_mem_regions() and pci_release_mem_regions() at hand, use it in the lpfc driver. Suggested-by: Christoph Hellwig Signed-off-by: Johannes Thumshirn Cc: James Smart Cc: Dick Kennedy Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen&q

[PATCH v2 0/6] Introduce pci_(request|release)_(mem|io)_regions

2016-06-02 Thread Johannes Thumshirn
(pdev); Changes since v1: * Fixed indendatoin in pci.h patch to not cross the 80 chars boundary. * Split Ethernet patches into two, one for Atheros and one for Intel drivers. * Correctly named lpfc patch. * Converted init-path of lpfc driver as well. * Added Reviewed-by tags were appropriate. Joh

Re: [PATCH v2 3/6] lpfc: Use pci_(request|release)_mem_regions

2016-06-06 Thread Johannes Thumshirn
On Thu, Jun 02, 2016 at 07:57:43AM -0400, Dick Kennedy wrote: > Thanks Johannes, it looks good. Hi Dick, Can I use this as an Acked-by in the next submission? Thanks, Johannes > > On Thu, Jun 2, 2016 at 3:30 AM, Johannes Thumshirn > wrote: > > >

[PATCH v3 3/6] lpfc: Use pci_(request|release)_mem_regions

2016-06-07 Thread Johannes Thumshirn
Now that we do have pci_request_mem_regions() and pci_release_mem_regions() at hand, use it in the lpfc driver. Suggested-by: Christoph Hellwig Signed-off-by: Johannes Thumshirn Acked-by: Dick Kennedy Cc: James Smart Cc: Dick Kennedy Cc: "James E.J. Bottomley" Cc: "Martin K

[PATCH v3 0/6] Introduce pci_(request|release)_(mem|io)_regions

2016-06-07 Thread Johannes Thumshirn
atches into two, one for Atheros and one for Intel drivers. * Correctly named lpfc patch. * Converted init-path of lpfc driver as well. * Added Reviewed-by tags were appropriate. Johannes Thumshirn (6): PCI: Add helpers to request/release memory and I/O regions NVMe: Use pci_(request|release)_mem

Re: [PATCH v3 0/6] Introduce pci_(request|release)_(mem|io)_regions

2016-06-08 Thread Johannes Thumshirn
On Tue, Jun 07, 2016 at 09:44:00AM +0200, Johannes Thumshirn wrote: > The first patch in this series introduces the following 4 helper functions to > the PCI core: > > * pci_request_mem_regions() > * pci_request_io_regions() > * pci_release_mem_regions() > * pci_release_io

Re: [PATCH v2] scsi/fcoe: convert to kworker

2016-06-10 Thread Johannes Thumshirn
Bottomley" > Cc: "Martin K. Petersen" > Cc: Christoph Hellwig > Cc: fcoe-de...@open-fcoe.org > Cc: linux-scsi@vger.kernel.org > Signed-off-by: Sebastian Andrzej Siewior Tested in a Boot from FCoE scenario using a BCM57840. Tested-by: Johannes Thumshirn Reviewed

Re: [PATCH] 53c700: fix BUG on untagged commands

2016-06-14 Thread Johannes Thumshirn
uffices to fix this problem globally. > > Fixes: 64d513ac31b - "scsi: use host wide tags by default" > Cc: sta...@vger.kernel.org# 4.4+ > Reported-by: Helge Deller > Tested-by: Helge Deller > Signed-off-by: James Bottomley R

Re: [PATCHv2] libfc: Update rport reference counting

2016-06-14 Thread Johannes Thumshirn
#x27; when removing the > structure, and avoids the above race condition. > > Signed-off-by: Hannes Reinecke Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SU

Re: mpt3sas: memory allocation for firmware upgrade DMA memory question

2016-06-14 Thread Johannes Thumshirn
. > > We may need to test below patch thoroughly , as I don’t see allocation of > several non-contiguous chunks of memory in below patch..., > Any results? What about my quest whether we can allocate the buffers by vmalloc() and then map it in a SG list

[PATCH] lpfc: Fix possible NULL pointer dereference

2016-06-15 Thread Johannes Thumshirn
Check for the existance of pciob->vport before accessing it. Signed-off-by: Johannes Thumshirn --- drivers/scsi/lpfc/lpfc_sli.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 70edf21..1340

Re: [PATCH 1/2] scsi: lpfc: avoid harmless comparison warning

2016-06-16 Thread Johannes Thumshirn
x27;t clutter up build logs with this. Using a > separate inline function for it makes it clear to the compiler > that the comparison is necessary in the caller but still lets > it do the constant-folding. > > Signed-off-by: Arnd Bergmann Reviewed-by: Johannes Thumshirn -- Johan

Re: [PATCH V3 1/2] smartpqi: initial commit of Microsemi smartpqi driver

2016-06-17 Thread Johannes Thumshirn
ove readability here. something like static void pqi_complete_queue_group(struct pqi_queue_group *qg, struct pqi_device_t *device_in_reset) { unsigned int path; unsigned long flags; struct qpi_scsi_dev_t *dev; struct pqi_io_request *ior, *next;

Re: Reported regressions for 4.7 as of Sunday, 2016-06-19

2016-06-23 Thread Johannes Thumshirn
7;s CPU change, * then set it here. */ rsp->msix->cpuid = smp_processor_id(); ha->tgt.rspq_vector_cpuid = rsp->msix->cpuid; -- Johannes Thumshirn Storage jth

[PATCH] MAINTAINERS: Change FCoE maintainer

2016-06-23 Thread Johannes Thumshirn
Vasu is going to resign from his maintainer role and I'll take over. Signed-off-by: Johannes Thumshirn --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index e1b090f..70af8c0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4

[PATCH] snic: Fix use-after-free in case of a dma mapping error

2016-06-23 Thread Johannes Thumshirn
If there is a dma mapping error snic kfree()s buf right before printing it. Change the order to not accidently trip on memory that's not owned by us anymore. Signed-off-by: Johannes Thumshirn --- drivers/scsi/snic/snic_disc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

Re: [PATCH V3 1/2] smartpqi: initial commit of Microsemi smartpqi driver

2016-06-28 Thread Johannes Thumshirn
device = scmnd->device->hostdata; > > if (dev == device_in_reset) { > > set_host_byte(scmnd, DID_RESET); > > pqi_scsi_done(scmnd); > > li

Re: [PATCH v2] libfc: sanity check cpu number extracted from xid

2016-07-01 Thread Johannes Thumshirn
r(mp->pool, cpu); > spin_lock_bh(&pool->lock); > ep = fc_exch_ptr_get(pool, (xid - mp->min_xid) >> fc_cpu_order); > if (ep) { Acked-by: Johannes Thumshirn @Martin, do you queue the libfc patches as well? -- Johannes Thumshirn

Re: [PATCH 5/6] fcoe: implement FIP VLAN responder

2016-07-04 Thread Johannes Thumshirn
me->mac.fd_mac, fip->ctl_src_addr, ETH_ALEN); > + > + frame->vlan.fd_desc.fip_dtype = FIP_DT_VLAN; > + frame->vlan.fd_desc.fip_dlen = sizeof(frame->vlan) / FIP_BPW; > + put_unaligned_be16(fip->lp->vlan, &frame->vlan.fd_vlan); > + &g

Re: [PATCH 1/6] fc_fip: Update to latest FC-BB-6 draft

2016-07-04 Thread Johannes Thumshirn
On Mon, Jul 04, 2016 at 10:29:18AM +0200, Hannes Reinecke wrote: > Update to latest FC-BB-6 draft to include FIP VN2VN VLAN notifications > and additional flags. > > Signed-off-by: Hannes Reinecke Acked-by: Johannes Thumshirn -- Johann

Re: [PATCH 2/6] fcoe: use enum for fip_mode

2016-07-04 Thread Johannes Thumshirn
On Mon, Jul 04, 2016 at 10:29:19AM +0200, Hannes Reinecke wrote: > The FIP mode is independent on the FIP state machine, so use a > separate enum for that instead of overloading it with state > machine values. > > Signed-off-by: Hannes Reinecke Acked-by: Johannes Thumshirn

Re: [PATCH 3/6] fcoe: fcoe->realdev is always set

2016-07-04 Thread Johannes Thumshirn
On Mon, Jul 04, 2016 at 10:29:20AM +0200, Hannes Reinecke wrote: > '->realdev' is always set, so this check is pointless. > > Signed-off-by: Hannes Reinecke Acked-by: Johannes Thumshirn -- Johannes Thumshirn Stor

Re: [PATCH 4/6] fcoe: Update multicast addresses on FIP mode change

2016-07-04 Thread Johannes Thumshirn
On Mon, Jul 04, 2016 at 10:29:21AM +0200, Hannes Reinecke wrote: > When the FIP mode is changed we need to update the multicast > addresses to ensure we get the correct frames. > > Signed-off-by: Hannes Reinecke Acked-by: Johannes Thumshirn -- Johann

Re: [PATCH 6/6] fcoe: Use default VLAN for FIP VLAN discovery

2016-07-04 Thread Johannes Thumshirn
l of the duplicate fip_frame struct defition: Acked-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard,

Re: [PATCH] lpfc: Fix possible NULL pointer dereference

2016-07-05 Thread Johannes Thumshirn
On Tue, Jun 28, 2016 at 01:28:19PM -0700, Tyrel Datwyler wrote: > On 06/15/2016 06:00 AM, Johannes Thumshirn wrote: > > Check for the existance of pciob->vport before accessing it. > > piocb mispelled. Oops > > > > > Signed-off-by: Johannes Thumshirn > >

Re: [PATCH] qla2xxx: Fix NULL pointer deref in QLA interrupt

2016-07-06 Thread Johannes Thumshirn
ed ISP2432 > (0x2, 0x3). > [3.485804] qla2xxx [:13:00.0]-0037:0: Falling back-to MSI mode -258. > [3.890145] scsi host0: qla2xxx > [3.891956] qla2xxx [:13:00.0]-00fb:0: QLogic QLE2460 - PCI-Express > Single Channel 4Gb Fibre Channel HBA. > [3.894207] qla2xxx [0

[PATCH] qla2xxx: setup data needed in ISR before setting up the ISR

2016-07-06 Thread Johannes Thumshirn
six field. A possible case for such a race would be in the kdump case when the HBA's IRQs are still enabled but the driver is undergoing a new initialisation and thus is not aware of already activated IRQs in the HBA. Signed-off-by: Johannes Thumshirn --- drivers/scsi/qla2xxx/qla_isr.c | 8 +++

[PATCH trivial] fcoe: use defines from ethtool for 20Gbit and 40Gbit speeds

2016-07-07 Thread Johannes Thumshirn
Use defines from ethtool for 20Gbit and 40Gbit speeds instead of magic numbers. Signed-off-by: Johannes Thumshirn --- drivers/scsi/fcoe/fcoe_transport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe

<    5   6   7   8   9   10   11   12   13   14   >