diff options
| author | Miquel Raynal <[email protected]> | 2020-05-19 09:45:44 +0200 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2020-05-24 20:48:11 +0200 |
| commit | 0651ed5082bc5af45be9f79cabcbc32c1cf4e599 (patch) | |
| tree | 3c068c9ba429caf49b0e0d50347f9d6830cc4d72 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 1759279ad138cb0a903224a89f4bf40f69c417e8 (diff) | |
mtd: rawnand: Ensure the number of bitflips is consistent
The main NAND read page function can loop over "page reads" many times
in if the reading reports uncorrectable error(s) and if the chip
supports the read_retry feature.
In this case, the number of bitflips is summarized between
attempts. Fix this by re-initializing the entire mtd_ecc_stats object
each time we retry.
Suggested-by: Boris Brezillon <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions