From: Michael Neuling Date: Fri, 28 Jun 2013 08:17:09 +0000 (+1000) Subject: powerpc/tm: Clear MSR RI in non-recoverable TM code X-Git-Tag: v3.11-rc1~94^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=090b9284d72561644d17a6e568d29c9e472c9865;p=pandora-kernel.git powerpc/tm: Clear MSR RI in non-recoverable TM code When we treclaim and trecheckpoint there's an unavoidable period when r1 will not be a valid kernel stack pointer. This patch clears the MSR recoverable interrupt (RI) bit over these regions to indicate we have an invalid kernel stack pointer. For treclaim, the region over which we clear MSR RI is larger than required to avoid the need for an extra costly mtmsrd. Thanks to Paulus for suggesting this change. Signed-off-by: Michael Neuling Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed