lkml.org 
[lkml]   [2021]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Fix double counting of S/W ECC engines' ECC stat
Date
Hello,

This series fix the double counting of S/W ECC engines' ECC stat

If you use SPI-NAND with SW-ECC engine, the ECC related statistics
(ecc_stats.failed & ecc_stats.corrected) will be doubled, because
those numbers will be double-counted in ecc-sw-[bch/hamming].c and
drivers/mtd/nand/spi/core.c.

This can be found by using nandtest/nandbiterrs validation.

Thanks for your time.

YouChing Lin (2):
mtd: nand: ecc-bch: Fix the double counting of ECC stat
mtd: nand: ecc-hamming: Fix the double counting of ECC stat

drivers/mtd/nand/ecc-sw-bch.c | 9 +++++----
drivers/mtd/nand/ecc-sw-hamming.c | 9 +++++----
2 files changed, 10 insertions(+), 8 deletions(-)

--
1.9.1

\
 
 \ /
  Last update: 2021-05-11 04:18    [W:0.064 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site