lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 11 May 2021 09:40:33 +0800
From:   YouChing Lin <ycllin@...c.com.tw>
To:     miquel.raynal@...tlin.com, richard@....at, vigneshr@...com
Cc:     linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
        juliensu@...c.com.tw, YouChing Lin <ycllin@...c.com.tw>
Subject: [PATCH 0/2] Fix double counting of S/W ECC engines' ECC stat

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ