From: Anton Blanchard Date: Mon, 17 Mar 2008 04:27:09 +0000 (+1100) Subject: [POWERPC] Fix PMU + soft interrupt disable bug X-Git-Tag: v2.6.25-rc7~64^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44387e9ff25267c78a99229aca55ed750e9174c7;p=pandora-kernel.git [POWERPC] Fix PMU + soft interrupt disable bug 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, which can lead to it getting evicted, which can lead to a nasty unrecoverable SLB miss in the exception entry code. Signed-off-by: Anton Blanchard Acked-by: Benjamin Herrenschmidt Acked-by: Olof Johansson Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed