public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: Charles Manning <manningc2@actrix.gen.nz>
Cc: linux-mtd@lists.infradead.org
Subject: Re: PATCH to help understanding
Date: Mon, 20 Dec 2004 07:59:52 +0100	[thread overview]
Message-ID: <1103525992.27708.80.camel@tglx.tec.linutronix.de> (raw)
In-Reply-To: <20041217044111.066064A07@blood.actrix.co.nz>

On Fri, 2004-12-17 at 16:24 +1300, Charles Manning wrote:
> Hi folks
> 
> I propose the following patches to mtd.h to help the understanding of these 
> functions.
> 
> read_ecc() and write_ecc() use the argument eccbuff, but this is really oob 
> data being passed. The oob data might contain ecc info as well as other 
> stuff. With the preferred autoplacement model, this will not have ecc info in 
> it. Therefore I suggest a rename on this parameter.

Makes sense.

> suspend() and resume() are surely the functions for erase suspend and erase 
> resume (for those NOR devices that provide this). Perhaps I goofed here and 
> these are really power control functions (which would seem rather dodgy). If 
> these are really power control fns, then where does erase suspend/resume get 
> exposed?

Those are PM functions. The sole purpose of suspend is to disable the
access to the chip until resume is called, so you can power down safely.
I will add those to the NAND driver for completeness.

Erase suspend/resume is nowhere exposed. It is handled inside the chip
family drivers. For NAND we removed the erase suspend because it does
not work on all chips and the erase time is short anyway so it's not
worth the extra trouble.

tglx

      reply	other threads:[~2004-12-20  6:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-01 14:24 Fwd: Re: JFFS XConfig David Mackay
2002-02-01 15:11 ` David Woodhouse
2002-02-01 17:33   ` debugging strategies for jffs2 Adam Wozniak
2002-02-01 18:04     ` David Woodhouse
2002-02-01 18:34       ` Adam Wozniak
2002-02-01 19:38         ` David Woodhouse
2002-02-01 19:44         ` Adam Wozniak
2002-02-01 21:40           ` Adam Wozniak
2002-02-01 23:11             ` David Woodhouse
2002-02-01 23:18               ` Adam Wozniak
2002-02-01 23:30                 ` David Woodhouse
2002-02-01 23:41                   ` Adam Wozniak
2004-12-17  3:24           ` PATCH to help understanding Charles Manning
2004-12-20  6:59             ` Thomas Gleixner [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=1103525992.27708.80.camel@tglx.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=linux-mtd@lists.infradead.org \
    --cc=manningc2@actrix.gen.nz \
    /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