[PATCH] powerpc: Fix possible unrecoverable exception caused by '70fe3d9'

Cyril Bur cyrilbur at gmail.com
Thu Mar 17 09:32:29 AEDT 2016


On Wed, 16 Mar 2016 22:45:20 +1100
Benjamin Herrenschmidt <benh at au1.ibm.com> wrote:

> On Wed, 2016-03-16 at 13:29 +1100, Cyril Bur wrote:
> > +#ifdef CONFIG_PPC_BOOK3S
> > +       ld      r10,PACAKMSR(r13)
> > +       li      r9,MSR_RI
> > +       andc    r11,r10,r9 /* Re-clear RI */
> > +       mtmsrd  r11,1
> > +#endif
> 
> Do you need that ? IE, mtmsrd with "1" will only update RI and EE, is
> the value of EE in PACAMSR variable ?
> 

Indeed, so, we should check with Anton who did the disable EE and clear RI just
a bit before that.

I had a quick look and to the best of my knowledge EE is not set in PACAKMSR.

> Cheers,
> Ben.
> 



More information about the Linuxppc-dev mailing list