From: Thomas Gleixner <tglx@linutronix.de>
To: Stephan Linke <Stephan.Linke@epygi.de>
Cc: Linux-Mtd <linux-mtd@lists.infradead.org>
Subject: Re: using multile partitions on one NAND chip
Date: Wed, 24 Nov 2004 17:29:06 +0100 [thread overview]
Message-ID: <1101313746.9481.8.camel@tglx.tec.linutronix.de> (raw)
In-Reply-To: <NGENJJFPMHGLPILEKKAMMEAECFAA.Stephan.Linke@epygi.de>
On Wed, 2004-11-24 at 15:40 +0100, Stephan Linke wrote:
> Hi,
Please fix your mail client, to 80 characters per line.
Read http://david.woodhou.se/email.html
> anyone tried using multiple partitions on a NAND flash?
Ever looked into the various drivers in drivers/mtd/nand ?
> I can't find the protection mechanism that protects lets
> say an erase on one block against a read command on the
> other block.
nand_get_chip() contains the protection.
> efficient protection for this. It looks like nand_chip->chip_lock
> should do this job but it only protects
chip_lock is only for SMP and the lock/unlock macros contain the
preemption control if CONFIG_PREEMPT=y. The lock itself is a NOOP on UP
systems
tglx
next prev parent reply other threads:[~2004-11-24 16:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-24 14:40 using multile partitions on one NAND chip Stephan Linke
2004-11-24 16:29 ` Thomas Gleixner [this message]
[not found] <NGENJJFPMHGLPILEKKAMMEAFCFAA.Stephan.Linke@epygi.de>
2004-11-24 18:28 ` Stephan Linke
2004-11-24 20:05 ` Thomas Gleixner
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=1101313746.9481.8.camel@tglx.tec.linutronix.de \
--to=tglx@linutronix.de \
--cc=Stephan.Linke@epygi.de \
--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