Commit 75ffe88d2b3e19ed02d299c9a4c89882bef3b4f7

Authored by Geoff Levand
Committed by Paul Mackerras
1 parent e5a21dd873

[POWERPC] PS3: Use system reboot on restart

The PS3 Other OS boot flag is not checked when an LPAR reboot is done,
so the ps3-boot-game-os utility fails to reboot the system into the
Game OS.  This fix changes the PS3 restart handler from requesting an
PS3_SM_NEXT_OP_LPAR_REBOOT to requesting an PS3_SM_NEXT_OP_SYS_REBOOT.

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

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/ps3/ps3-sys-manager.c
... ... @@ -622,7 +622,7 @@
622 622 ps3_vuart_cancel_async(dev);
623 623  
624 624 ps3_sys_manager_send_attr(dev, 0);
625   - ps3_sys_manager_send_next_op(dev, PS3_SM_NEXT_OP_LPAR_REBOOT,
  625 + ps3_sys_manager_send_next_op(dev, PS3_SM_NEXT_OP_SYS_REBOOT,
626 626 PS3_SM_WAKE_DEFAULT);
627 627 ps3_sys_manager_send_request_shutdown(dev);
628 628