Skip to content

arm64: Basic SVE guest support

Dave Martin kvmarm linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm/arm64: [HACK] Sync kernel headers from sve-guest v6arm/aarch64/include/asm/kvm.h include/linux/kvm.h+27 -00 replies
2/3arm64: Add basic SVE supportarm/aarch32/include/kvm/kvm-cpu-arch.h arm/aarch64/include/kvm/kvm-config-arch.h arm/aarch64/include/kvm/kvm-cpu-arch.h +3 more+37 -20 replies
3/3arm64: Add command-line option to set the guest's SVE vector lengthsarm/aarch64/include/kvm/kvm-config-arch.h arm/aarch64/kvm-cpu.c arm/include/arm-common/kvm-config-arch.h+87 -20 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH kvmtool v2 0/3] arm64: Basic SVE guest support

This series, based on kvmtool master [1], contains development hacks to accompany the recently posted v6 SVE guest support series for the Linux kernel [2].

This series supersedes the previous posting [3], and is a clean(er) rewrite of the minimal support required for SVE, without the debug/ testing cruft.

Due to an ABI change, this series does not work with the older (v5) KVM series.

Testing and review welcome.

In particular, if people have a view on the --sve-vls parameter, I'd be interested to discuss what that should look like. See patch 3.

[1]
git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git master
https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git/log/

Specifically, commit c57e001a3efb ("arm: Auto-detect guest GIC type").

[2] [PATCH v5 00/26] KVM: arm64: SVE guest support
https://lists.cs.columbia.edu/pipermail/kvmarm/2019-March/thread.html

(Note, the subject line for this posting was incorrect. It should have
read: [PATCH v6 00/27] KVM: arm64: SVE guest support)

git://linux-arm.org/linux-dm.git sve-kvm/v6/head
http://linux-arm.org/git?p=linux-dm.git;a=shortlog;h=refs/heads/sve-kvm/v6/head

Dave Martin (3):
arm/arm64: [HACK] Sync kernel headers from sve-guest v6
arm64: Add basic SVE support
arm64: Add command-line option to set the guest's SVE vector lengths

 arm/aarch32/include/kvm/kvm-cpu-arch.h    |  5 ++
 arm/aarch64/include/asm/kvm.h             | 22 +++++++
 arm/aarch64/include/kvm/kvm-config-arch.h | 10 +++-
 arm/aarch64/include/kvm/kvm-cpu-arch.h    |  7 ++-
 arm/aarch64/kvm-cpu.c                     | 97 +++++++++++++++++++++++++++++++
 arm/include/arm-common/kvm-config-arch.h  |  2 +
 arm/kvm-cpu.c                             |  3 +
 include/linux/kvm.h                       |  5 ++
 8 files changed, 149 insertions(+), 2 deletions(-)
Signature · 1 line
2.1.4