kernel-ark/arch/powerpc/platforms/ps3
Geert Uytterhoeven b4cb2941f8 [POWERPC] PS3: Use the HVs storage device notification mechanism properly
The PS3 hypervisor has a storage device notification mechanism to wait
until a storage device is ready.  Unfortunately the storage device
probing code used this mechanism in an incorrect way, needing a
polling loop and handling of devices that are not yet ready.

This change corrects this by:
  - First waiting for the reception of an asynchronous notification
    that a new storage device became ready,
  - Then looking up the storage device in the device repository.

On shutdown, the storage probe thread is stopped and the storage
notification device is closed using a reboot notifier.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-01-25 22:52:51 +11:00
..
device-init.c [POWERPC] PS3: Use the HVs storage device notification mechanism properly 2008-01-25 22:52:51 +11:00
exports.c
htab.c [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
hvcall.S
interrupt.c [POWERPC] Invert null match behaviour for irq_hosts 2007-09-14 01:33:20 +10:00
Kconfig [POWERPC] Make PS3_SYS_MANAGER default y, not m 2007-12-14 16:45:00 +11:00
Makefile [POWERPC] PS3: Device registration routines. 2007-06-28 19:16:43 +10:00
mm.c [POWERPC] PS3: Make bus_id and dev_id u64 2008-01-25 22:52:51 +11:00
os-area.c [POWERPC] PS3: Fix printing of os-area magic numbers 2007-12-28 15:07:52 +11:00
platform.h [POWERPC] PS3: Use the HVs storage device notification mechanism properly 2008-01-25 22:52:51 +11:00
repository.c [POWERPC] PS3: Use the HVs storage device notification mechanism properly 2008-01-25 22:52:51 +11:00
setup.c [POWERPC] PS3: Save os-area params to device tree 2007-10-09 21:01:59 +10:00
smp.c [POWERPC] PS3: Kexec support 2007-06-28 19:16:37 +10:00
spu.c [POWERPC] cell: wrap master run control bit 2007-12-21 19:45:05 +11:00
system-bus.c [POWERPC] PS3: Make bus_id and dev_id u64 2008-01-25 22:52:51 +11:00
time.c [POWERPC] PS3: Add os-area rtc_diff set/get routines 2007-10-09 21:01:58 +10:00