[Cbe-oss-dev] [RFC] Cell: shutdown method for spu_sysdev_class

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue May 8 08:11:57 EST 2007


> > The PS3 bootloader uses 'kexec -e' to load a 2nd stage kernel.  In
> > this case spu_sysdev_class.shutdown is called (from sysdev_shutdown).
> > I need to free the HV resources so they will be available for the 2nd
> > stage kernel.
> 
> I see.  Your second stage kernel is not a kdump capture kernel, but is
> intended for some other purpose.

That's the way the PS3 boots. A "kboot" kernel is flashed in a reserved
area of the system flash with a special ramdisk. It loads the "final"
kernel from the target boot device and kexec's to it.

Ben.





More information about the cbe-oss-dev mailing list