Skip to content

Add support for ppc64le in kvmtool

Balbir Singh kvm kvm-ppc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Add basic little endian support.powerpc/kvm.c powerpc/spapr.h+15 -140 replies
2/5Add basic infrastructure to run tasks on vCPUsarm/include/arm-common/kvm-cpu-arch.h include/kvm/kvm-cpu.h include/kvm/kvm.h +4 more+84 -04 replies
3/5Implement H_SET_MODE for ppc64lepowerpc/include/kvm/kvm-cpu-arch.h powerpc/kvm.c powerpc/spapr.h +1 more+82 -30 replies
4/5Fix a race during exit processingbuiltin-run.c kvm.c+8 -01 reply
5/5Implement spapr pci for little endian systems.powerpc/spapr_pci.c+14 -110 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichael Ellerman
SeriesA-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Add support for ppc64le in kvmtool

Changelog v2: Add support for running a task on all cpus by
Michael Ellerman. Large improvements to patch 2/4

This patchset adds support for ppc64le. As a part of the support 1/4 converts key data structures in the fdt to big endian. 2/4 introduces h_set_mode call to support little endian interrupt processing. This requires support to execute and queue commands to a particular vcpu and hence a generic infrastructure is added in patch 2/4. Patch 3/4 fixes a race condition found during exit. Patch 4/4 adds support for fixing spapr_pci to support little endian guests so that virtio-pci can be detected and virtio can work

This patchset was tested on x64 (on my laptop) and on a ppc64le system.

Balbir Singh (5):
Add basic little endian support.
Add basic infrastructure to run tasks on vCPUs
Implement H_SET_MODE for ppc64le
Fix a race during exit processing
Implement spapr pci for little endian systems.

 arm/include/arm-common/kvm-cpu-arch.h |  1 +
 builtin-run.c                         |  3 ++
 include/kvm/kvm-cpu.h                 |  6 +++
 include/kvm/kvm.h                     |  1 +
 kvm-cpu.c                             | 73 +++++++++++++++++++++++++++++++++++
 kvm.c                                 |  5 +++
 mips/include/kvm/kvm-cpu-arch.h       |  1 +
 powerpc/include/kvm/kvm-cpu-arch.h    |  3 ++
 powerpc/kvm.c                         | 26 ++++++-------
 powerpc/spapr.h                       | 20 ++++++++--
 powerpc/spapr_hcall.c                 | 66 +++++++++++++++++++++++++++++++
 powerpc/spapr_pci.c                   | 25 ++++++------
 x86/include/kvm/kvm-cpu-arch.h        |  1 +
 13 files changed, 203 insertions(+), 28 deletions(-)
Signature · 1 line
2.5.5