diff options
author | 2023-11-03 10:47:15 +0200 | |
---|---|---|
committer | 2023-11-14 17:15:07 +0100 | |
commit | 174925d340aac55296318e43fd96c0e1d196e105 (patch) | |
tree | fc66bf12d53f810da1bf3eb4701ced91fda2b026 /LICENSES | |
parent | Linux 6.7-rc1 (diff) | |
download | linux-174925d340aac55296318e43fd96c0e1d196e105.tar.gz linux-174925d340aac55296318e43fd96c0e1d196e105.tar.bz2 linux-174925d340aac55296318e43fd96c0e1d196e105.zip |
mmc: block: Do not lose cache flush during CQE error recovery
During CQE error recovery, error-free data commands get requeued if there
is any data left to transfer, but non-data commands are completed even
though they have not been processed. Requeue them instead.
Note the only non-data command is cache flush, which would have resulted in
a cache flush being lost if it was queued at the time of CQE recovery.
Fixes: 1e8e55b67030 ("mmc: block: Add CQE support")
Cc: stable@vger.kernel.org
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20231103084720.6886-2-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions