From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDVvp-0006yw-6Z for qemu-devel@nongnu.org; Tue, 20 Jan 2015 05:21:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDVvm-0005oC-0x for qemu-devel@nongnu.org; Tue, 20 Jan 2015 05:21:09 -0500 Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:45458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDVvl-0005o5-Kl for qemu-devel@nongnu.org; Tue, 20 Jan 2015 05:21:05 -0500 Received: by mail-lb0-f180.google.com with SMTP id b6so7078285lbj.11 for ; Tue, 20 Jan 2015 02:21:04 -0800 (PST) Message-ID: <54BE2C0F.8050503@gmail.com> Date: Tue, 20 Jan 2015 13:21:03 +0300 From: Sergey Fedorov MIME-Version: 1.0 References: <1421706621-23731-1-git-send-email-greg.bellows@linaro.org> In-Reply-To: <1421706621-23731-1-git-send-email-greg.bellows@linaro.org> Content-Type: multipart/alternative; boundary="------------000105010101000503020101" Subject: Re: [Qemu-devel] [PATCH 0/5] target-arm: ARM64: Adding EL1 AARCH32 guest support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Bellows , qemu-devel@nongnu.org, peter.maydell@linaro.org, christoffer.dall@linaro.org This is a multi-part message in MIME format. --------------000105010101000503020101 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit On 20.01.2015 01:30, 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 > propoerty is "-aarch64" that is specified as follows: > > aarch64-softmmu/qemu-system-aarch64 -M virt -cpu cortex-a57,-aarch64 ... Hi! It seems a little confusing for me to specify '-aarch64' when forcing AArch32 execution state. Why don't just specify 'aarch32' in command line instead of '-aarch64' construction? BTW, /propoerty/property/ Best regards, Serge > > Support also added to support uncompressed images (Image) for aarch32. > > Greg Bellows (5): > target-arm: Add ARM CPU feature parsing > target-arm: Add feature parsing to virt > target-arm: Add 32/64-bit register sync > target-arm: Add AArch32 guest support to KVM64 > target-arm: Adjust kernel load address for Image > > hw/arm/boot.c | 33 +++++++++++++++++- > hw/arm/virt.c | 21 ++++++++++-- > target-arm/cpu.c | 45 ++++++++++++++++++++++++- > target-arm/helper-a64.c | 5 +-- > target-arm/internals.h | 89 +++++++++++++++++++++++++++++++++++++++++++++++++ > target-arm/kvm64.c | 21 +++++++++--- > target-arm/op_helper.c | 6 ++-- > 7 files changed, 204 insertions(+), 16 deletions(-) > --------------000105010101000503020101 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit On 20.01.2015 01:30, 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
propoerty is "-aarch64" that is specified as follows:

    aarch64-softmmu/qemu-system-aarch64 -M virt -cpu cortex-a57,-aarch64 ...

Hi!

It seems a little confusing for me to specify '-aarch64' when forcing AArch32 execution state. Why don't just specify 'aarch32' in command line instead of '-aarch64' construction?

BTW, /propoerty/property/

Best regards,
Serge


Support also added to support uncompressed images (Image) for aarch32.

Greg Bellows (5):
  target-arm: Add ARM CPU feature parsing
  target-arm: Add feature parsing to virt
  target-arm: Add 32/64-bit register sync
  target-arm: Add AArch32 guest support to KVM64
  target-arm: Adjust kernel load address for Image

 hw/arm/boot.c           | 33 +++++++++++++++++-
 hw/arm/virt.c           | 21 ++++++++++--
 target-arm/cpu.c        | 45 ++++++++++++++++++++++++-
 target-arm/helper-a64.c |  5 +--
 target-arm/internals.h  | 89 +++++++++++++++++++++++++++++++++++++++++++++++++
 target-arm/kvm64.c      | 21 +++++++++---
 target-arm/op_helper.c  |  6 ++--
 7 files changed, 204 insertions(+), 16 deletions(-)


--------------000105010101000503020101--