Skip to content

Add support for ppc64le

Balbir Singh kvm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Add basic little endian support for ppc64le.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 -00 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 -00 replies
5/5Implement spapr pci for little endian systems.powerpc/spapr_pci.c+14 -110 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

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

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][KVMTOOL] Add support for ppc64le

NOTE: Resending with Ack's and Patch 2/5 attribution

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 for ppc64le.
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