From patchwork Mon Oct 22 00:30:52 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: powerpc/powernv: Fix OPAL debug entry X-Patchwork-Submitter: Benjamin Herrenschmidt X-Patchwork-Id: 193068 X-Patchwork-Delegate: benh@kernel.crashing.org Message-Id: <1350865852.2476.143.camel@pasglop> To: linuxppc-dev Date: Mon, 22 Oct 2012 11:30:52 +1100 From: Benjamin Herrenschmidt List-Id: Linux on PowerPC Developers Mail List 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 --- arch/powerpc/kernel/head_64.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S index 58bddee..694e3fa 100644 --- a/arch/powerpc/kernel/head_64.S +++ b/arch/powerpc/kernel/head_64.S @@ -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