[patch 06/18] PS3: Fix kexec storage probe

Geert Uytterhoeven Geert.Uytterhoeven at sonycom.com
Fri Jan 18 01:44:22 EST 2008


On Wed, 16 Jan 2008, geoffrey.levand at am.sony.com wrote:
> From: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
> 
> The PS3 storage probe thread left the storage notification device open on
> shutdown, so the device open would fail with LV1_BUSY when the second stage
> kexec kernel tried to open the device.
> 
> To fix this:
>   - Replace the call to wait_for_completion_interruptible() by a call to
>     wait_event_interruptible() that also checks kthread_should_stop(),
>   - Install a reboot notifier that stops the storage probe thread on shutdown.

Actually I had planned to fold this into `[patch 05/18] PS3: Use the HVs
storage device notification mechanism properly'.

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 at 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


More information about the Linuxppc-dev mailing list