Skip to content

Convert KVM to use FPU API

Sheng Yang kvm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 6 repliesIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

Use unlazy_fpu() to handle host FPU, avoiding save/restore of host FPU states.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86: Export FPU API for KVM usearch/x86/include/asm/i387.h arch/x86/include/asm/xsave.h arch/x86/kernel/i387.c +1 more+8 -13 replies
1/3x86: Export FPU API for KVM usearch/x86/include/asm/i387.h arch/x86/include/asm/xsave.h arch/x86/kernel/i387.c +1 more+8 -10 replies
2/3KVM: x86: Use unlazy_fpu() for host FPUarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+2 -170 replies
3/3KVM: x86: Use FPU APIarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+17 -521 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH][v2 0/3] Convert KVM to use FPU API

Change from v1:
Use unlazy_fpu() to handle host FPU, avoiding save/restore of host FPU states.

Sheng Yang (3):
x86: Export FPU API for KVM use
KVM: x86: Use unlazy_fpu() for host FPU
KVM: x86: Use FPU API

 arch/x86/include/asm/i387.h     |    2 +
 arch/x86/include/asm/kvm_host.h |   18 +---------
 arch/x86/include/asm/xsave.h    |    3 ++
 arch/x86/kernel/i387.c          |    3 +-
 arch/x86/kernel/process.c       |    1 +
 arch/x86/kvm/x86.c              |   70 ++++++++++-----------------------------
 6 files changed, 27 insertions(+), 70 deletions(-)