From: Derek Jones <djones@interalia.ca>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Cc: "J.D. Bakker" <bakker@thorgal.et.tudelft.nl>
Subject: Re: Handling multiple NAND chips -- take 2
Date: 25 Feb 2004 11:06:43 -0700 [thread overview]
Message-ID: <1077732403.2790.16.camel@localhost.localdomain> (raw)
In-Reply-To: <1077731948.7826.792.camel@hades.cambridge.redhat.com>
On Wed, 2004-02-25 at 10:59, David Woodhouse wrote:
> On Wed, 2004-02-25 at 18:44 +0100, J.D. Bakker wrote:
> > This is the plan; fire at will.
>
> Why? What'd poor Will do wrong?
>
> Join us on IRC and tglx can heckle you too :)
>
> > * Assumption: all devices are the same type and size.
>
My current non-linux product allows for different NAND sizes to be
populated. I would prefer that support for different sizes be added.
> I think that's acceptable. It's _definitely_ OK on NOR. On NAND we may
> be sharing some control lines between different chips, but I still think
> it's OK and we can deal with that in the board-level driver.
>
> > * No support (yet) for building a wider data bus through putting
> > multiple devices in parallel
>
> I think that's OK too.
>
> > * All detected devices are concatenated and represented as one large
> > linear array of pages
>
> Look at the DiskOnChip Millennium Plus address-mangling code and
> comments above DoC_GetDataOffset().
>
> If we could support that it would perhaps be useful.
>
> > * All devices are soldered to a motherboard. We are not interested in
> > taking devices out of the array.
>
> Not sure. Look at how the new DiskOnChip driver has to screw around
> before the chip probing, so it can pretend this is true. T'would be nice
> to deal with a sparse array, at least.
>
> And if you mean hotplug -- think SmartMedia.
>
> > * No optimizations (yet) wrt accessing device n while device m is
> > busy. Easier to get working code fast than to get fast code working,
> > and I don't see a way to take advantage of parallelism without
> > modifying higher layers
>
> OK.
>
> > The general idea is to take a 'global' page_addr and turn it into a
> > (chip,page) tuple like this:
> >
> > chip = global_page_addr / pages_per_chip;
> > page = global_page_addr % pages_per_chip;
> >
> > Does that look sane ?
>
> I think so. I prefer it to the other.
>
next prev parent reply other threads:[~2004-02-25 18:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-25 17:44 Handling multiple NAND chips -- take 2 J.D. Bakker
2004-02-25 17:59 ` David Woodhouse
2004-02-25 18:06 ` Derek Jones [this message]
2004-02-25 18:29 ` jasmine
2004-02-25 19:35 ` J.D. Bakker
2004-02-25 20:46 ` Thomas Gleixner
2004-02-25 19:19 ` J.D. Bakker
2004-02-25 20:22 ` Thomas Gleixner
2004-02-26 7:54 ` 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=1077732403.2790.16.camel@localhost.localdomain \
--to=djones@interalia.ca \
--cc=dwmw2@infradead.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