[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200310183204.18963-1-miquel.raynal@bootlin.com>
Date: Tue, 10 Mar 2020 19:32:04 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Mason Yang <masonccyang@...c.com.tw>, miquel.raynal@...tlin.com,
richard@....at, vigneshr@...com, robh+dt@...nel.org,
mark.rutland@....com
Cc: devicetree@...r.kernel.org, juliensu@...c.com.tw,
yuehaibing@...wei.com, linux-kernel@...r.kernel.org,
frieder.schrempf@...tron.de, linux-mtd@...ts.infradead.org,
tglx@...utronix.de, allison@...utok.net
Subject: Re: [PATCH v5 1/2] mtd: rawnand: Add support for Macronix NAND randomizer
On Mon, 2020-02-17 at 06:56:39 UTC, Mason Yang wrote:
> 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 subpage accesses prohibited and more time
> period is needed in program operation and entering deep power-down mode.
> i.e., tPROG 300us to 340us(randomizer enabled)
>
> For more high-reliability concern, if subpage write not available with
> hardware ECC and then to enable randomizer is recommended by default.
> Driver checks byte 167 of Vendor Blocks in ONFI parameter page table
> to see if this high-reliability function is supported. By adding a new
> specific DT property in children nodes to enable randomizer function.
>
> Signed-off-by: Mason Yang <masonccyang@...c.com.tw>
> Reviewed-by: Miquel Raynal <miquel.raynal@...tlin.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Powered by blists - more mailing lists