From: David Brownell <david-b@pacbell.net>
To: Kevin Cernekee <kpc.mtd@gmail.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>,
Linux MTD <linux-mtd@lists.infradead.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [patch/rfc 2.6.29 1/2] MTD: driver model updates
Date: Tue, 31 Mar 2009 20:21:25 -0700 [thread overview]
Message-ID: <200903312021.25165.david-b@pacbell.net> (raw)
In-Reply-To: <a95a62fe0903311817i76f9f6d8qf7470fd14a62b912@mail.gmail.com>
On Tuesday 31 March 2009, Kevin Cernekee wrote:
> On Tue, Mar 31, 2009 at 2:18 PM, David Brownell <david-b@pacbell.net> wrote:
> > Hmm, no comments? I had understood there was interest over on
> > the MTD side of things in exposing more information through
> > sysfs, to help avoid the need to add Even More Ioctls as part
> > of support for things like NAND chips with 4KB pages, or which
> > handle more than 4GBytes ...
>
> Based on this post:
> http://lists.infradead.org/pipermail/linux-mtd/2009-March/025060.html
>
> I am inferring that the following attributes are wanted in the MTD
> sysfs interface:
>
> 1) mtd_info_user fields - type, flags, size, erasesize, writesize,
> oobsize. So far we have "type," but it should be easy to add the
> rest.
Yes, easy to add those. As noted in the $SUBJECT patch, the set
consisting of just "type" is a "starter set". :)
For procfs elimination, a name/label would be needed too; that can
be an input to, or output from, cmdlinepart.
My question about the $SUBJECT patch is whether there's any reason
not to use that as the start of such driver model enhancements.
I'm thinking the answer to that seems to be "no", and that someone
more involved in *using* those sysfs attributes would be a better
choice for growing that set of attributes.
> 2) region_info_user fields? Not really sure how this would work.
> Maybe a separate subdirectory for each region?
I'm not sure I've ever had reason to care about a "region" (whatever
that is!) with MTD hardware.
I suspect that a lot of interesting questions could come up in
the context of enhancing mtd-utils to work with sysfs and bigger
NAND chips. Some might relate to "regions".
- Dave
next prev parent reply other threads:[~2009-04-01 3:21 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-26 7:42 [patch/rfc 2.6.29 1/2] MTD: driver model updates David Brownell
2009-03-31 21:18 ` David Brownell
2009-03-31 23:51 ` Kay Sievers
2009-04-01 13:43 ` Juergen Beisert
2009-04-01 1:17 ` Kevin Cernekee
2009-04-01 3:21 ` David Brownell [this message]
2009-04-01 4:49 ` Kevin Cernekee
2009-04-01 6:36 ` David Brownell
2009-04-01 7:29 ` Ricard Wanderlof
2009-04-01 7:51 ` Artem Bityutskiy
2009-04-01 8:05 ` David Brownell
2009-04-01 8:25 ` Ricard Wanderlof
2009-04-01 8:28 ` Artem Bityutskiy
2009-04-02 23:41 ` Kevin Cernekee
2009-04-03 7:03 ` Artem Bityutskiy
2009-04-03 7:09 ` Artem Bityutskiy
2009-04-03 20:00 ` Kevin Cernekee
2009-04-04 14:36 ` David Woodhouse
2009-04-04 16:17 ` Kevin Cernekee
2009-04-04 16:20 ` David Brownell
2009-04-04 16:29 ` David Woodhouse
2009-04-04 17:18 ` David Brownell
2009-04-06 5:34 ` Greg KH
2009-04-03 10:04 ` David Woodhouse
2009-04-03 17:24 ` David Brownell
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=200903312021.25165.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=kay.sievers@vrfy.org \
--cc=kpc.mtd@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--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