linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
To: Milton Miller <miltonm@bga.com>
Cc: ppcdev <linuxppc-dev@ozlabs.org>
Subject: Re: [patch 1/6] ps3: Preallocate bootmem memory for the PS3 FLASH
Date: Tue, 19 Jun 2007 13:36:06 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.62.0706191326360.4069@pademelon.sonytel.be> (raw)
In-Reply-To: <bc61eb97d01812aeccaff374fd1d775b@bga.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1946 bytes --]

On Mon, 18 Jun 2007, Milton Miller wrote:
> On Fri Jun 15 23:32:41 EST 2007, Geert Uytterhoeven wrote:
> > On Fri, 15 Jun 2007, Benjamin Herrenschmidt wrote:
> > > On Fri, 2007-06-15 at 13:39 +0200, Geert Uytterhoeven wrote:
> > > > Preallocate 256 KiB of bootmem memory for the PS3 FLASH ROM storage
> > > > driver.
> > > 
> > > I still very much dislike the #ifdef xxx_MODULE in main kernel code.
> > 
> > Me too, but there's no other reliable way to allocate it after boot up...
> > 
> > > At the end of the day, is it realistic to ever use a PS3 without the
> > > storage driver ? I would suggest just allocating those unconditionally.
> > 
> > If you don't plan to (a) boot into GameOS or (b) update the kboot kernel,
> > then the answer is: yes, you can live without the FLASH ROM driver, and save
> > one promille of RAM.
> 
> In that case, why not make it an early_param, and only change the default
> based on the config varables?   It sounds like I might want to reclaim this
> memory even if I compiled in the driver.

Like `ps3flash=off' on the kernel command line to disable it? Can be done.

> Statement (a) is because one has to write the flag to say don't' boot OtherOS
> to go back to GameOS (or reset all defaults) I presume.

Indeed, there's a flag in the FLASH ROM to choose between booting GameOS and
OtherOS (e.g. Linux).

With kind regards,
 
Geert Uytterhoeven
Software Architect

Sony Network and Software Technology Center Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium
 
Phone:    +32 (0)2 700 8453	
Fax:      +32 (0)2 700 8622	
E-mail:   Geert.Uytterhoeven@sonycom.com	
Internet: http://www.sony-europe.com/
 	
Sony Network and Software Technology Center Europe	
A division of Sony Service Centre (Europe) N.V.	
Registered office: Technologielaan 7 · B-1840 Londerzeel · Belgium	
VAT BE 0413.825.160 · RPR Brussels	
Fortis Bank Zaventem · Swift GEBABEBB08A · IBAN BE39001382358619

  reply	other threads:[~2007-06-19 11:36 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-15 11:39 [patch 0/6] PS3 Storage Drivers for 2.6.23, take 2 Geert Uytterhoeven
2007-06-15 11:39 ` [patch 1/6] ps3: Preallocate bootmem memory for the PS3 FLASH ROM storage driver Geert Uytterhoeven
2007-06-15 13:27   ` Benjamin Herrenschmidt
2007-06-15 13:32     ` Geert Uytterhoeven
2007-06-18 16:25       ` [patch 1/6] ps3: Preallocate bootmem memory for the PS3 FLASH Milton Miller
2007-06-19 11:36         ` Geert Uytterhoeven [this message]
2007-06-15 11:39 ` [patch 2/6] ps3: Storage Driver Core Geert Uytterhoeven
2007-06-15 11:39 ` [patch 3/6] PS3: Storage device registration routines Geert Uytterhoeven
2007-06-15 11:39 ` [patch 4/6] ps3: Disk Storage Driver Geert Uytterhoeven
2007-06-15 14:35   ` David Woodhouse
2007-06-15 14:41     ` Arnd Bergmann
2007-06-15 14:43     ` Geert Uytterhoeven
2007-06-15 16:15       ` Alan Cox
2007-06-15 18:05         ` Geert Uytterhoeven
2007-06-15 21:19         ` David Miller
2007-06-15 22:40           ` James Bottomley
2007-06-15 23:08             ` David Miller
2007-06-15 23:28               ` James Bottomley
2007-06-15 23:37                 ` David Miller
2007-06-19  5:56               ` Christoph Hellwig
2007-06-19  6:07                 ` David Miller
2007-06-19  8:15                   ` Christoph Hellwig
2007-06-15 23:11           ` Alan Cox
2007-06-16  6:21           ` Geert Uytterhoeven
2007-06-19  5:53           ` Christoph Hellwig
2007-06-19  6:03             ` David Miller
2007-06-19  7:06               ` Geert Uytterhoeven
2007-06-15 21:17       ` David Miller
2007-06-15 21:28         ` Jeff Garzik
2007-06-15 21:37           ` David Miller
2007-06-15 21:50         ` Jeff Garzik
2007-06-15 21:55           ` David Miller
2007-06-19  5:43   ` Christoph Hellwig
2007-06-19 12:51     ` Geert Uytterhoeven
2007-06-19 17:19       ` Christoph Hellwig
2007-06-15 11:39 ` [patch 5/6] ps3: ROM " Geert Uytterhoeven
2007-06-18 16:30   ` Milton Miller
2007-06-19  5:44     ` Christoph Hellwig
2007-06-19 12:29     ` Geert Uytterhoeven
2007-06-20 12:16       ` Milton Miller
2007-06-19  5:51   ` Christoph Hellwig
2007-06-15 11:39 ` [patch 6/6] ps3: FLASH " Geert Uytterhoeven
2007-06-18 16:30   ` Milton Miller
2007-06-19 12:02     ` Geert Uytterhoeven

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=Pine.LNX.4.62.0706191326360.4069@pademelon.sonytel.be \
    --to=geert.uytterhoeven@sonycom.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=miltonm@bga.com \
    /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;
as well as URLs for NNTP newsgroup(s).