Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[POWERPC] PS3: Fix bootwrapper hang bug

Fix a bug in the lv1_get_repository_node_value() routine of the PS3
bootwrapper. Changes in the PS3 system firmware 2.20 cause this bug
to hang the system when branching from the bootwrapper to the kernel
_start.

Since the video system has not yet been enabled at the time
the bug is hit, the system hangs with a blank screen. Earlier
firmwares don't cause such a catastrophic failure, and so this
bug went undetected.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

Geoff Levand and committed by
Paul Mackerras
e5a21dd8 a0620156

+1 -1
+1 -1
arch/powerpc/boot/ps3-hvcall.S
··· 145 145 .macro STORE_REGS_5_2 146 146 lwz r11, 16(r1) 147 147 std r4, 0(r11) 148 - lwz r11, 24(r1) 148 + lwz r11, 20(r1) 149 149 std r5, 0(r11) 150 150 .endm 151 151