Re: [PATCH v2 6/6] qla2xxx: Update Driver version to 10.00.00.00-k

2017-06-21 Thread Hannes Reinecke
On 06/21/2017 10:48 PM, Madhani, Himanshu wrote: > From: Himanshu Madhani > > Signed-off-by: Himanshu Madhani > Reviewed-by: Johannes Thumshirn > Reviewed-by: James Smart > --- > drivers/scsi/qla2xxx/qla_version.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a

Re: [PATCH v2 5/6] qla2xxx: Use FC-NMVe FC4 type for FDMI registration

2017-06-21 Thread Hannes Reinecke
On 06/21/2017 10:48 PM, Madhani, Himanshu wrote: > From: Duane Grigsby > > Signed-off-by: Duane Grigsby > Signed-off-by: Darren Trapp > Signed-off-by: Anil Gurumurthy > Signed-off-by: Giridhar Malavali > Signed-off-by: Himanshu Madhani > Reviewed-by: Johannes Thumshirn > Reviewed-by: James

Re: [PATCH v2 4/6] qla2xxx: Send FC4 type NVMe to the management server

2017-06-21 Thread Hannes Reinecke
On 06/21/2017 10:48 PM, Madhani, Himanshu wrote: > From: Duane Grigsby > > This patch adds switch command support for FC-4 type of FC-NVMe (0x28) > for resgistering HBA port to the management server. RFT_ID command is > used to register FC-4 type of 0x28 and RFF_ID is used to register > FC-4 feat

Re: [PATCH v2 3/6] qla2xxx: Add FC-NVMe F/W initialization and transport registration

2017-06-21 Thread Hannes Reinecke
On 06/21/2017 10:48 PM, Madhani, Himanshu wrote: > From: Duane Grigsby > > This code provides the interfaces to register remote and local ports > of FC4 type 0x28 with the FC-NVMe transport and transports the > requests (FC-NVMe FC link services and FC-NVMe commands IUs) to the > fabric. It also

Re: [PATCH v2 2/6] qla2xxx: Add FC-NVMe command handling

2017-06-21 Thread Hannes Reinecke
On 06/21/2017 10:48 PM, Madhani, Himanshu wrote: > From: Duane Grigsby > > This patch adds logic to handle the completion of > FC-NVMe commands and creates a sub-command in the SRB > command structure to manage NVMe commands. > > Signed-off-by: Darren Trapp > Signed-off-by: Duane Grigsby > Si

Re: [PATCH v2 1/6] qla2xxx: Add FC-NVMe port discovery and PRLI handling

2017-06-21 Thread Hannes Reinecke
On 06/21/2017 10:48 PM, Madhani, Himanshu wrote: > From: Duane Grigsby > > Added logic to change the login process into an optional PRIL > step for FC-NVMe ports as a separate operation, such that we can > change type to 0x28 (NVMe). > > Currently, the driver performs the PLOGI/PRLI together as

[PATCH 17/17] cxlflash: Update TMF command processing

2017-06-21 Thread Uma Krishnan
From: "Matthew R. Ochs" Currently, the SCSI command presented to the device reset handler is used to send TMFs to the AFU for a device reset. This behavior is incorrect as the command presented is an actual command and not a special notification. As such, it should only be used for reference and

[PATCH 16/17] cxlflash: Remove zeroing of private command data

2017-06-21 Thread Uma Krishnan
From: "Matthew R. Ochs" The SCSI core now zeroes the per-command private data area prior to calling into the LLD. Replace the clearing operation that takes place when the private command data reference is obtained with a routine that performs common initializations. The zeroing that takes place i

[PATCH 15/17] cxlflash: Support WS16 unmap

2017-06-21 Thread Uma Krishnan
From: "Matthew R. Ochs" The cxlflash driver supports performing a write-same16 to scrub virtual luns when they are released by a user. To date, AFUs for adapters that are supported by cxlflash do not have the capability to unmap as part of the WS operation. This can lead to fragmented flash devic

[PATCH 14/17] cxlflash: Support AFU debug

2017-06-21 Thread Uma Krishnan
From: "Matthew R. Ochs" Adopt the SISLite AFU debug capability to allow future CXL Flash adapters the ability to better debug AFU issues. Update the SISLite header with the changes necessary to support AFU debug operations and create a host ioctl interface for user debug software. Also update the

[PATCH 13/17] cxlflash: Support LUN provisioning

2017-06-21 Thread Uma Krishnan
From: "Matthew R. Ochs" Adopt the SISLite AFU LUN provisioning capability to allow future CXL Flash adapters the ability to better manage storage. Update the SISLite header with the changes necessary to support LUN provision operations and create a host ioctl interface for user LUN management sof

[PATCH 12/17] cxlflash: Refactor AFU capability checking

2017-06-21 Thread Uma Krishnan
From: "Matthew R. Ochs" The existing AFU capability checking infrastructure is closely tied to the command mode capability bits. In order to support new capabilities, refactor the existing infrastructure to be more generic. Signed-off-by: Matthew R. Ochs Signed-off-by: Uma Krishnan --- driver

[PATCH 11/17] cxlflash: Introduce host ioctl support

2017-06-21 Thread Uma Krishnan
From: "Matthew R. Ochs" As staging for supporting various host management functions, add a host ioctl infrastructure to filter ioctl commands and perform operations that are common for all host ioctls. Also update the cxlflash documentation to create a new section for documenting host ioctls. Si

[PATCH 10/17] cxlflash: Separate AFU internal command handling from AFU sync specifics

2017-06-21 Thread Uma Krishnan
From: "Matthew R. Ochs" To date the only supported internal AFU command is AFU sync. The logic to send an internal AFU command is embedded in the specific AFU sync handler and would need to be duplicated for new internal AFU commands. In order to support new internal AFU commands, separate code

[PATCH 07/17] cxlflash: Flush pending commands in cleanup path

2017-06-21 Thread Uma Krishnan
When the AFU is reset in an error path, pending scsi commands can be silently dropped without completion or a formal abort. This puts the onus on the cxlflash driver to notify mid-layer and indicating that the command can be retried. Once the card has been quiesced, the hardware send queue lock is

[PATCH 09/17] cxlflash: Create character device to provide host management interface

2017-06-21 Thread Uma Krishnan
The cxlflash driver currently lacks host management interface. Future devices supported by cxlflash will provide a variety of host-wide management functions. Examples include LUN provisioning, hardware debug support, and firmware download. In order to provide a way to manage the device, a characte

[PATCH 08/17] cxlflash: Add scsi command abort handler

2017-06-21 Thread Uma Krishnan
To date, CXL flash devices do not support a single command abort operation. Instead, the SISLite specification provides a context reset operation to cleanup all pending commands for a given context. When a context reset is successful, it is guaranteed that the AFU has aborted all currently pending

[PATCH 06/17] cxlflash: Track pending scsi commands in each hardware queue

2017-06-21 Thread Uma Krishnan
Currently, there is no book keeping of the pending scsi commands in the cxlflash driver. This lack of tracking in-flight requests is too restrictive and requires a heavy-hammer reset each time an adapter error is encountered. Additionally, it does not allow for commands to be properly retried. In

[PATCH 04/17] cxlflash: Schedule asynchronous reset of the host

2017-06-21 Thread Uma Krishnan
A context reset failure indicates the AFU is in a bad state. At present, when such a situation occurs, no further action is taken. This leaves the adapter in an unusable state with no recoverable actions. To avoid this situation, context reset failures will be escalated to a host reset operation.

[PATCH 05/17] cxlflash: Handle AFU sync failures

2017-06-21 Thread Uma Krishnan
AFU sync operations are not currently evaluated for failure. This is acceptable for paths where there is not a dependency on the AFU being consistent with the host. Examples include link reset events and LUN cleanup operations. On paths where there is a dependency, such as a LUN open, a sync failur

[PATCH 01/17] cxlflash: Combine the send queue locks

2017-06-21 Thread Uma Krishnan
Currently there are separate spin locks for the two supported I/O queueing models. This makes it difficult to serialize with paths outside the enqueue path. As a design simplification and to support serialization with enqueue operations, move to only a single lock that is used for enqueueing regar

[PATCH 02/17] cxlflash: Update cxlflash_afu_sync() to return errno

2017-06-21 Thread Uma Krishnan
The cxlflash_afu_sync() routine returns a negative one to indicate any kind of failure. This makes it impossible to establish why the error occurred. Update the return codes to clearly indicate the failure cause to the caller. Signed-off-by: Uma Krishnan --- drivers/scsi/cxlflash/main.c | 11 ++

[PATCH 03/17] cxlflash: Reset hardware queue context via specified register

2017-06-21 Thread Uma Krishnan
Per the SISLite specification, context_reset() writes 0x1 to the LSB of the reset register. When the AFU processes this reset request, it is expected to clear the bit after reset is complete. The current implementation simply checks that the entire value read back is not 1, instead of masking off t

[PATCH 00/17] cxlflash: LUN provisioning support and miscellaneous fixes

2017-06-21 Thread Uma Krishnan
This patch series contains miscellaneous fixes and several enhancements such as LUN provisioning support, WS16 unmap and AFU debug capabilities. This series is intended for 4.13 and is bisectable. Matthew R. Ochs (8): cxlflash: Separate AFU internal command handling from AFU sync specifics

AW: Wir geben jährlich Darlehen für 2% Zinsen aus

2017-06-21 Thread Bernhard Stöckl
Wir vergeben Kredite mit einem Zinssatz von jährlich 2%. Die Bearbeitung des Antrags erfolgt rasch, wir verlangen keine Gebühren, was sie beantragen werden wir annehmen. Wir bewilligen Kredite von bis zu 40 Millionen Euro und von mindestens 15.000 Euro. Sie können einen geschäftlichen oder pri

[Bug 151661] Adaptec 3405 3805 prints "AAC: Host adapter dead -1" every 10 seconds but works fine anyway

2017-06-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=151661 --- Comment #20 from Stuart Naifeh (scnai...@hotmail.com) --- As of June 21, 2017, I am still seeing this in Debian Stretch running kernel 4.10.0-rc6. I have an IBM ServeRaid 8s, which is a rebranded Adaptec 4805. I see the message repeat about

[PATCH v2 4/6] qla2xxx: Send FC4 type NVMe to the management server

2017-06-21 Thread Madhani, Himanshu
From: Duane Grigsby This patch adds switch command support for FC-4 type of FC-NVMe (0x28) for resgistering HBA port to the management server. RFT_ID command is used to register FC-4 type of 0x28 and RFF_ID is used to register FC-4 features bits for FC-NVMe port. Signed-off-by: Darren Trapp Sig

[PATCH v2 5/6] qla2xxx: Use FC-NMVe FC4 type for FDMI registration

2017-06-21 Thread Madhani, Himanshu
From: Duane Grigsby Signed-off-by: Duane Grigsby Signed-off-by: Darren Trapp Signed-off-by: Anil Gurumurthy Signed-off-by: Giridhar Malavali Signed-off-by: Himanshu Madhani Reviewed-by: Johannes Thumshirn Reviewed-by: James Smart --- drivers/scsi/qla2xxx/qla_gs.c | 16 1

[PATCH v2 6/6] qla2xxx: Update Driver version to 10.00.00.00-k

2017-06-21 Thread Madhani, Himanshu
From: Himanshu Madhani Signed-off-by: Himanshu Madhani Reviewed-by: Johannes Thumshirn Reviewed-by: James Smart --- drivers/scsi/qla2xxx/qla_version.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_version.h b/drivers/scsi/qla2xxx/qla_versi

[PATCH v2 2/6] qla2xxx: Add FC-NVMe command handling

2017-06-21 Thread Madhani, Himanshu
From: Duane Grigsby This patch adds logic to handle the completion of FC-NVMe commands and creates a sub-command in the SRB command structure to manage NVMe commands. Signed-off-by: Darren Trapp Signed-off-by: Duane Grigsby Signed-off-by: Anil Gurumurthy Signed-off-by: Giridhar Malavali Sig

[PATCH v2 3/6] qla2xxx: Add FC-NVMe F/W initialization and transport registration

2017-06-21 Thread Madhani, Himanshu
From: Duane Grigsby This code provides the interfaces to register remote and local ports of FC4 type 0x28 with the FC-NVMe transport and transports the requests (FC-NVMe FC link services and FC-NVMe commands IUs) to the fabric. It also provides the support for allocating h/w queues and aborting F

[PATCH v2 1/6] qla2xxx: Add FC-NVMe port discovery and PRLI handling

2017-06-21 Thread Madhani, Himanshu
From: Duane Grigsby Added logic to change the login process into an optional PRIL step for FC-NVMe ports as a separate operation, such that we can change type to 0x28 (NVMe). Currently, the driver performs the PLOGI/PRLI together as one operation, but if the discovered port is an NVMe port then

[PATCH v2 0/6] qla2xxx: Add NVMe FC Fabric support in driver

2017-06-21 Thread Madhani, Himanshu
From: Himanshu Madhani Hi Martin, This patch series adds NVMe FC fabric support for qla2xxx initiator mode driver. This series depends on the target multiqueue series that was sent out on June 13,2017. (https://www.spinics.net/lists/linux-scsi/msg109827.html) There are couple of new files qla_

Re: [PATCH] scsi: fix typos and grammar in comments of scsi_transport_fc.c

2017-06-21 Thread James Smart
On 6/21/2017 1:24 PM, Tyrel Datwyler wrote: Signed-off-by: Tyrel Datwyler --- drivers/scsi/scsi_transport_fc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) Reviewed-by: James Smart

[PATCH] scsi: fix typos and grammar in comments of scsi_transport_fc.c

2017-06-21 Thread Tyrel Datwyler
Signed-off-by: Tyrel Datwyler --- drivers/scsi/scsi_transport_fc.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c index d4cf32d..6dd0922 100644 --- a/drivers/scsi/scsi_transport_fc.c +++ b/driver

Re: [PATCH] scsi/libata: Support variable-length cdb of ata pass-thru(32).

2017-06-21 Thread Bart Van Assche
On Sat, 2017-06-17 at 20:00 +0900, Minwoo Im wrote: > - if ((tf->protocol = ata_scsi_map_proto(cdb[1])) == ATA_PROT_UNKNOWN) { > + /* > + * if SCSI operation code in cdb[0] is ATA_12 or ATA_16, > + * then cdb[1] will contain protocol of ATA PASS-THROUGH. > + * otherwise, Its

Re: [PATCH 2/2] scsi_dh_alua: remove synchronous STPG support

2017-06-21 Thread Bart Van Assche
On Mon, 2017-06-19 at 14:27 +0200, Christoph Hellwig wrote: > Since 9c58b395 ("scsi: scsi_devinfo: remove synchronous ALUA for > NETAPP devices") this code is unused. Reviewed-by: Bart Van Assche

Re: [PATCH 1/2] scsi: remove various unused blist flags

2017-06-21 Thread Bart Van Assche
On Mon, 2017-06-19 at 14:27 +0200, Christoph Hellwig wrote: > [ ... ] Reviewed-by: Bart Van Assche

Re: [PATCH resend] scsi: fc: drop residual tsk_mgmt_response and it_nexus_response

2017-06-21 Thread Bart Van Assche
On Wed, 2017-06-21 at 10:48 +0800, Kefeng Wang wrote: > After commit 556e26a70b64 ("scsi: remove tsk_mgmt_response and > it_nexus_response transport methods"), the target driver support > was removed totally. Drop the residua. Hello Kefeng, Did you mean "residual" instead of "residua"? Anyway: R

[PATCH] lpfc: fix refcount error on node list

2017-06-21 Thread James Smart
A change in remote port removal introduced a spurious put which can cause a premature structure teardown. The affects were most notable when the driver attempted to unload as a null pointer would be hit. Fix by removing the unnecessary put. Signed-off-by: James Smart --- drivers/scsi/lpfc/lpfc_

[PATCH] lpfc: Fix nvme io stoppage after link bounce

2017-06-21 Thread James Smart
On link down, transport is calling driver to abort outstanding ios. Driver erroneously rejects the abort if the port indicates it isn't logged in - which will be the case after the link down. Thus, the io can't clean up. This prevents reconnection at the transport level. Fix by allowing abort to p

1,650,000,00 Euros

2017-06-21 Thread Marcelo Dantas Teixeira
E-postvarsling! E-posten ble valgt og har 1,650,000,00 Euro som ble registrert og forsikret på ditt navn. Hvis du vil ha mer informasjon om penger, kontakt: onuw...@qq.com MFG Marcelo Dontas Teixeira

let me know

2017-06-21 Thread CELINE
Hello, important charity foundation proposal to discuss with you, if you are interested please reply urgently for details. with love, CELINE

[PATCH] virtio_scsi: let host do exception handling

2017-06-21 Thread Paolo Bonzini
virtio_scsi tries to do exception handling after the default 30 seconds timeout expires. However, it's better to let the host control the timeout, otherwise with a heavy I/O load it is likely that an abort will also timeout. This leads to fatal errors like filesystems going offline. Disable the

Re: [PATCH 4/6] qla2xxx: Send FC4 type NVMe to the management server

2017-06-21 Thread Madhani, Himanshu
> On Jun 21, 2017, at 12:07 AM, Johannes Thumshirn wrote: > > Ah and I think you forgot to Cc the linux-nvme [1] list on your submission. It > would be good to have it on linux-nvme as well as on linux-scsi so Sagi, > Christoph and Keith see it as well. Sounds good. I’ll cc linux-nvme on v2 of

Re: [PATCH] qla2xxx: don't include

2017-06-21 Thread Johannes Berg
On Wed, 2017-06-21 at 13:29 +, Bart Van Assche wrote: > On Wed, 2017-06-21 at 13:40 +0200, Johannes Berg wrote: > > From: Johannes Berg > > > > There's no need to use the static UTS_RELEASE string, since > > utsname()->release contains the same. > > > > This avoids rebuilding this file for e

Re: [PATCH] qla2xxx: don't include

2017-06-21 Thread Bart Van Assche
On Wed, 2017-06-21 at 13:40 +0200, Johannes Berg wrote: > From: Johannes Berg > > There's no need to use the static UTS_RELEASE string, since > utsname()->release contains the same. > > This avoids rebuilding this file for every change of the > release string. > > Signed-off-by: Johannes Berg

Re: [PATCH] qla2xxx: don't include

2017-06-21 Thread Johannes Thumshirn
On Wed, Jun 21, 2017 at 01:40:05PM +0200, Johannes Berg wrote: > From: Johannes Berg > > There's no need to use the static UTS_RELEASE string, since > utsname()->release contains the same. > > This avoids rebuilding this file for every change of the > release string. > > Signed-off-by: Johannes

[PATCH] qla2xxx: don't include

2017-06-21 Thread Johannes Berg
From: Johannes Berg There's no need to use the static UTS_RELEASE string, since utsname()->release contains the same. This avoids rebuilding this file for every change of the release string. Signed-off-by: Johannes Berg --- drivers/scsi/qla2xxx/tcm_qla2xxx.c | 13 ++--- 1 file changed

[PATCH RESEND] scsi: sun_esp: fix device reference leaks

2017-06-21 Thread Johan Hovold
Make sure to drop the reference to the dma device taken by of_find_device_by_node() on probe errors and on driver unbind. Fixes: 334ae614772b ("sparc: Kill SBUS DVMA layer.") Signed-off-by: Johan Hovold --- No comment to this one for over a month so resending. Also added David Miller on CC. Joh

Re: [PATCH 4/6] qla2xxx: Send FC4 type NVMe to the management server

2017-06-21 Thread Johannes Thumshirn
On Tue, Jun 20, 2017 at 10:13:04PM +, Madhani, Himanshu wrote: > Somehow in the actual code this does not look like issue. (i.e. correct > indentation is seen) > i am not sure why in patch view its showing one space off. Strange. I guess we'll have to live with it then. Ah and I think you f