[PATCH] powerpc: add Book E support to 64-bit hibernation
scottwood at freescale.com
Fri Mar 15 03:52:41 EST 2013
On 03/14/2013 03:37:53 AM, Johannes Berg wrote:
> On Thu, 2013-03-14 at 11:36 +0800, Wang Dongsheng wrote:
> > +#ifdef CONFIG_PPC_BOOK3S_64
> > /* can't use RESTORE_SPECIAL(MSR) */
> > ld r0, SL_MSR(r11)
> > mtmsrd r0, 0
> Unfortunately, I forgot the reason for this comment, and didn't put a
> better one (almost 6 years ago!!)
> > + RESTORE_SPECIAL(MSR)
> but maybe you also can't do this on BookE?
If it's because book3s needs mtmsrd instead of mtmsr, that doesn't
apply to booke.
More information about the Linuxppc-dev