diff options
| author | Keith Busch <kbusch@kernel.org> | 2024-09-04 14:48:50 -0700 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2024-09-24 23:35:10 -0700 |
| commit | 9064610348b16356d43e59e286aedfec31825541 (patch) | |
| tree | b0b362f5e8e96e2d763f23957598046576341f10 /rust/helpers/task.c | |
| parent | nvme: null terminate nvme_tls_attrs (diff) | |
| download | linux-9064610348b16356d43e59e286aedfec31825541.tar.gz linux-9064610348b16356d43e59e286aedfec31825541.zip | |
nvme: remove CC register read-back during enabling
Any non-posted read should flush the previous write, so we don't
necessarily need to read back the value we just wrote. I've found at
least some controllers that respond with 0 for short moments after
writing the CC register with EN (enable) cleared, so the read-back is
overwriting our valid ctrl_config value and ends up breaking on the
subsequent enabling.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
