From: Mike Dunn <mikedunn@newsguy.com>
To: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Cc: robert.jarzmik@free.fr, ivan.djelic@parrot.com,
ricard.wanderlof@axis.com, linux-mtd@lists.infradead.org
Subject: Re: [PATCH 0/3] MTD: Change meaning of -EUCLEAN return code on reads
Date: Mon, 19 Mar 2012 18:27:47 -0700 [thread overview]
Message-ID: <4F67DD13.6020501@newsguy.com> (raw)
In-Reply-To: <20120319211835.1073a491@halley>
On 03/19/2012 12:18 PM, Shmulik Ladkani wrote:
> On Mon, 19 Mar 2012 12:09:02 -0700 Mike Dunn <mikedunn@newsguy.com> wrote:
>>
>> I didn't get Shmulik's original email for some reason, only what was quoted in
>> Matthieu's.
>
> http://lists.infradead.org/pipermail/linux-mtd/2012-March/040343.html
Many thanks Shmulik. I'm glad I didn't miss this. Don't know why some emails
are getting dropped. What you describe is exactly what I had in mind, and is
just an extension of the previous patches to the finer granularity of ecc steps.
Yes it's not too hard, but touching drivers that I don't have the means to test
has to be done very carefully.
Quoting from your post off the list archive...
[ BTW, at a side note, I failed to understand why you prefer the
threshold comparison at the generic 'mtd_read' wrapper, and not within
nand_base.c.
I guess you didn't want to duplicate the condition into onenand_base.c
and alauda.c?
Thing is, I feel mtd->bitflip_threshold is a NAND property, so it
makes more sense if it is tested within the NAND infrastricture (and
clones).
Changing the 'mtd->_read' interface was less elegant IMO. ]
I agree, it is a NAND property and would have preferred to keep it in the nand
interface, But in addition to alauda, devices/docg3.c also is a nand device
that does not use the nand interface, After being bandied about, it was decided
to make it part of the mtd driver interface.
Thanks,
Mike
next prev parent reply other threads:[~2012-03-20 1:28 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-15 17:25 [PATCH 0/3] MTD: Change meaning of -EUCLEAN return code on reads Mike Dunn
2012-03-15 17:25 ` [PATCH 1/3] MTD: expose ecc_strength through sysfs Mike Dunn
2012-03-15 17:25 ` [PATCH 2/3] MTD: bitflip_threshold added to mtd_info and sysfs Mike Dunn
2012-03-16 16:31 ` Ivan Djelic
2012-03-15 17:25 ` [PATCH 3/3] MTD: drivers return max_bitflips, mtd returns -EUCLEAN Mike Dunn
2012-03-16 11:19 ` [PATCH 0/3] MTD: Change meaning of -EUCLEAN return code on reads Ivan Djelic
2012-03-16 12:49 ` Artem Bityutskiy
2012-03-16 16:30 ` Mike Dunn
2012-03-16 16:25 ` Mike Dunn
2012-03-16 18:43 ` Ivan Djelic
2012-03-17 20:18 ` Mike Dunn
2012-03-18 8:00 ` Shmulik Ladkani
2012-03-19 8:50 ` Matthieu CASTET
2012-03-19 9:29 ` Shmulik Ladkani
2012-03-19 19:09 ` Mike Dunn
[not found] ` <20120319211835.1073a491@halley>
2012-03-20 1:27 ` Mike Dunn [this message]
2012-03-30 14:21 ` Artem Bityutskiy
2012-03-31 2:03 ` Mike Dunn
2012-03-30 14:16 ` Artem Bityutskiy
2012-03-31 1:23 ` Mike Dunn
2012-03-30 14:19 ` Artem Bityutskiy
2012-03-16 21:54 ` Shmulik Ladkani
2012-03-16 22:57 ` Peter Barada
2012-03-17 21:10 ` Mike Dunn
2012-03-17 20:50 ` Mike Dunn
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=4F67DD13.6020501@newsguy.com \
--to=mikedunn@newsguy.com \
--cc=ivan.djelic@parrot.com \
--cc=linux-mtd@lists.infradead.org \
--cc=ricard.wanderlof@axis.com \
--cc=robert.jarzmik@free.fr \
--cc=shmulik.ladkani@gmail.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