PS3: Fix kexec storage probe
Quoted 10 lines · On Wed, 16 Jan 2008, [email protected] wrote:
From: Geert Uytterhoeven <[email protected]>
The PS3 storage probe thread left the storage notification device open on shutdown, so the device open would fail with
LV1_BUSYwhen the second stage kexec kernel tried to open the device.To fix this:
- Replace the call towait_for_completion_interruptible()by a call towait_event_interruptible()that also checkskthread_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: [email protected] 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