KVM: PPC: Unify FP/VMX/VSX state handling between KVM and main kernel
Status from this message: Thanks, applied all to kvm-ppc-queue.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | KVM: PPC: Use load_fp/vr_state rather than load_up_fpu/altivecarch/ arch/ arch/ +3 more | +14 | 0 replies | |
| 2/4 | KVM: PPC: Store FP/VSX/VMX state in thread_fp/vr_state structuresarch/ arch/ arch/ +6 more | +131 | 0 replies | |
| 3/4 | KVM: PPC: Load/save FP/VMX/VSX state directly to/from vcpu structarch/ arch/ arch/ | +19 | 0 replies | |
| 4/4 | KVM: PPC: Book3S HV: Use load/store_fp_state functions in HV guest entry/exitarch/ arch/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] KVM: PPC: Unify FP/VMX/VSX state handling between KVM and main kernel
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(-)