powerpc/tm: Save MSR to PACA before RFID
authorBreno Leitao <leitao@debian.org>
Mon, 26 Nov 2018 20:11:58 +0000 (18:11 -0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 21 Dec 2018 03:46:50 +0000 (14:46 +1100)
commit63a0d6b03b8e6fdd8c8ce5eec0ac04ef8e67d63f
treed684da9d4c8abd124ddcb37d061f483e3edd4cb7
parente1c3743e1a20647c53b719dbf28b48f45d23f2cd
powerpc/tm: Save MSR to PACA before RFID

As other exit points, move SRR1 (MSR) into paca->tm_scratch, so, if
there is a TM Bad Thing in RFID, it is easy to understand what was the
SRR1 value being used.

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/entry_64.S