From: "Thiago Galesi" <thiagogalesi@gmail.com>
To: "Jim Ramsay" <kernel@jimramsay.com>
Cc: "Linux Kernel" <linux-kernel@vger.kernel.org>
Subject: Possible MTD bug in 2.6.15
Date: Sat, 22 Apr 2006 14:08:18 -0300 [thread overview]
Message-ID: <82ecf08e0604221008ieb22a4cuc59be570cf025bba@mail.gmail.com> (raw)
In-Reply-To: <4789af9e0604220949i2757e408qa5de3a9e728e966f@mail.gmail.com>
> > > Ok, a couple of comments/questions
> > >
> > > 1 - Wouldn't it be better to map all flash, and leave the unneeded
> > > part as read only?
>
> In general, yes. But this should either be enforced somewhere nicer
> (ie, die gracefully) so the kernel doesn't panic later, or be allowed
> as in my patch.
The fundamental problem there seems to be a mismatch between what is
set by the user and what is read from the flash chip. As you mention
in your first message, (what it came across is that) you don't have
(physical / electrical) access to all the flash; not something I would
recommend (that is, having limited electrical connection to the flash)
As for the options you propose - enforce and die gracefully (that is,
if there is a size mismatch, warning and purposely not working) seems
more correct than the second option.
next prev parent reply other threads:[~2006-04-22 17:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1145723704.3524.TMDA@mail.tag.jimramsay.com>
2006-04-22 16:49 ` Fw: " Jim Ramsay
2006-04-22 17:08 ` Thiago Galesi [this message]
2006-04-23 3:48 ` Jim Ramsay
2006-04-23 7:45 ` Jörn Engel
2006-04-19 16:49 Jim Ramsay
2006-04-19 17:06 ` Thiago Galesi
2006-04-19 17:43 ` Pekka Enberg
2006-05-30 12:30 ` David Woodhouse
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=82ecf08e0604221008ieb22a4cuc59be570cf025bba@mail.gmail.com \
--to=thiagogalesi@gmail.com \
--cc=kernel@jimramsay.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®