public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: "Timofei V. Bondarenko" <timm@ipi.ac.ru>
Cc: linux-mtd@lists.infradead.org
Subject: Re: nand locking
Date: Wed, 27 Apr 2005 13:35:47 +0200	[thread overview]
Message-ID: <1114601747.879.199.camel@tglx.tec.linutronix.de> (raw)
In-Reply-To: <426F691D.50905@ipi.ac.ru>

On Wed, 2005-04-27 at 14:27 +0400, Timofei V. Bondarenko wrote:
> > Lock/unlock are general features and should be added to nand_base.c.
> > I guess the chips which have those functions can be identified and an
> > appropriate option flag set in the ID list, which then lets nand_scan
> > decide whether to fill in the lock/unlock function pointers or not.
> 
> An easy problem: I'm looking for the simplest way to protect
> read-only mtd partitions by hardware lock.
> The current nand_base seems lack of this feature.
> Should i hack the nand_base? Or is there a correct workaround?

As I said above, it is functionality which should be integrated cleanly
into nand_base.c. It should be automatically available for those chips
which support it.

There is no workaround. Its missing and must be added. I'm happy if you
can provide a patch.

> It awaits since 18 Apr - longer than a week... is it ok?

David Woodhouse was travelling last week

> Are there other ways to submit a patch? (a small bugfix to cmdlinepart).
> AFAIK, placing diffs into message text is not welcomed too.

It's a correct way to do it, when your mail client can handle the
whitespace (tabs) correct and does no line truncating at 80, which is
requested for the mail text itself.

tglx

  parent reply	other threads:[~2005-04-27 10:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27  7:34 nand locking Timofei V. Bondarenko
2005-04-27  9:00 ` Thomas Gleixner
2005-04-27  9:09   ` Timofei V. Bondarenko
2005-04-27 10:45     ` Thomas Gleixner
2005-04-27 10:27       ` Timofei V. Bondarenko
2005-04-27 10:32         ` Artem B. Bityuckiy
2005-04-27 11:35         ` Thomas Gleixner [this message]
2005-04-27 11:19           ` Timofei V. Bondarenko
2005-04-27 18:27     ` Todd Poynor
2005-04-28  7:00       ` Timofei V. Bondarenko
2005-04-29 22:19         ` Todd Poynor

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=1114601747.879.199.camel@tglx.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=linux-mtd@lists.infradead.org \
    --cc=timm@ipi.ac.ru \
    /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