All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] arm/arm64: KVM: Optimize arm64 fp/simd, saves 30-50% on exits for non-VHE
@ 2015-07-11  1:19 ` Mario Smarduch
  0 siblings, 0 replies; 14+ messages in thread
From: Mario Smarduch @ 2015-07-11  1:19 UTC (permalink / raw)
  To: kvmarm, marc.zyngier, christoffer.dall; +Cc: linux-arm-kernel, kvm

This is a followp to previous iteration but implemented on top of VHE patches. 
Only non-VHE path is addressied by this patch. In second patch 32-bit handler 
is updated to keep exit handling consistent with 64-bit code, and nothing
has changed.

Currently we save/restore fp/simd on each exit, the first  patch optimizes 
arm64 save/restore, we only do so on Guest access. hackbench and
several lmbench tests show anywhere from 30% to 50% of exits don't 
save/restore fp/simd register set.

Tested on Foundation Model, unfortuntely not tested yet on VHE enabled model.

Mario Smarduch (2):
  Optimize arm64 non-VHE fpsimd skip 30-50% save/restore on exits
  keep arm vfp/simd exit handling consistent with arm64

 arch/arm/kvm/interrupts.S        | 14 +++++-----
 arch/arm64/include/asm/kvm_arm.h |  5 +++-
 arch/arm64/kvm/hyp.S             | 58 +++++++++++++++++++++++++++++++++++++---
 3 files changed, 66 insertions(+), 11 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-07-16 19:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-11  1:19 [PATCH v4 0/2] arm/arm64: KVM: Optimize arm64 fp/simd, saves 30-50% on exits for non-VHE Mario Smarduch
2015-07-11  1:19 ` Mario Smarduch
2015-07-11  1:19 ` [PATCH v4 1/2] arm64: KVM: Optimize arm64 non-VHE fpsimd skip 30-50% save/restore on exits Mario Smarduch
2015-07-11  1:19   ` Mario Smarduch
2015-07-11  1:19 ` [PATCH v4 2/2] keep arm vfp/simd exit handling consistent with arm64 Mario Smarduch
2015-07-11  1:19   ` Mario Smarduch
2015-07-16 15:52 ` [PATCH v4 0/2] arm/arm64: KVM: Optimize arm64 fp/simd, saves 30-50% on exits for non-VHE Christoffer Dall
2015-07-16 15:52   ` Christoffer Dall
2015-07-16 18:23   ` Mario Smarduch
2015-07-16 18:23     ` Mario Smarduch
2015-07-16 19:05     ` Christoffer Dall
2015-07-16 19:05       ` Christoffer Dall
2015-07-16 19:22       ` Mario Smarduch
2015-07-16 19:22         ` Mario Smarduch

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.