diff options
author | Michael Neuling <mikey@neuling.org> | 2013-06-28 18:17:09 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-06-30 15:49:43 +1000 |
commit | 090b9284d72561644d17a6e568d29c9e472c9865 (patch) | |
tree | abaa4ab0c0f59bd15c1748192a863095af2f3296 /lib/smp_processor_id.c | |
parent | 80aa0fb4940bf8ee52bcb574d74459a7aea45621 (diff) | |
download | talos-op-linux-090b9284d72561644d17a6e568d29c9e472c9865.tar.gz talos-op-linux-090b9284d72561644d17a6e568d29c9e472c9865.zip |
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 <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions