From: Balbir Singh Subject: [PATCH 0/5] Add support for ppc64le in kvmtool Date: Thu, 31 Mar 2016 22:28:22 +1100 Message-ID: <1459423707-8956-1-git-send-email-bsingharora@gmail.com> Cc: mpe@ellerman.id.au, mikey@neuling.org, Balbir Singh To: will.deacon@arm.com, kvm@vger.kernel.org Return-path: Received: from mail-pf0-f181.google.com ([209.85.192.181]:34242 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755705AbcCaL2q (ORCPT ); Thu, 31 Mar 2016 07:28:46 -0400 Received: by mail-pf0-f181.google.com with SMTP id x3so67610571pfb.1 for ; Thu, 31 Mar 2016 04:28:46 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: 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(-) -- 2.5.5