]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: PPC: Book3S HV: Add new state for transactional memory
authorMichael Neuling <mikey@neuling.org>
Wed, 8 Jan 2014 10:25:32 +0000 (21:25 +1100)
committerAlexander Graf <agraf@suse.de>
Mon, 27 Jan 2014 15:01:20 +0000 (16:01 +0100)
commit7b490411c37f7ab7965cbdfe5e3ec28eadb6db5b
tree04f0462eeb7c6d07b158726fbfa323d9dc68227d
parent7b37a1232273912dd57cd72b82fe70407bff7683
KVM: PPC: Book3S HV: Add new state for transactional memory

Add new state for transactional memory (TM) to kvm_vcpu_arch.  Also add
asm-offset bits that are going to be required.

This also moves the existing TFHAR, TFIAR and TEXASR SPRs into a
CONFIG_PPC_TRANSACTIONAL_MEM section.  This requires some code changes to
ensure we still compile with CONFIG_PPC_TRANSACTIONAL_MEM=N.  Much of the added
the added #ifdefs are removed in a later patch when the bulk of the TM code is
added.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
[agraf: fix merge conflict]
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv_rmhandlers.S