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

Benjamin Herrenschmidt benh at au1.ibm.com
Wed Mar 16 22:45:20 AEDT 2016


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 ?

Cheers,
Ben.



More information about the Linuxppc-dev mailing list