diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-17 20:12:46 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-27 12:39:21 (GMT) |
commit | 63e606bd9551852fff026c92af4026a6e3b0d245 (patch) | |
tree | 83c5a3c577bfc189b8445ba4202c993cc2e4b326 /usr | |
parent | cb1441bca9bf23c6cf715d16843f71f8e516993d (diff) | |
download | linux-63e606bd9551852fff026c92af4026a6e3b0d245.tar.xz |
skd: Submit requests to firmware before triggering the doorbell
commit 5fbd545cd3fd311ea1d6e8be4cedddd0ee5684c7 upstream.
Ensure that the members of struct skd_msg_buf have been transferred
to the PCIe adapter before the doorbell is triggered. This patch
avoids that I/O fails sporadically and that the following error
message is reported:
(skd0:STM000196603:[0000:00:09.0]): Completion mismatch comp_id=0x0000 skreq=0x0400 new=0x0000
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions