powerpc: Print MSR TM bits in oops messages
authorMichael Neuling <mikey@neuling.org>
Fri, 20 Nov 2015 04:15:32 +0000 (15:15 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 Dec 2015 09:40:26 +0000 (20:40 +1100)
commit801c0b2c4db3a33d56b3e19240df7b897e5bbfbc
tree7a677ba1f08b363859c3b1a54a8a942d9dbf9974
parent81d7a3294de7e9828310bbf986a67246b13fa01e
powerpc: Print MSR TM bits in oops messages

Print MSR TM bits in oops messages.  This appends them to the end
like this:

    MSR: 8000000502823031 <SF,VEC,VSX,FP,ME,IR,DR,LE,TM[TE]>

You get the TM[] only if at least one TM MSR bit is set.  Inside the
TM[], E means Enabled (bit 32), S means Suspended (bit 33), and T
means Transactional (bit 34)

If no bits are set, you get no TM[] output.

Include rework of printbits() to handle this case.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c