Thread (84 messages) 84 messages, 6 authors, 2011-01-14
STALE5622d

[PATCH V3 25/63 resend] Newly erased page read workaround

From: viresh kumar <hidden>
Date: 2011-01-14 05:21:38

On 12/20/2010 02:49 PM, Viresh KUMAR wrote:
From: Vipin Kumar <redacted>

A newly erased page contains ff in data as well as spare area. While reading an
erased page, the read out ecc from spare area does not match the ecc generated
by fsmc ecc hardware accelarator. This is because ecc of data ff ff is not ff
ff. This leads to errors when jffs2 fs erases and reads back the pages to
ensure consistency.

This patch adds a software workaround to ensure that the ecc check is not
performed for erased pages. An erased page is checked by checking data as ff ff.
David,

Does this patch looks fine to you??

--
viresh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help