alistair23-linux/arch
Paul Mackerras f024ee0984 KVM: PPC: Book3S HV: Pull out TM state save/restore into separate procedures
This moves the transactional memory state save and restore sequences
out of the guest entry/exit paths into separate procedures.  This is
so that these sequences can be used in going into and out of nap
in a subsequent patch.

The only code changes here are (a) saving and restore LR on the
stack, since these new procedures get called with a bl instruction,
(b) explicitly saving r1 into the PACA instead of assuming that
HSTATE_HOST_R1(r13) is already set, and (c) removing an unnecessary
and redundant setting of MSR[TM] that should have been removed by
commit 9d4d0bdd9e0a ("KVM: PPC: Book3S HV: Add transactional memory
support", 2013-09-24) but wasn't.

Cc: stable@vger.kernel.org # v3.15+
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-07-28 16:09:34 +10:00
..
alpha
arc
arm KVM/ARM changes for Linux 4.8 2016-07-22 20:27:26 +02:00
arm64 KVM: arm64: vgic-its: Enable ITS emulation as a virtual MSI controller 2016-07-18 18:14:38 +01:00
avr32
blackfin
c6x
cris
frv
h8300 Merge branch 'hash' of git://ftp.sciencehorizons.net/linux 2016-05-28 16:15:25 -07:00
hexagon
ia64
m32r
m68k Merge branch 'hash' of git://ftp.sciencehorizons.net/linux 2016-05-28 16:15:25 -07:00
metag
microblaze Merge branch 'hash' of git://ftp.sciencehorizons.net/linux 2016-05-28 16:15:25 -07:00
mips MIPS: KVM: Emulate generic QEMU machine on r6 T&E 2016-07-05 16:09:20 +02:00
mn10300
nios2
openrisc
parisc
powerpc KVM: PPC: Book3S HV: Pull out TM state save/restore into separate procedures 2016-07-28 16:09:34 +10:00
s390 KVM: s390: let ptff intercepts result in cc=3 2016-07-18 14:15:00 +02:00
score
sh
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc 2016-05-31 22:20:56 -07:00
tile
um Merge branch 'for-linus-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml 2016-05-27 18:54:59 -07:00
unicore32
x86 KVM: x86: bump KVM_MAX_VCPU_ID to 1023 2016-07-14 09:29:35 +02:00
xtensa
.gitignore
Kconfig Merge branch 'hash' of git://ftp.sciencehorizons.net/linux 2016-05-28 16:15:25 -07:00