[Cbe-oss-dev] [RFC] Cell: shutdown method for spu_sysdev_class
Geoff Levand
geoffrey.levand at am.sony.com
Tue May 8 01:53:33 EST 2007
Luke Browning wrote:
> On Sun, 2007-05-06 at 02:34 +0200, Arnd Bergmann wrote:
>> On Sunday 06 May 2007, Geoff Levand wrote:
>> >
>> > Add a shutdown method to spu_sysdev_class to allow proper spu resource
>> > cleanup on system shutdown. This is needed to support kexec on the PS3
>> > platform.
>> >
>
> why is this needed for kexec? In a crash, shutdown is not called.
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.
-Geoff
More information about the cbe-oss-dev
mailing list