Skip to content

Commit

Permalink
powerpc/powernv: Fix OPAL debug entry
Browse files Browse the repository at this point in the history
OPAL provides the firmware base/entry in registers at boot time
for debugging purposes. We had a bug in the code trying to stash
these into the appropriate kernel globals (a line of code was
probably dropped by accident back when this was merged)

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Benjamin Herrenschmidt committed Nov 15, 2012
1 parent bc26957 commit ab7f961
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/kernel/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,7 @@ _INIT_STATIC(start_here_multiplatform)

#ifdef CONFIG_PPC_EARLY_DEBUG_OPAL
/* Setup OPAL entry */
LOAD_REG_ADDR(r11, opal)
std r28,0(r11);
std r29,8(r11);
#endif
Expand Down

0 comments on commit ab7f961

Please sign in to comment.