linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Philip, Avinash" <avinashphilip@ti.com>
To: "artem.bityutskiy@linux.intel.com" <artem.bityutskiy@linux.intel.com>
Cc: "ivan.djelic@parrot.com" <ivan.djelic@parrot.com>,
	"Mohammed, Afzal" <afzal@ti.com>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"tony@atomide.com" <tony@atomide.com>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"devicetree-discuss@lists.ozlabs.org" 
	<devicetree-discuss@lists.ozlabs.org>,
	"broonie@opensource.wolfsonmicro.com" 
	<broonie@opensource.wolfsonmicro.com>,
	"Nori, Sekhar" <nsekhar@ti.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Hebbar, Gururaja" <gururaja.hebbar@ti.com>,
	"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	"rmk+kernel@arm.linux.org.uk" <rmk+kernel@arm.linux.org.uk>,
	"dwmw2@infradead.org" <dwmw2@infradead.org>
Subject: RE: [PATCH v2 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc
Date: Tue, 4 Dec 2012 13:20:50 +0000	[thread overview]
Message-ID: <518397C60809E147AF5323E0420B992E3EA108CE@DBDE01.ent.ti.com> (raw)
In-Reply-To: <1354278498.30168.117.camel@sauron.fi.intel.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1271 bytes --]

On Fri, Nov 30, 2012 at 17:58:18, Artem Bityutskiy wrote:
> On Thu, 2012-11-22 at 14:37 +0000, Philip, Avinash wrote:
> > Idea here is to make faster scanning of erased page without bit flips.
> > For omap nand driver ecc reported by hardware is non-zero and non
> > 0xff.
> > So comparing with the standard vector for erased page and skipping
> > error
> > correction for erased page without bit flips.
> 
> So you mean that when you read a page, and you see there are bit-flips,
> you start correcting them. But if you notice that the page is actually
> an erased page, you optimize this case by not running the correction
> machinery, but just filling the buffer with 0xFFs. Right?

Yes it is an optimization for erased page bit flip handling.
On erased page, ecc bytes not valid.  So no direct correction machinery
available for bit flips in erased page. Hence I was checking if any bit flips
reported in erased page. If bit flip present in erased page and falls under
correctable level, report the page with 0xff with correctable errors.


Thanks
Avinash

> > 
> -- 
> Best Regards,
> Artem Bityutskiy
> 

ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

  reply	other threads:[~2012-12-04 13:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31  7:08 [PATCH v2 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc Philip, Avinash
2012-10-31  7:08 ` [PATCH v2 1/3] mtd: nand: omap2: Update nerrors using ecc.strength Philip, Avinash
2012-10-31  7:08 ` [PATCH v2 2/3] mtd: devices: elm: Add support for ELM error correction Philip, Avinash
2012-10-31  7:08 ` [PATCH v2 3/3] mtd: nand: omap2: Support for hardware BCH " Philip, Avinash
2012-11-30 12:28   ` Artem Bityutskiy
2012-12-04 13:16     ` Philip, Avinash
2012-11-15 11:22 ` [PATCH v2 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc Artem Bityutskiy
2012-11-19 12:44   ` Philip, Avinash
2012-11-21  7:01   ` Philip, Avinash
2012-11-22 10:43     ` Artem Bityutskiy
2012-11-22 14:37       ` Philip, Avinash
2012-11-30 12:28         ` Artem Bityutskiy
2012-12-04 13:20           ` Philip, Avinash [this message]
2012-11-27  9:07       ` Philip, Avinash

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=518397C60809E147AF5323E0420B992E3EA108CE@DBDE01.ent.ti.com \
    --to=avinashphilip@ti.com \
    --cc=afzal@ti.com \
    --cc=artem.bityutskiy@linux.intel.com \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=dwmw2@infradead.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=gururaja.hebbar@ti.com \
    --cc=ivan.djelic@parrot.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nsekhar@ti.com \
    --cc=rmk+kernel@arm.linux.org.uk \
    --cc=tony@atomide.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).