1
0
Files
linux/arch/powerpc/kernel
Michael Neuling 7f06f21d40 powerpc/tm: Add checking to treclaim/trechkpt
If we do a treclaim and we are not in TM suspend mode, it results in a TM bad
thing (ie. a 0x700 program check).  Similarly if we do a trechkpt and we have
an active transaction or TEXASR Failure Summary (FS) is not set, we also take a
TM bad thing.

This should never happen, but if it does (ie. a kernel bug), the cause is
almost impossible to debug as the GPR state is mostly userspace and hence we
don't get a call chain.

This adds some checks in these cases case a BUG_ON() (in asm) in case we ever
hit these cases.  It moves the register saving around to preserve r1 till later
also.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-04-28 17:36:51 +10:00
..
2014-04-09 12:53:28 +10:00
2013-11-21 10:33:36 +11:00
2014-03-04 17:37:52 +01:00
2013-12-30 15:19:31 +11:00
2014-04-28 13:08:46 +10:00
2014-04-07 10:33:12 +10:00
2014-04-07 10:33:12 +10:00
2014-04-09 12:53:28 +10:00
2014-03-19 19:57:14 -05:00