diff options
| author | Shawn Lin <shawn.lin@rock-chips.com> | 2026-03-30 11:28:32 +0800 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2026-03-31 12:41:32 +0200 |
| commit | d34124edffdbd88ce21ed49c84d984b1c34e4670 (patch) | |
| tree | 0556a918f59a3c9c5c944096d911d9c227c6d975 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 058dbcf3ec2446a4deb094e0e22f2c345cd9816e (diff) | |
mmc: block: Use MQRQ_XFER_SINGLE_BLOCK for both read and write recovery
Currently, the code uses the MQRQ_XFER_SINGLE_BLOCK flag to handle write
failures by retrying with single-block transfers. However, read failures
bypass this mechanism and instead use a dedicated legacy path mmc_blk_read_single()
that performs sector-by-sector retries.
Extend the MQRQ_XFER_SINGLE_BLOCK logic to cover multi-block read failures
as well. By doing so, we can remove the redundant and complex mmc_blk_read_single()
function, unifying the retry logic for both read and write operations under
a single, consistent, easier-to-maintain mechanism.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
