public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Kyungmin Park <kyungmin.park@samsung.com>
To: Adrian Hunter <ext-adrian.hunter@nokia.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: OneNAND oobfree
Date: Wed, 17 Jan 2007 23:50:26 +0000 (GMT)	[thread overview]
Message-ID: <28258806.531401169077825918.JavaMail.weblogic@ep_ml22> (raw)

Hi Adrian,

Yes, I know it's confusing. "Managed by internal ECC logic for Logical Sector Number data"
But actually it means 3 bytes in spare area is managed by internal ECC logic and it generates space ecc.
So we can use it as free.

Now I try to optimize spare handling.
The onenand_do_read_oob reads 3 bytes. but onenand has 16-bit bus
But I think there's some performance problem. so I examine the it.
Basically I want to operation with oob based on 32 byte for optimized memcpy if possible

Thank you,
Kyungmin Park

------- Original Message -------
Sender : Adrian Hunter<ext-adrian.hunter@nokia.com> 
Date   : Jan 17, 2007 20:17
Title  : OneNAND oobfree

Hi Kyungmin

The nand_ecclayout structure for OneNAND has 3 bytes
at position 2 marked as free (see below).  However,
the documentation describes these 3 bytes as
"Managed by internal ECC logic for Logical Sector
Number data".

Are these bytes, in fact, free, and should they be listed
in oobfree as they are now?

Regards
Adrian



From onenand_base.c:
static struct nand_ecclayout onenand_oob_64 = {
	.eccbytes	= 20,
	.eccpos		= {
		8, 9, 10, 11, 12,
		24, 25, 26, 27, 28,
		40, 41, 42, 43, 44,
		56, 57, 58, 59, 60,
		},
	.oobfree	= {
		{2, 3}, {14, 2}, {18, 3}, {30, 2},
		{34, 3}, {46, 2}, {50, 3}, {62, 2}
	}
};





             reply	other threads:[~2007-01-17 23:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17 23:50 Kyungmin Park [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-01-17 11:17 OneNAND oobfree Adrian Hunter

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=28258806.531401169077825918.JavaMail.weblogic@ep_ml22 \
    --to=kyungmin.park@samsung.com \
    --cc=ext-adrian.hunter@nokia.com \
    --cc=linux-mtd@lists.infradead.org \
    /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