This series makes use of the new thread_fp_state and thread_vr_state structures to unify the way that floating-point and vector state is handled. With both KVM and the main kernel using the same structures to store this state for various contexts, we can reduce the amount of code for loading and storing this state and also eliminate some extra copies. Overall, this series removes a net 240 lines of code. This series also provides the foundation for implementing support for POWER8 transactional memory in KVM. These patches are against the merge of Ben Herrenschmidt's for-kvm branch and Alex Graf's kvm-ppc-queue branch. Paul. --- arch/powerpc/include/asm/kvm_book3s.h | 3 - arch/powerpc/include/asm/kvm_host.h | 12 +-- arch/powerpc/include/asm/switch_to.h | 2 - arch/powerpc/kernel/asm-offsets.c | 9 +- arch/powerpc/kvm/book3s.c | 38 +++++-- arch/powerpc/kvm/book3s_exports.c | 4 - arch/powerpc/kvm/book3s_hv.c | 42 -------- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 82 ++++----------- arch/powerpc/kvm/book3s_paired_singles.c | 169 +++++++++++++++---------------- arch/powerpc/kvm/book3s_pr.c | 137 +++++-------------------- arch/powerpc/kvm/book3s_rmhandlers.S | 47 --------- arch/powerpc/kvm/booke.c | 20 ---- arch/powerpc/kvm/booke.h | 5 +- arch/powerpc/kvm/powerpc.c | 4 +- 14 files changed, 167 insertions(+), 407 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html