From: Anup Patel Subject: [PATCH v5 0/4] kvmtool: ARM/ARM64: Misc updates Date: Wed, 1 Oct 2014 16:04:51 +0530 Message-ID: <1412159695-28062-1-git-send-email-anup.patel@linaro.org> Cc: kvm@vger.kernel.org, patches@apm.com, will.deacon@arm.com, marc.zyngier@arm.com, penberg@kernel.org, christoffer.dall@linaro.org, pranavkumar@linaro.org, andre.przywara@arm.com, Anup Patel To: kvmarm@lists.cs.columbia.edu Return-path: Received: from mail-pa0-f41.google.com ([209.85.220.41]:48329 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751053AbaJAKfV (ORCPT ); Wed, 1 Oct 2014 06:35:21 -0400 Received: by mail-pa0-f41.google.com with SMTP id eu11so32127pac.28 for ; Wed, 01 Oct 2014 03:35:20 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: This patchset updates KVMTOOL to use some of the features supported by Linux-3.16 KVM ARM/ARM64, such as: 1. Target CPU == Host using KVM_ARM_PREFERRED_TARGET vm ioctl 2. Target CPU type Potenza for using KVMTOOL on X-Gene 3. PSCI v0.2 support for Aarch32 and Aarch64 guest 4. System event exit reason Changes since v4: - Avoid using magic '0' target for kvm arm generic target - Added comment for why we need Potenza target in KVMTOOL Changes since v3: - Add generic targets for aarch32 and aarch64 which are used by KVMTOOL when target type returned by KVM_ARM_PREFERRED_TARGET vm ioctl is not known to KVMTOOL - Print more info when handling system reset event Changes since v2: - Use target type returned by KVM_ARM_PREFERRED_TARGET vm ioctl for VCPU init such that we don't need to update KVMTOOL for every new host hardware - Simplify DTB generation for PSCI node Changes since v1: - Drop the patch to fix compile error for aarch64 - Fallback to old method of trying all target types if KVM_ARM_PREFERRED_TARGET vm ioctl fails - Print more info when handling KVM_EXIT_SYSTEM_EVENT Anup Patel (4): kvmtool: ARM: Use KVM_ARM_PREFERRED_TARGET vm ioctl to determine target cpu kvmtool: ARM64: Add target type potenza for aarch64 kvmtool: Handle exit reason KVM_EXIT_SYSTEM_EVENT kvmtool: ARM/ARM64: Provide PSCI-0.2 to guest when KVM supports it tools/kvm/arm/aarch32/arm-cpu.c | 8 +++ tools/kvm/arm/aarch64/arm-cpu.c | 23 ++++++++- tools/kvm/arm/fdt.c | 51 +++++++++++++++++-- tools/kvm/arm/include/arm-common/kvm-cpu-arch.h | 2 + tools/kvm/arm/kvm-cpu.c | 61 +++++++++++++++++++---- tools/kvm/kvm-cpu.c | 21 ++++++++ 6 files changed, 149 insertions(+), 17 deletions(-) -- 1.7.9.5