public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: pmac_nvram problems
Date: Fri, 19 Aug 2005 07:40:26 +1000	[thread overview]
Message-ID: <1124401227.5182.14.camel@gaston> (raw)
In-Reply-To: <1124370184.30888.5.camel@localhost>

On Thu, 2005-08-18 at 15:03 +0200, Johannes Berg wrote:
> On Thu, 2005-08-18 at 15:00 +1000, Benjamin Herrenschmidt wrote:
> 
> > There used to be cases where we used the nvram stuff before kmalloc()
> > was available. I'll check if this is still the case.
> 
> Ah, ok. Makes sense. In that case I suppose it must be #ifdef'ed for the
> module case.
>  
> > Well... the driver doesn't expect you to boot a different OS while
> > suspended to disk :)
> 
> Yeah :) It'd be nice though since except for that I haven't found any
> other adverse effects.
> 
> > Regarding caching the data in memory, this is done becaues nvram is
> > actually a flash on recent machines, and you really want to limit the
> > number of write cycles to it.
> 
> Ok, makes sense. When I get some time I'll look into converting and
> implementing reloading for that case, but now that I compile as a module
> and unload it, it hardly is a priority.

Just a question: Why do you want to have the nvram low level code as a
module ? It's sort-of an intergral part of the arch code ...

Ben.



  reply	other threads:[~2005-08-18 21:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-17 11:16 pmac_nvram problems Johannes Berg
2005-08-18  5:00 ` Benjamin Herrenschmidt
2005-08-18 13:03   ` Johannes Berg
2005-08-18 21:40     ` Benjamin Herrenschmidt [this message]
2005-08-19 10:55       ` Johannes Berg
2005-08-20  0:03         ` Benjamin Herrenschmidt

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=1124401227.5182.14.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.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