Thanks Martin,
My system date was wrong.
I will correct the date when I send V1 for this patch set.
Regards,
Viswas G
-Original Message-
From: Martin K. Petersen [mailto:martin.peter...@oracle.com]
Sent: Saturday, August 26, 2017 3:18 AM
To: Viswas G
Cc:
Arnd,
> This is an interesting regression with gcc-8, showing a harmless
> warning for correct code:
Applied to 4.14/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
The ioctl DK_CAPI_VLUN_RESIZE can fail if the allocated vlun size is
reduced from almost maximum capacity and then increased again.
The shrink_lxt() routine is currently using the SISL_ASTATUS_MASK to mask
the higher 48 bits of the lxt entry. This is unnecessary and incorrect as
it uses a mask
This patch series contains miscellaneous fixes. The first two address
issues that were identified by smatch and the last patch fixes a regression
introduced by Commit 565180723294 ("scsi: cxlflash: SISlite updates to
support 4 ports").
This series is intended for 4.14 and is bisectable.
Matthew
https://bugzilla.kernel.org/show_bug.cgi?id=196707
Andreas Gerlich (kernel@yaze-ag.de) changed:
What|Removed |Added
Kernel Version|4.12.8 |4.12.9
--
You
Jonathan,
> The kerneldoc comment for scsi_initialize_rq() neglected to document
> the "rq" parameter, leading to this docs build warning:
Applied to 4.14/scsi-queue. Tweaked the wording based on Bart's
comments. Thank you!
--
Martin K. Petersen Oracle Linux Engineering
https://bugzilla.kernel.org/show_bug.cgi?id=196707
--- Comment #3 from Andreas Gerlich (kernel@yaze-ag.de) ---
Created attachment 258111
--> https://bugzilla.kernel.org/attachment.cgi?id=258111=edit
Kernel_crash_(4.12.9)_with_4_drives_at_the_ICP9087MA
Hi,
I tried the actual stable Kernel
Bhumika,
> Make these const as they are only stored in the type field of a device
> structure, which is const.
Applied to 4.14/scsi-queue. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
weiping,
> gd->minors has been set when call alloc_disk() in sd_probe.
Applied to 4.14/scsi-queue. Thank you!
--
Martin K. Petersen Oracle Linux Engineering
Hannes,
> Hi all, finally here's the patchset to revamp the SCSI EH callback
> arguments which I promised to do (some years ago ...).
Applied to 4.14/scsi-queue. Thank you!
--
Martin K. Petersen Oracle Linux Engineering
Bart,
> The patches in this series fall into three categories:
> - One patch renames a few functions to make it clear whether these
> are used by the legacy SCSI code path or by the new scsi-mq code.
> - Two patches are related to using blk_mq_rq_to_pdu() instead of
> struct request.special.
This was detected by building with W=1.
Signed-off-by: Bart Van Assche
Reviewed-by: Christoph Hellwig
Reviewed-by: Hannes Reinecke
Cc: Johannes Thumshirn
---
drivers/scsi/libsas/sas_scsi_host.c | 3 ---
1 file changed, 3
Check whether memory allocation succeeded before dereferencing
the pointer to the allocated memory.
Signed-off-by: Bart Van Assche
Reviewed-by: Christoph Hellwig
Reviewed-by: Hannes Reinecke
Cc: Johannes Thumshirn
---
This patch avoids that gcc reports the following warning when
building with W=1:
drivers/scsi/scsi_debug.c:2264:15: warning: variable ?pcontrol? set but not
used [-Wunused-but-set-variable]
Signed-off-by: Bart Van Assche
Reviewed-by: Christoph Hellwig
Avoid that sparse reports the following:
drivers/scsi/sg.c:1114:41: warning: incorrect type in argument 5 (different
address spaces)
drivers/scsi/sg.c:1114:41:expected char [noderef] *arg
drivers/scsi/sg.c:1114:41:got char *
This patch does not change any functionality.
Signed-off-by:
This patch avoids that gcc reports the following warning when
building with W=1:
drivers/scsi/sd.c:315:10: warning: comparison of unsigned expression >= 0 is
always true [-Wtype-limits]
if (val >= 0 && val <= T10_PI_TYPE3_PROTECTION)
Signed-off-by: Bart Van Assche
This patch avoids that gcc reports the following warning when
building with W=1:
drivers/scsi/iscsi_tcp.c:166:24: warning: variable ?session? set but not used
[-Wunused-but-set-variable]
Signed-off-by: Bart Van Assche
Reviewed-by: Christoph Hellwig
Avoid that the following compiler warning is reported when building
with W=1:
drivers/scsi/scsi_transport_srp.c:92:19: warning: comparison is always false
due to limited range of data type [-Wtype-limits]
Signed-off-by: Bart Van Assche
Reviewed-by: Christoph Hellwig
Before scsi_prep_fn() calls the ULP .init_command() callback
function it stores the SCSI command pointer in request.special.
This means that the SCpnt = rq->special assignments in the sd
and sr drivers assign a pointer to itself. Hence convert these
two assignment statements into warning
This patch avoids that smatch reports the following warning:
drivers/scsi/scsi_sysfs.c:117: check_set() error: strncmp() '"-"' too small (2
vs 20)
Signed-off-by: Bart Van Assche
Reviewed-by: Christoph Hellwig
Reviewed-by: Hannes Reinecke
Cc:
Rename several functions to make it easy to see which queue type a
function is intended for.
Signed-off-by: Bart Van Assche
Cc: Christoph Hellwig
Cc: Hannes Reinecke
Cc: Johannes Thumshirn
---
drivers/scsi/scsi_lib.c
This patch avoids that smatch reports the following:
drivers/scsi/libiscsi.c:1081: iscsi_handle_reject() warn: inconsistent indenting
Signed-off-by: Bart Van Assche
Reviewed-by: Christoph Hellwig
Reviewed-by: Hannes Reinecke
Cc: Johannes
Since commit e9c787e65c0c ("scsi: allocate scsi_cmnd structures as
part of struct request") struct request and struct scsi_cmnd are
adjacent. This means that there is now an alternative to reading
req->special to convert a pointer to a prepared request into a
SCSI command pointer, namely by using
This patch avoids that smatch reports the following:
drivers/scsi/scsi_sysfs.c:506 scsi_bus_uevent() warn: argument 3 to %02x
specifier has type 'char'
drivers/scsi/scsi_sysfs.c:872 sdev_show_modalias() warn: argument 4 to %02x
specifier has type 'char'
Signed-off-by: Bart Van Assche
The conclusion of a recent discussion about the new warnings
reported by gcc 7 is that the new warnings reported when building
with W=1 should be suppressed. However, gcc 7 still warns about
fall-through in switch statements when building with W=1. Suppress
these warnings by annotating the SCSI
This patch avoids that smatch reports the following:
drivers/scsi/sd.c:3540: sd_suspend_common() warn: inconsistent indenting
Signed-off-by: Bart Van Assche
Reviewed-by: Christoph Hellwig
Reviewed-by: Hannes Reinecke
Cc: Johannes Thumshirn
Commit e9c787e65c0c ("scsi: allocate scsi_cmnd structures as part of
struct request") removed the scsi_get_command() function. Hence also
remove the declaration of that function.
Signed-off-by: Bart Van Assche
Reviewed-by: Christoph Hellwig
Cc: Hannes
Hello Martin,
The patches in this series fall into three categories:
- One patch renames a few functions to make it clear whether these
are used by the legacy SCSI code path or by the new scsi-mq code.
- Two patches are related to using blk_mq_rq_to_pdu() instead of
struct request.special.
-
This patch does not change any functionality.
Signed-off-by: Bart Van Assche
Cc: Christoph Hellwig
Cc: Hannes Reinecke
Cc: Johannes Thumshirn
Cc: Shane M Seymour
---
drivers/scsi/scsi.c | 96
Introduce struct scsi_vpd for the VPD page length, data and the
RCU head that will be used to free the VPD data. Use kfree_rcu()
instead of kfree() to free VPD data. Only annotate pointers that
are shared across threads with __rcu. Use rcu_dereference() when
dereferencing an RCU pointer. This
From: Markus Elfring
Date: Fri, 25 Aug 2017 22:06:59 +0200
Fix a word in this description.
Signed-off-by: Markus Elfring
---
drivers/scsi/sg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/sg.c
From: Markus Elfring
Date: Fri, 25 Aug 2017 21:55:14 +0200
Replace the specification of a data type by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style
From: Markus Elfring
Date: Fri, 25 Aug 2017 21:48:11 +0200
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Fri, 25 Aug 2017 22:20:02 +0200
A few update suggestions were taken into account
from static source code analysis.
Markus Elfring (3):
Delete an error message for a failed memory allocation in sg_alloc()
Improve a size determination
On Fri, 2017-08-25 at 05:58 +, Seymour, Shane M wrote:
> > From: Bart Van Assche [mailto:bart.vanass...@wdc.com]
> > [ ... ]
> > My understanding of the SCSI VPD code is as follows:
> > * rcu_read_lock() / rcu_read_unlock() is used to prevent that another thread
> > updates a VPD buffer
From: Markus Elfring
Date: Fri, 25 Aug 2017 21:34:44 +0200
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Fri, 25 Aug 2017 21:17:02 +0200
Omit an extra message for a memory allocation failure in these functions.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
From: Markus Elfring
Date: Fri, 25 Aug 2017 20:54:16 +0200
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring
---
Corrected the value defined for LINKRATE_60 (6 Gig).
Signed-off-by: Raj Dinesh
Signed-off-by: Viswas G
---
drivers/scsi/pm8001/pm80xx_hwi.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/pm8001/pm80xx_hwi.h
Added support to read ILA version and inactive firmware version
from MPI configuration table and export through sysfs.
Signed-off-by: Deepak Ukey
Signed-off-by: Viswas G
---
drivers/scsi/pm8001/pm8001_ctl.c | 55
when there's an error in 'ncq mode' the host has to read the ncq
error log (10h) to clear the error state. however, the ccb that
is setup for doing this doesn't setup the ccb so that the
previous state is cleared. if the ccb was previously used for an IO
n_elems is set and pm8001_ccb_task_free()
Different SAS addresses are assigned for each set of phys.
Signed-off-by: Viswas G
---
drivers/scsi/pm8001/pm8001_init.c | 13 +
drivers/scsi/pm8001/pm80xx_hwi.c | 3 +--
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git
Modified SATA abort handling with following steps:
1) Set device state as recovery.
2) Send phy reset.
3) Wait for reset completion.
4) After successful reset, abort all IO's to the device.
5) After aborting all IO's to device, set device state as operational.
Signed-off-by: Deepak Ukey
This patch set include some big fixes and enhancement for pm80xx driver.
Viswas G (6):
pm80xx : redefine sas_identify_frame structure
pm80xx: ILA and inactive firmware version through sysfs
pm80xx : Different SAS addresses for phys.
pm80xx : Corrected SATA abort handling.
pm80xx :
sas_identify structure defined by pm80xx doesn't have CRC field.
So added a new sas_identify structure without CRC.
Signed-off-by: Raj Dinesh
Signed-off-by: Viswas G
---
drivers/scsi/pm8001/pm8001_hwi.h | 2 +-
drivers/scsi/pm8001/pm8001_sas.h
On Fri, 2017-08-25 at 17:49 +0200, Hannes Reinecke wrote:
> On 08/23/2017 11:39 PM, Bart Van Assche wrote:
> > diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
> > index 3d38c6d463b8..5bb15e698969 100644
> > --- a/drivers/scsi/scsi.c
> > +++ b/drivers/scsi/scsi.c
> > @@ -426,7 +426,7 @@ void
On Fri, Aug 25, 2017 at 03:38:48PM +, Bart Van Assche wrote:
> On Fri, 2017-08-25 at 17:35 +0200, Christoph Hellwig wrote:
> > I looked a bit more at the history of this, and it seems like the only
> > issue with commit 17d5363b83f8 here is using the blk_status_t type for the
> > ret variable.
This looks good to me:
Reviewed-by: Christoph Hellwig
On 08/23/2017 11:40 PM, Bart Van Assche wrote:
> This patch avoids that gcc reports the following warning when
> building with W=1:
>
> drivers/scsi/scsi_debug.c:2264:15: warning: variable ?pcontrol? set but not
> used [-Wunused-but-set-variable]
>
> Signed-off-by: Bart Van Assche
On 08/23/2017 11:40 PM, Bart Van Assche wrote:
> This patch avoids that gcc reports the following warning when
> building with W=1:
>
> drivers/scsi/iscsi_tcp.c:166:24: warning: variable ?session? set but not used
> [-Wunused-but-set-variable]
>
> Signed-off-by: Bart Van Assche
On 08/23/2017 11:40 PM, Bart Van Assche wrote:
> Check whether memory allocation succeeded before dereferencing
> the pointer to the allocated memory.
>
> Signed-off-by: Bart Van Assche
> Cc: Hannes Reinecke
> Cc: Christoph Hellwig
> Cc:
On 08/23/2017 11:40 PM, Bart Van Assche wrote:
> Signed-off-by: Bart Van Assche
> Cc: Hannes Reinecke
> Cc: Christoph Hellwig
> Cc: Johannes Thumshirn
> ---
> drivers/scsi/libsas/sas_ata.c | 1 +
> 1 file changed, 1
On 08/23/2017 11:40 PM, Bart Van Assche wrote:
> This was detected by building with W=1.
>
> Signed-off-by: Bart Van Assche
> Cc: Christoph Hellwig
> Cc: Hannes Reinecke
> Cc: Johannes Thumshirn
> ---
>
On 08/23/2017 11:40 PM, Bart Van Assche wrote:
> This patch avoids that smatch reports the following:
>
> drivers/scsi/libiscsi.c:1081: iscsi_handle_reject() warn: inconsistent
> indenting
>
> Signed-off-by: Bart Van Assche
> Cc: Christoph Hellwig
> Cc:
On 08/23/2017 11:40 PM, Bart Van Assche wrote:
> Avoid that sparse reports the following:
>
> drivers/scsi/sg.c:1114:41: warning: incorrect type in argument 5 (different
> address spaces)
> drivers/scsi/sg.c:1114:41:expected char [noderef] *arg
> drivers/scsi/sg.c:1114:41:got char *
>
>
On 08/23/2017 11:40 PM, Bart Van Assche wrote:
> This patch avoids that gcc reports the following warning when
> building with W=1:
>
> drivers/scsi/sd.c:315:10: warning: comparison of unsigned expression >= 0 is
> always true [-Wtype-limits]
> if (val >= 0 && val <= T10_PI_TYPE3_PROTECTION)
>
On 08/23/2017 11:40 PM, Bart Van Assche wrote:
> This patch avoids that smatch reports the following:
>
> drivers/scsi/sd.c:3540: sd_suspend_common() warn: inconsistent indenting
>
> Signed-off-by: Bart Van Assche
> Cc: Christoph Hellwig
> Cc: Hannes
On 08/23/2017 11:39 PM, Bart Van Assche wrote:
> Only annotate pointers that are shared across threads with __rcu.
> Use rcu_dereference() when dereferencing an RCU pointer. Protect
> also the RCU pointer dereferences when freeing RCU pointers. This
> patch suppresses about twenty sparse
On 08/23/2017 11:39 PM, Bart Van Assche wrote:
> Document which queue type a function is intended for if this is not
> easy to derive from the function name.
>
> Signed-off-by: Bart Van Assche
> Cc: Hannes Reinecke
> Cc: Christoph Hellwig
On 08/23/2017 11:39 PM, Bart Van Assche wrote:
> This patch avoids that smatch reports the following warning:
>
> drivers/scsi/scsi_sysfs.c:117: check_set() error: strncmp() '"-"' too small
> (2 vs 20)
>
> Signed-off-by: Bart Van Assche
> Cc: Christoph Hellwig
On Fri, 2017-08-25 at 17:29 +0200, h...@lst.de wrote:
> On Thu, Aug 24, 2017 at 04:27:07PM +, Bart Van Assche wrote:
> >
> > The purpose of that check is to avoid that dev_loss_tmo * HZ can overflow.
> > That check is only needed on 32-bit systems since only on these systems
> > sizeof(long)
On Fri, 2017-08-25 at 17:35 +0200, Christoph Hellwig wrote:
> I looked a bit more at the history of this, and it seems like the only
> issue with commit 17d5363b83f8 here is using the blk_status_t type for the
> ret variable. Even before that the negative error code leaked out
> to userspace. We
The SAS transport class will do the right thing and not register the BSG
node if now smp_handler method is present.
Signed-off-by: Christoph Hellwig
---
drivers/scsi/smartpqi/smartpqi_sas_transport.c | 9 -
1 file changed, 9 deletions(-)
diff --git
Simplify the SMP passthrough code by switching it to the generic bsg-lib
helpers that abstract away the details of the request code, and gets drivers
out of seeing struct scsi_request.
For the libsas host SMP code there is a small behavior difference in that
we now always clear the residual len
The SAS code will need it. Also mark the name argument const to match
bsg_register_queue.
Signed-off-by: Christoph Hellwig
---
block/bsg-lib.c | 7 ---
drivers/scsi/scsi_transport_fc.c| 6 --
drivers/scsi/scsi_transport_iscsi.c | 2 +-
Hi Chaitra,
given that you have a SAS SMP passthrough test case and the code
seems currently broken can you please try the patches below that
rewrite the code? Chances are it still doesn't work, but I could
help you to debug it.
The patches are against the latest block for-linus tree with
a
The SAS transport class will do the right thing and not register the BSG
node if now smp_handler method is present.
Signed-off-by: Christoph Hellwig
---
drivers/scsi/hpsa.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index
Hi Bart,
I looked a bit more at the history of this, and it seems like the only
issue with commit 17d5363b83f8 here is using the blk_status_t type for the
ret variable. Even before that the negative error code leaked out
to userspace. We can try to just turn that back into an int, but I'll
also
On Thu, Aug 24, 2017 at 04:27:07PM +, Bart Van Assche wrote:
>
> The purpose of that check is to avoid that dev_loss_tmo * HZ can overflow.
> That check is only needed on 32-bit systems since only on these systems
> sizeof(long) == sizeof(int). How about changing the type of the dev_loss_tmo
On Sat, Aug 19, 2017 at 01:52:13PM +0530, Bhumika Goyal wrote:
> Make these const as they are only stored in the type field of a device
> structure, which is const.
> Done using Coccinelle.
I can't apply this, it's missing your s-o-b line. You can just replay with
that.
Thanks, Daniel
> ---
>
The function returns '0' if successful; with the original comment
the function doesn't have a way to indicate success ...
Signed-off-by: Hannes Reinecke
Reviewed-by: Bart van Assche
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
The bus reset function really is a host reset, so move it to
eh_host_reset_handler().
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/fdomain.c | 6 +++---
Hi all,
finally here's the patchset to revamp the SCSI EH callback arguments
which I promised to do (some years ago ...).
The overall idea is to match the scope of the eh_XXX callbacks with
the appropriate argument, eg eh_device_reset_handler() should have a
scsi device as argument etc.
Relying
command abort already returns FAILED, which will then be escalated
to a host reset. So no need to call host_reset directly.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
The bus reset function is just a wrapper calling host reset
under the host lock. So move taking of the host lock into
the host reset function and drop bus reset.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
The bus reset function really is a host reset, so move it to
eh_host_reset_handler().
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/qlogicpti.c | 5 ++---
1 file changed, 2
The Highpoint driver only has one reset function, and that is
a host reset. So stop pretending we're doing anything else.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/hptiop.c |
The bus reset handler is calling I_T Nexus reset, which logically
is a target reset as it need to specify both the initiator and
the target.
So move it to target reset.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
The bus_reset handler is really a device reset, so move it
to eh_device_reset_handler().
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/usb/storage/uas.c | 4 ++--
1 file changed, 2
qedf has a host reset handler, but as the bus reset handler is
a stub always returning SUCCESS the host reset is never invoked.
So drop the bus reset handler.
Signed-off-by: Hannes Reinecke
Tested-by: Chad Dupuis
---
drivers/scsi/qedf/qedf_main.c | 11
From: Hannes Reinecke
bus reset is a host reset without nsp32hw_init(), and will always
return SUCCESS, thus disabling the use of host reset.
So drop bus reset in favour of host reset.
Signed-off-by: Hannes Reinecke
Reviewed-by: Johannes Thumshirn
bus_reset and host_reset are the same functions, so drop bus_reset.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/ppa.c | 1 -
1 file changed, 1 deletion(-)
diff --git
The bus reset handler really is a host reset, so move it to
eh_bus_reset_handler.
Signed-off-by: Hannes Reinecke
Acked-by: Finn Thain
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
When calling host reset we're resetting all ports anyway, so
there is no point in waiting for the ports to become unblocked.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
Function is a stub, so can as well be dropped.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/staging/rts5208/rtsx.c | 11 ---
1 file changed, 11 deletions(-)
diff --git
From: Hannes Reinecke
The driver has both a bus and a host reset, where the host reset
does a bus reset followed by an attempt to reset the chip registes
to a default state.
However, as the bus reset always returned SUCCESS the host reset
was never called, so the functionality of
megaraid_mbox only has one reset function, and that is a host reset.
So drop the duplicate bus reset and device reset functions.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
There's no need to keep the private data for a device in a separate
list; better to store it in ->hostdata and do away with the additional
list.
Signed-off-by: Hannes Reinecke
Reviewed-by: David Kershner
---
Just displaying some different information; drop it.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/eata.c | 9 +
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git
bus reset always returns SUCCESS, meaning host reset was never
tested. At the same time the only difference to the HBA is a
missing call to NCR_700_chip_reset().
So add the missing call to bus reset, drop host reset, and move
bus reset to host reset.
Signed-off-by: Hannes Reinecke
When we're resetting the host any remote port states will
be reset anyway, so it's pointless to wait for dev_loss_tmo
during host reset.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
From: Hannes Reinecke
The bus reset handler is really a host reset.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/pcmcia/qlogic_stub.c | 4 ++--
The bus reset function is really a host reset, so move it to
eh_host_reset_handler.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/arm/acornscsi.c | 11 ++-
1 file changed,
host_reset and bus_reset is the same function, so drop bus reset.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/imm.c | 1 -
1 file changed, 1 deletion(-)
diff --git
Never used anywhere.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
drivers/scsi/bnx2fc/bnx2fc.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/bnx2fc/bnx2fc.h
The bus reset handler is just calling target reset on all targets,
which is exactly what SCSI EH will be doing anyway.
So move the bus reset function to target reset and drop the loop.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by:
When we're resetting the host any remote port states will
be reset anyway, so it's pointless to wait for dev_loss_tmo
during host reset.
Signed-off-by: Hannes Reinecke
Reviewed-by: Christoph Hellwig
Reviewed-by: Johannes Thumshirn
---
The > here should be >= or we end up reading one element beyond the end
of the qedi->itt_map[] array. The qedi->itt_map[] array is allocated in
qedi_alloc_itt().
Fixes: ace7f46ba5fd ("scsi: qedi: Add QLogic FastLinQ offload iSCSI driver
framework.")
Signed-off-by: Dan Carpenter
On 08/19/2017 10:41 PM, Meelis Roos wrote:
> Hello, I just tried Linux with the latest kernel (4.13-rc5+git) on a HP
> DL360 G6 with HP branded ISP2432 HBA. The driver mentions unsupported
> model of the card:
>
> [3.868589] scsi host1: qla2xxx
> [3.871696] qla2xxx
On 08/24/2017 06:06 PM, Bart Van Assche wrote:
> On Thu, 2017-08-24 at 14:21 +0200, Hannes Reinecke wrote:
>> On 08/23/2017 08:25 PM, Bart Van Assche wrote:
>>> sas_function_template.smp_handler implementations either return
>>> 0 or a Unix error code. Convert that error code into a SCSI
>>>
1 - 100 of 101 matches
Mail list logo