Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1248021 > unrolled thread
| Started by | Boris Brezillon <boris.brezillon@free-electrons.com> |
|---|---|
| First post | 2015-10-15 19:20 +0200 |
| Last post | 2015-10-16 08:40 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 1/3] mtd: nand: add NAND_NEED_SCRAMBLING option flag Boris Brezillon <boris.brezillon@free-electrons.com> - 2015-10-15 19:20 +0200
Re: [linux-sunxi] [PATCH 1/3] mtd: nand: add NAND_NEED_SCRAMBLING option flag Julian Calaby <julian.calaby@gmail.com> - 2015-10-16 00:40 +0200
Re: [linux-sunxi] [PATCH 1/3] mtd: nand: add NAND_NEED_SCRAMBLING option flag Boris Brezillon <boris.brezillon@free-electrons.com> - 2015-10-16 08:30 +0200
Re: [linux-sunxi] [PATCH 1/3] mtd: nand: add NAND_NEED_SCRAMBLING option flag Boris Brezillon <boris.brezillon@free-electrons.com> - 2015-10-16 08:40 +0200
| From | Boris Brezillon <boris.brezillon@free-electrons.com> |
|---|---|
| Date | 2015-10-15 19:20 +0200 |
| Subject | [PATCH 1/3] mtd: nand: add NAND_NEED_SCRAMBLING option flag |
| Message-ID | <qjUm6-4xd-15@gated-at.bofh.it> |
Some MLC NANDs are sensible to repeated patterns and require data to be
scrambled in order to limit the number of bitflips.
Add a new flag to let the NAND controller know about this constraint.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
---
include/linux/mtd/nand.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 5a9d1d4..19b4c6f 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -160,6 +160,12 @@ typedef enum {
/* Device supports subpage reads */
#define NAND_SUBPAGE_READ 0x00001000
+/*
+ * Some MLC NANDs need data scrambling to limit bitflips caused by repeated
+ * patterns.
+ */
+#define NAND_NEED_SCRAMBLING 0x00002000
+
/* Options valid for Samsung large page devices */
#define NAND_SAMSUNG_LP_OPTIONS NAND_CACHEPRG
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Julian Calaby <julian.calaby@gmail.com> |
|---|---|
| Date | 2015-10-16 00:40 +0200 |
| Subject | Re: [linux-sunxi] [PATCH 1/3] mtd: nand: add NAND_NEED_SCRAMBLING option flag |
| Message-ID | <qjZlM-3zR-1@gated-at.bofh.it> |
| In reply to | #1248021 |
Hi Boris, On Fri, Oct 16, 2015 at 4:17 AM, Boris Brezillon <boris.brezillon@free-electrons.com> wrote: > Some MLC NANDs are sensible to repeated patterns and require data to be Do you mean "sensitive" instead of "sensible"? Thanks, -- Julian Calaby Email: julian.calaby@gmail.com Profile: http://www.google.com/profiles/julian.calaby/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Boris Brezillon <boris.brezillon@free-electrons.com> |
|---|---|
| Date | 2015-10-16 08:30 +0200 |
| Subject | Re: [linux-sunxi] [PATCH 1/3] mtd: nand: add NAND_NEED_SCRAMBLING option flag |
| Message-ID | <qk6GB-6cl-1@gated-at.bofh.it> |
| In reply to | #1248227 |
Hi Julian, On Fri, 16 Oct 2015 09:32:38 +1100 Julian Calaby <julian.calaby@gmail.com> wrote: > Hi Boris, > > On Fri, Oct 16, 2015 at 4:17 AM, Boris Brezillon > <boris.brezillon@free-electrons.com> wrote: > > Some MLC NANDs are sensible to repeated patterns and require data to be > > Do you mean "sensitive" instead of "sensible"? Yes (I always mix the too, sensible is the french word for sensitive ;-)), I'll fix that. Best Regards, Boris -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Boris Brezillon <boris.brezillon@free-electrons.com> |
|---|---|
| Date | 2015-10-16 08:40 +0200 |
| Subject | Re: [linux-sunxi] [PATCH 1/3] mtd: nand: add NAND_NEED_SCRAMBLING option flag |
| Message-ID | <qk6Qi-6ov-13@gated-at.bofh.it> |
| In reply to | #1248368 |
On Fri, 16 Oct 2015 08:28:54 +0200
Boris Brezillon <boris.brezillon@free-electrons.com> wrote:
> Hi Julian,
>
> On Fri, 16 Oct 2015 09:32:38 +1100
> Julian Calaby <julian.calaby@gmail.com> wrote:
>
> > Hi Boris,
> >
> > On Fri, Oct 16, 2015 at 4:17 AM, Boris Brezillon
> > <boris.brezillon@free-electrons.com> wrote:
> > > Some MLC NANDs are sensible to repeated patterns and require data to be
> >
> > Do you mean "sensitive" instead of "sensible"?
>
> Yes (I always mix the too, sensible is the french word for
two
> sensitive ;-)), I'll fix that.
>
> Best Regards,
>
> Boris
>
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web