Re: [PATCH] Add support for Macronix NAND randomizer

2019-09-02 Thread masonccyang
Hi Richard, > Subject > > Re: [PATCH] Add support for Macronix NAND randomizer > > On Mon, Sep 2, 2019 at 8:54 AM wrote: > > > > nand@0 { > > > > reg = <0>; > > > &g

Re: [PATCH] Add support for Macronix NAND randomizer

2019-09-02 Thread Richard Weinberger
On Mon, Sep 2, 2019 at 8:54 AM wrote: > > > nand@0 { > > > reg = <0>; > > > nand-reliability = "randomizer"; > > > > mxic,enable-randomizer-otp; > > > > Would be better (with the proper documentation in the b

Re: [PATCH] Add support for Macronix NAND randomizer

2019-09-01 Thread masonccyang
Hi Miquel, > > > > > > > > If subpage write not available with hardware ECC, for example, > > > > NAND chip options NAND_NO_SUBPAGE_WRITE be set in driver and > > > > randomizer function is recommended for high-reliability. > > > > Driver checks byte 167 of Vendor Blocks in ONFI parameter pa

Re: [PATCH] Add support for Macronix NAND randomizer

2019-08-30 Thread Miquel Raynal
Hi Mason, masonccy...@mxic.com.tw wrote on Thu, 29 Aug 2019 17:07:51 +0800: > Hi Miquel, > > > > > > > > If subpage write not available with hardware ECC, for example, > > > NAND chip options NAND_NO_SUBPAGE_WRITE be set in driver and > > > randomizer function is recommended for high-reliabil

Re: [PATCH] Add support for Macronix NAND randomizer

2019-08-29 Thread masonccyang
Hi Miquel, > > > > If subpage write not available with hardware ECC, for example, > > NAND chip options NAND_NO_SUBPAGE_WRITE be set in driver and > > randomizer function is recommended for high-reliability. > > Driver checks byte 167 of Vendor Blocks in ONFI parameter page table > > to see i

Re: [PATCH] Add support for Macronix NAND randomizer

2019-08-26 Thread masonccyang
Hi Miquel, > > Re: [PATCH] Add support for Macronix NAND randomizer > > Hi Mason, > > masonccy...@mxic.com.tw wrote on Mon, 26 Aug 2019 10:52:31 +0800: > > > Hi Miquel, > > > > > > Mason Yang wrote on Tue, 20 Aug 2019 13:53:48 > > > +

Re: [PATCH] Add support for Macronix NAND randomizer

2019-08-26 Thread Miquel Raynal
Hi Mason, masonccy...@mxic.com.tw wrote on Mon, 26 Aug 2019 10:52:31 +0800: > Hi Miquel, > > > > Mason Yang wrote on Tue, 20 Aug 2019 13:53:48 > > +0800: > > > > > Macronix NANDs support randomizer operation for user data scrambled, > > > which can be enabled with a SET_FEATURE. > > > > > >

Re: [PATCH] Add support for Macronix NAND randomizer

2019-08-25 Thread masonccyang
Hi Miquel, > > Mason Yang wrote on Tue, 20 Aug 2019 13:53:48 > +0800: > > > Macronix NANDs support randomizer operation for user data scrambled, > > which can be enabled with a SET_FEATURE. > > > > User data written to the NAND device without randomizer is still readable > > after randomizer

Re: [PATCH] Add support for Macronix NAND randomizer

2019-08-24 Thread Miquel Raynal
Hi Mason, Mason Yang wrote on Tue, 20 Aug 2019 13:53:48 +0800: > Macronix NANDs support randomizer operation for user data scrambled, > which can be enabled with a SET_FEATURE. > > User data written to the NAND device without randomizer is still readable > after randomizer function enabled. > T

[PATCH] Add support for Macronix NAND randomizer

2019-08-19 Thread Mason Yang
Macronix NANDs support randomizer operation for user data scrambled, which can be enabled with a SET_FEATURE. User data written to the NAND device without randomizer is still readable after randomizer function enabled. The penalty of randomizer are NOP = 1 instead of NOP = 4 and more time period i