Received: from eggs.gnu.org ([2001:4830:134:3::10]:36607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLprz-0003J9-N8 for qemu-devel@nongnu.org; Thu, 12 Feb 2015 04:15:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLpru-0001Bw-J5 for qemu-devel@nongnu.org; Thu, 12 Feb 2015 04:15:35 -0500 Received: from mail-pd0-f173.google.com ([209.85.192.173]:39842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLpru-0001Br-Dl for qemu-devel@nongnu.org; Thu, 12 Feb 2015 04:15:30 -0500 Received: by pdjy10 with SMTP id y10so10706384pdj.6 for ; Thu, 12 Feb 2015 01:15:29 -0800 (PST) Date: Thu, 12 Feb 2015 19:10:51 +1000 From: "Edgar E. Iglesias" Message-ID: <20150212091051.GA29368@toto> References: <1423723750-2544-1-git-send-email-greg.bellows@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1423723750-2544-1-git-send-email-greg.bellows@linaro.org> Subject: Re: [Qemu-devel] [PATCH v7 0/4] target-arm: ARM64: Adding EL1 AARCH32 guest support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Bellows Cc: peter.maydell@linaro.org, alex.bennee@linaro.org, qemu-devel@nongnu.org, christoffer.dall@linaro.org, a.spyridakis@virtualopensystems.com On Thu, Feb 12, 2015 at 02:49:06PM +0800, Greg Bellows wrote: > Added support for running an AArch32 guest on a AArch64 KVM host. Support has > only been added to the QEMU machvirt machine. The addition of CPU properties > specifiable from the command line were added to allow disablement of AArch64 > execution state hereby forcing EL1 to be AArch32. The new CPU command line > property is "aarch64=on/off" that is specified as follows: > > aarch64-softmmu/qemu-system-aarch64 -M virt -cpu cortex-a57,aarch64=off ... Thanks for working on this Greg! Reviewed-by: Edgar E. Iglesias on the whole series. Cheers, Edgar > > --- > > v6 -> v7 > - Fix comment issues > > v5 -> v6 > - Reorder conditionals in 64_to_32 for readability. > > v3 -> v4 > - Move and fix sync functions to properly handle current EL/PL > - Replace use of strtok > - Add disablement of aarch64 option if KVM disabled > - Revert and update AArch64 check on vcpu init to not check for AARch64 feature > but rather AArch64 family type. > - Relocate register sync on get > - add missing env->aarch64 refresh after pstate fetch > > v2 -> v3 > - Fix KVM64/AArch64 hang by conditionalizing register sync > - Conditionalize 64-bit interrupt handler setting of aarch64 > > v1 -> v2 > - Replaced custom property parsing with use of generic CPU property parser > - Added CPU property registration > - Fixed mulitple property handling in virt.c > - Removed unnecessary kernel load changes > > Greg Bellows (4): > target-arm: Add CPU property to disable AArch64 > target-arm: Add feature parsing to virt > target-arm: Add 32/64-bit register sync > target-arm: Add AArch32 guest support to KVM64 > > hw/arm/virt.c | 20 ++++- > target-arm/cpu.c | 5 +- > target-arm/cpu.h | 2 + > target-arm/cpu64.c | 39 +++++++++ > target-arm/helper-a64.c | 5 +- > target-arm/helper.c | 211 ++++++++++++++++++++++++++++++++++++++++++++++++ > target-arm/kvm64.c | 36 ++++++++- > target-arm/op_helper.c | 6 +- > 8 files changed, 309 insertions(+), 15 deletions(-) > > -- > 1.8.3.2 >