RE: [PATCH v2 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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��������+%������w��{.n�����{����*jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux