Re: [PATCH] Fix PMU + soft interrupt disable bug

2008-03-17 Thread Olof Johansson
On Sun, Mar 16, 2008 at 11:27:09PM -0500, Anton Blanchard wrote: > > Since the PMU is an NMI now, it can come at any time we are only soft > disabled. We must hard disable around the two places we allow the kernel > stack SLB and r1 to go out of sync. Otherwise the PMU exception can > force a kern

Re: [PATCH] Fix PMU + soft interrupt disable bug

2008-03-17 Thread Benjamin Herrenschmidt
On Sun, 2008-03-16 at 23:27 -0500, Anton Blanchard wrote: > Since the PMU is an NMI now, it can come at any time we are only soft > disabled. We must hard disable around the two places we allow the kernel > stack SLB and r1 to go out of sync. Otherwise the PMU exception can > force a kernel stack

[PATCH] Fix PMU + soft interrupt disable bug

2008-03-16 Thread Anton Blanchard
Since the PMU is an NMI now, it can come at any time we are only soft disabled. We must hard disable around the two places we allow the kernel stack SLB and r1 to go out of sync. Otherwise the PMU exception can force a kernel stack SLB into another slot. Signed-off-by: Anton Blanchard <[EMAIL PRO