linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Cheng Ming Lin <linchengming884@gmail.com>
To: Miquel Raynal <miquel.raynal@bootlin.com>
Cc: vigneshr@ti.com, linux-mtd@lists.infradead.org,
	 linux-kernel@vger.kernel.org, richard@nod.at,
	alvinzhou@mxic.com.tw,  leoyu@mxic.com.tw,
	Cheng Ming Lin <chengminglin@mxic.com.tw>
Subject: Re: [PATCH 1/2] mtd: spi-nand: Add support for randomizer
Date: Fri, 8 Aug 2025 19:35:41 +0800	[thread overview]
Message-ID: <CAAyq3SYHchAXb6_jOsCs_R_iCboAQq6jBpbLmF4_7uGzME=+iQ@mail.gmail.com> (raw)
In-Reply-To: <878qjuazlp.fsf@bootlin.com>

Hi Miquel,

Miquel Raynal <miquel.raynal@bootlin.com> 於 2025年8月8日 週五 下午6:15寫道:
>
> Hi Cheng Ming,
>
> On 08/08/2025 at 17:55:02 +08, Cheng Ming Lin <linchengming884@gmail.com> wrote:
>
> > From: Cheng Ming Lin <chengminglin@mxic.com.tw>
> >
> > Add randomizer operation support for user data scrambling.
> >
> > For more high-reliability concern, if subpage write not available with
> > hardware ECC and then to enable randomizer is recommended by default.
>
> Could we adopt a helper that allows to enable and disable the
> randomizer?

I understand the idea, but from the flash’s perspective, once the
randomizer is enabled, it’s generally not intended to be disabled. So I
feel that providing a disable option might not be meaningful in this
case.

>
> I have no use case in mind right now, but I feel like it would be a
> better approach.
>
> Thanks,
> Miquèl

Thanks,
Cheng Ming Lin

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2025-08-08 12:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-08  9:55 [PATCH 0/2] Add support for randomizer Cheng Ming Lin
2025-08-08  9:55 ` [PATCH 1/2] mtd: spi-nand: " Cheng Ming Lin
2025-08-08 10:15   ` Miquel Raynal
2025-08-08 11:35     ` Cheng Ming Lin [this message]
2025-08-08  9:55 ` [PATCH 2/2] mtd: spi-nand: macronix: Add randomizer support Cheng Ming Lin
2025-08-08 10:19   ` Miquel Raynal
2025-08-08 11:49     ` Cheng Ming Lin
2025-08-11  3:01     ` Cheng Ming Lin
2025-08-18  8:47       ` Miquel Raynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAyq3SYHchAXb6_jOsCs_R_iCboAQq6jBpbLmF4_7uGzME=+iQ@mail.gmail.com' \
    --to=linchengming884@gmail.com \
    --cc=alvinzhou@mxic.com.tw \
    --cc=chengminglin@mxic.com.tw \
    --cc=leoyu@mxic.com.tw \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).