From: Brian Norris <computersforpeace@gmail.com>
To: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: Richard Weinberger <richard@nod.at>,
linux-mtd@lists.infradead.org,
David Woodhouse <dwmw2@infradead.org>,
Peter Pan <peterpansjtu@gmail.com>,
Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Subject: Re: [RFC PATCH 0/7] mtd: nand: Abstract away the NAND interface type
Date: Sat, 8 Oct 2016 22:34:06 -0700 [thread overview]
Message-ID: <20161009053406.GE10199@brian-ubuntu> (raw)
In-Reply-To: <1474539180-5863-1-git-send-email-boris.brezillon@free-electrons.com>
On Thu, Sep 22, 2016 at 12:12:53PM +0200, Boris Brezillon wrote:
> Hi,
>
> This series is aiming at providing a generic NAND layer to share code
> between different NAND based devices.
>
> We currently have 3 different interfaces to interact with NANDs:
> - Raw NANDs
> - OneNANDs
> - SPI NANDs
>
> Apart from the way these NAND devices are accessed they have a lot
> in common, like the way the memory is organized, or their constraints.
> This is usually a good sign that some work should be done to factorize
> the code.
>
> This work has been started by Peter who wanted to re-use the BBT
> code for its SPI-NAND driver. But I think we can push it further
> other stuff (the software ECC implementation, or the way offsets are
> converted to block/page number).
>
> Before I continue in this direction, I'd like to get some feedback
> from Peter and those who reviewed his initial submission (Brian,
> Ezequiel) [1], or anyone who is interested in this topic.
My eyes are bleeding for two reasons:
(1) You haven't used any of git's nice rename detection for your patches
(2) The 'rawnand' naming seems a bit much for me. If we really need to
reorganize everything, keeping the name shorter, like just 'raw'
might be fine -- at least wherever we're already namespaces as
"nand". e.g., 'drivers/mtd/nand/raw/' and 'mtd: nand: raw:
commit subject', but you might still keep 'rawnand.h' (unless you
want to move things into an include/linux/mtd/nand/ subdirectory).
You'll also need to update MAINTAINERS for the header pattern.
Haven't looked too closely at the code yet.
Brian
next prev parent reply other threads:[~2016-10-09 5:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-22 10:12 [RFC PATCH 0/7] mtd: nand: Abstract away the NAND interface type Boris Brezillon
2016-09-22 10:12 ` [RFC PATCH 1/7] mtd: nand: Rename nand.h into rawnand.h Boris Brezillon
2016-09-22 10:12 ` [RFC PATCH 2/7] mtd: nand: move code to rawnand/ subdir Boris Brezillon
2016-09-22 10:12 ` [RFC PATCH 3/7] mtd: nand: add a nand.h file to expose basic NAND stuff Boris Brezillon
2016-09-22 10:12 ` [RFC PATCH 4/7] mtd: nand: rawnand: prefix conflicting names with nandc instead of nand Boris Brezillon
2016-09-22 10:12 ` [RFC PATCH 5/7] mtd: nand: rawnand: create struct rawnand_device Boris Brezillon
2016-09-22 10:12 ` [RFC PATCH 6/7] mtd: nand: rawnand: make BBT code more generic Boris Brezillon
2016-09-22 10:13 ` [RFC PATCH 7/7] mtd: nand: rawnand: move BBT code to drivers/mtd/nand/ Boris Brezillon
2016-09-22 10:13 ` [RFC PATCH 0/7] mtd: nand: Abstract away the NAND interface type Boris Brezillon
2016-09-23 1:31 ` Ezequiel Garcia
2016-10-09 5:34 ` Brian Norris [this message]
2016-10-09 11:52 ` Boris Brezillon
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=20161009053406.GE10199@brian-ubuntu \
--to=computersforpeace@gmail.com \
--cc=boris.brezillon@free-electrons.com \
--cc=dwmw2@infradead.org \
--cc=ezequiel.garcia@free-electrons.com \
--cc=linux-mtd@lists.infradead.org \
--cc=peterpansjtu@gmail.com \
--cc=richard@nod.at \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.