diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-08-17 22:12:46 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-08-18 16:45:29 +0200 |
commit | 5fbd545cd3fd311ea1d6e8be4cedddd0ee5684c7 (patch) | |
tree | faa32b7764ef6dbcd52e9feebb8459f7e84813f1 /drivers/block/skd_s1120.h | |
parent | skd: Avoid that module unloading triggers a use-after-free (diff) | |
download | linux-5fbd545cd3fd311ea1d6e8be4cedddd0ee5684c7.tar.xz linux-5fbd545cd3fd311ea1d6e8be4cedddd0ee5684c7.zip |
skd: Submit requests to firmware before triggering the doorbell
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/skd_s1120.h')
0 files changed, 0 insertions, 0 deletions