From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Subject: Re: [PATCH v5 0/4] kvmtool: ARM/ARM64: Misc updates Date: Wed, 01 Oct 2014 13:58:40 +0100 Message-ID: <542BFA80.8090105@arm.com> References: <1412159695-28062-1-git-send-email-anup.patel@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "kvmarm@lists.cs.columbia.edu" , "kvm@vger.kernel.org" , "patches@apm.com" , Marc Zyngier , "christoffer.dall@linaro.org" , "pranavkumar@linaro.org" To: Anup Patel , Will Deacon , "penberg@kernel.org" Return-path: Received: from cam-admin0.cambridge.arm.com ([217.140.96.50]:61765 "EHLO cam-admin0.cambridge.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768AbaJAM6v (ORCPT ); Wed, 1 Oct 2014 08:58:51 -0400 In-Reply-To: <1412159695-28062-1-git-send-email-anup.patel@linaro.org> Sender: kvm-owner@vger.kernel.org List-ID: Hi Anup, On 01/10/14 11:34, Anup Patel wrote: > 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 Thanks for the quick respin. Looks fine now for me. For the whole v5 series: Reviewed-by: Andre Przywara Cheers, Andre. > 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(-) >