From: Artem Bityutskiy <dedekind1@gmail.com>
To: Jon Povey <Jon.Povey@racelogic.co.uk>
Cc: "davinci-linux-open-source@linux.davincidsp.com"
<davinci-linux-open-source@linux.davincidsp.com>,
"linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>
Subject: Re: UBI crashes / fixing NAND subpage writes
Date: Thu, 02 Sep 2010 02:10:46 +0300 [thread overview]
Message-ID: <1283382646.2209.61.camel@brekeke> (raw)
In-Reply-To: <70E876B0EA86DD4BAF101844BC814DFE0903E02F56@Cloud.RL.local>
On Wed, 2010-09-01 at 08:40 +0100, Jon Povey wrote:
> Of course this is not a very good solution. The right thing to do
> would seem to be make nand_do_write_ops() properly subpage aware and
> either add start and end offsets to the nand_write_page* family of
> functions, or add a nand_write_subpage* family of functions.
>
> I don't mind having a go at some of this but am not confident to start
> such major overhaul of nand_base.c without at least seeking comment
> from others, so: This email. Maybe there's already something being
> worked on?
I think nand_write_subpage() is a good way do deal with this. If the
chip does not define own nand_write_subpage(), we fall-back to the
default one which uses the current way.
--
Best Regards,
Artem Bityutskiy (Битюцкий Артём)
prev parent reply other threads:[~2010-09-01 23:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-01 7:40 UBI crashes / fixing NAND subpage writes Jon Povey
2010-09-01 23:10 ` Artem Bityutskiy [this message]
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=1283382646.2209.61.camel@brekeke \
--to=dedekind1@gmail.com \
--cc=Jon.Povey@racelogic.co.uk \
--cc=davinci-linux-open-source@linux.davincidsp.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