From: Artem Bityutskiy <dedekind1@gmail.com>
To: Jamie Iles <jamie@jamieiles.com>
Cc: dwmw2@infradead.org, linux-mtd@lists.infradead.org
Subject: Re: [RFC PATCH 0/7] Removing CONFIG_MTD_PARTITIONS
Date: Fri, 20 May 2011 08:50:59 +0300 [thread overview]
Message-ID: <1305870659.2630.97.camel@localhost> (raw)
In-Reply-To: <20110519054405.GB32183@pulham.picochip.com>
On Thu, 2011-05-19 at 06:44 +0100, Jamie Iles wrote:
> On Mon, May 16, 2011 at 03:37:10PM +0100, Jamie Iles wrote:
> > On Mon, May 16, 2011 at 04:04:20PM +0300, Artem Bityutskiy wrote:
> > > On Thu, 2011-05-12 at 14:26 +0100, Jamie Iles wrote:
> > > > This patch series is an RFC for the removal of CONFIG_MTD_PARTITIONS.
> > > > Partitioning is still supported, but is always compiled in if CONFIG_MTD is
> > > > selected. To transition, two new symbols are introduced -
> > > > mtd_device_{,un}register() that replace add_mtd_device(), add_mtd_partitions()
> > > > and their counterparts. The series converts a number of drivers over to use
> > > > these new interfaces and the final patch removes the old symbols.
> > > >
> > > > Note that this patch does not transition all of the drivers so is incomplete
> > > > (and not signed off!). If this approach is suitable then I'll convert all of
> > > > the other drivers over.
> > >
> > > Jamie, looks very good at the first glance, thanks a lot!
> >
> > Great! I'm travelling at the moment so can't complete the series, but
> > I'll aim to do the full series over the next few weeks and repost.
> > Thanks for taking the time to look at it.
>
> Artem, with regards to submitting a series for this, how would you
> prefer it? I imagined a few patches for the core MTD stuff then one per
> driver to remove the CONFIG_MTD_PARTITIONS preprocessor and convert to
> mtd_device_register().
Yes.
> There are other drivers that don't use CONFIG_MTD_PARTITIONS but use
> add_mtd_device()/add_mtd_partitions() etc so these just need a
> substitution for mtd_device_register(). Are these last ones OK as one
> patch or one per driver?
If the patch is about mechanical substitution I think one patch for all
is better.
Sorry for long response, I suggest you to just send patches as you
think, if people do not like something - you'll get a response. I takes
too much time to wait for my response. We still have chances to get into
2.6.40 with these changes if you are fast.
Please, base your patches on top of my l2 tree:
git://git.infradead.org/users/dedekind/l2-mtd-2.6.git
Also, try to take a look at linux-next - at least Russel's arm tree
should have changes which will conflict with yours.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
prev parent reply other threads:[~2011-05-20 5:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-12 13:26 [RFC PATCH 0/7] Removing CONFIG_MTD_PARTITIONS Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 1/7] mtd: always build partitioning support Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 2/7] mtd: introduce mtd_device_(un)register() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 3/7] mtd/physmap: convert to mtd_device_register() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 4/7] mtd/nand: convert to mtd_device_unregister() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 5/7] nand/gpio: convert to mtd_device_register() Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 6/7] mtd/plat_nand: " Jamie Iles
2011-05-12 13:26 ` [RFC PATCH 7/7] mtd: remove add_mtd_partitions, add_mtd_device and friends Jamie Iles
2011-05-16 13:04 ` [RFC PATCH 0/7] Removing CONFIG_MTD_PARTITIONS Artem Bityutskiy
2011-05-16 14:37 ` Jamie Iles
2011-05-19 5:44 ` Jamie Iles
2011-05-20 5:50 ` 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=1305870659.2630.97.camel@localhost \
--to=dedekind1@gmail.com \
--cc=dwmw2@infradead.org \
--cc=jamie@jamieiles.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;
as well as URLs for NNTP newsgroup(s).