From: Balbir Singh Subject: [PATCH 0/5][KVMTOOL] Add support for ppc64le Date: Sun, 3 Apr 2016 20:37:57 +1000 Message-ID: <1459679882-30382-1-git-send-email-bsingharora@gmail.com> Cc: mpe@ellerman.id.au, mikey@neuling.org, aik@ozlabs.ru, Balbir Singh To: will.deacon@arm.com, kvm@vger.kernel.org Return-path: Received: from mail-pa0-f52.google.com ([209.85.220.52]:35845 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752994AbcDCKiQ (ORCPT ); Sun, 3 Apr 2016 06:38:16 -0400 Received: by mail-pa0-f52.google.com with SMTP id tt10so123466412pab.3 for ; Sun, 03 Apr 2016 03:38:16 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: 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(-) -- 2.5.5