[PATCH 4/4] powerpc/boot: don't clobber r6 and r7 in epapr boot

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Feb 11 15:50:20 AEDT 2015


On Wed, 2015-02-11 at 12:27 +0800, Jeremy Kerr wrote:
> Hi Ben,
> 
> > You might want to also remove the use of r8 and r9 which are supposed
> > to contain the OPAL entry and base for debugging purposes. We would also
> > have to restore them before booting the kernel.
> 
> I'd prefer that to be a separate change, if that's okay - it'd require
> us to change the kentry prototype, and would percolate to epapr_platform
> init too.

Ok.

Ben.




More information about the Linuxppc-dev mailing list