Re: pmac_nvram problems

From: Johannes Berg (johannes_at_sipsolutions.net)
Date: 08/18/05

  • Next message: jeff shia: "Re: can I write to the cdrom through writing to the device file sr0?"
    To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Date:	Thu, 18 Aug 2005 15:03:04 +0200
    
    
    

    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.

    Thanks for your answers,
    johannes

    
    

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/



  • Next message: jeff shia: "Re: can I write to the cdrom through writing to the device file sr0?"

    Relevant Pages

    • Re: [RFC][PATCH] new timeofday arch specific hooks (v. A3)
      ... On Sat, 2005-03-12 at 16:52 +1100, Benjamin Herrenschmidt wrote: ... you can test the new time of day subsystem. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] Small PCI core patch
      ... On 11/21/05, Benjamin Herrenschmidt wrote: ... They really doesn't give a shit ... catch is the part about advancing the Linux desktop, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Parallel ATA with libata status with the patches Im working on
      ... On Gwe, 2005-11-04 at 17:43 +1100, Benjamin Herrenschmidt wrote: ... It always looked to me like a gross ... IRQ mask is on my todo list and looks quite easy. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: List of SCO files
      ... On Wednesday 12 November 2003 07:49 pm, Benjamin Herrenschmidt wrote: ... festering mess of includes this must all be resolved somehow on other ... I'm betting on the "This is a stupid hack" phrase. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] Changing pci_iounmap to take bar argument
      ... On Thu, 2005-05-26 at 14:27 +1000, Benjamin Herrenschmidt wrote: ... and MIPS seems to be broken here ... ... it's like ppc, it's ioremap'ing ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)