summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRex Chen <rex.chen_1@nxp.com>2025-07-28 17:22:30 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2025-08-19 14:33:54 +0200
commitfef12d9f5bcf7e2b19a7cf1295c6abd5642dd241 (patch)
treea8bdba5c2d934b5de0ca18cd5310746ff9e0b18f /tools/perf/scripts/python/stackcollapse.py
parentfec40f44afdabcbc4a7748e4278f30737b54bb1a (diff)
mmc: mmc_spi: multiple block read remove read crc ack
For multiple block read, the current implementation, transfer packet includes cmd53 + cmd53 response + block nums*(1byte token + block length bytes payload + 2bytes CRC + 1byte transfer), the last 1byte transfer of every block is not needed, so remove it. Why doesn't multiple block read need CRC ack? For read operation, host side get the payload and CRC value, then will only check the CRC value to confirm if the data is correct or not, but not send CRC ack to card. If the data is correct, save it, or discard it and retransmit if data is error, so the last 1byte transfer of every block make no sense. What's the side effect of this 1byte transfer? As the SPI is full duplex, if add this redundant 1byte transfer, SDIO card side take it as the token of next block, then all the next sub blocks sequence distort. Signed-off-by: Rex Chen <rex.chen_1@nxp.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20250728082230.1037917-3-rex.chen_1@nxp.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