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:   Thu, 10 Dec 2020 11:22:07 +0800
From:   YouChing Lin <ycllin@...c.com.tw>
To:     miquel.raynal@...tlin.com, vigneshr@...com
Cc:     juliensu@...c.com.tw, linux-mtd@...ts.infradead.org,
        linux-kernel@...r.kernel.org, ycllin@...c.com.tw
Subject: [PATCH 0/2] mtd: spinand: add support for MX35LFxG24AD & Fix bug of BCH

Hello,

This series adds support for MX35LF1/2/4G24AD, are 3V, 1G/2G/4Gbit serial
SLC NAND flash device (without on-die ECC).

And fix a bug of BCH, the size of calc_buf/code_buf is limited to 64 bytes.
If someone uses Flash with pagesize: 4096 (for example: MX35LF4G24AD, 
eccbyte: 104 bytes), some errors will occur during the read operation.
So we correct the size of calc_buf/code_buf to mtd->oobsize.

This series has been tested on Xilinx Zynq PicoZed FPGA board.

Thanks for your time.

YouChing Lin (2):
  mtd: nand: ecc-bch: Fix the size of calc_buf/code_buf of the BCH
  mtd: spinand: macronix: Add support for MX35LFxG24AD

 drivers/mtd/nand/ecc-sw-bch.c   |  4 ++--
 drivers/mtd/nand/spi/macronix.c | 27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 2 deletions(-)

-- 
1.9.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ