qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Greg Bellows <greg.bellows@linaro.org>
To: qemu-devel@nongnu.org, peter.maydell@linaro.org,
	christoffer.dall@linaro.org, alex.bennee@linaro.org
Cc: Greg Bellows <greg.bellows@linaro.org>
Subject: [Qemu-devel] [PATCH v3 0/4] target-arm: ARM64: Adding EL1 AARCH32 guest support
Date: Tue, 27 Jan 2015 17:58:33 -0600	[thread overview]
Message-ID: <1422403117-16921-1-git-send-email-greg.bellows@linaro.org> (raw)

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 ...

---

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

v2 -> v3
- Fix KVM64/AArch64 hang by conditionalizing register sync
- Conditionalize 64-bit interrupt handler setting of aarch64

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        |  6 +++-
 target-arm/cpu64.c      | 29 ++++++++++++++++
 target-arm/helper-a64.c |  9 +++--
 target-arm/internals.h  | 89 +++++++++++++++++++++++++++++++++++++++++++++++++
 target-arm/kvm64.c      | 33 +++++++++++++++---
 target-arm/op_helper.c  |  6 ++--
 7 files changed, 175 insertions(+), 17 deletions(-)

-- 
1.8.3.2

             reply	other threads:[~2015-01-27 23:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-27 23:58 Greg Bellows [this message]
2015-01-27 23:58 ` [Qemu-devel] [PATCH v3 1/4] target-arm: Add CPU property to disable AArch64 Greg Bellows
2015-02-03 19:14   ` Peter Maydell
2015-02-03 21:15     ` Peter Maydell
2015-02-03 21:21       ` Christoffer Dall
2015-02-03 21:45         ` Greg Bellows
2015-02-03 21:46     ` Greg Bellows
2015-01-27 23:58 ` [Qemu-devel] [PATCH v3 2/4] target-arm: Add feature parsing to virt Greg Bellows
2015-02-03 19:10   ` Peter Maydell
2015-01-27 23:58 ` [Qemu-devel] [PATCH v3 3/4] target-arm: Add 32/64-bit register sync Greg Bellows
2015-02-03 18:54   ` Peter Maydell
2015-02-04 18:44     ` Greg Bellows
2015-02-04 23:37     ` Greg Bellows
2015-02-05  8:28       ` Peter Maydell
2015-01-27 23:58 ` [Qemu-devel] [PATCH v3 4/4] target-arm: Add AArch32 guest support to KVM64 Greg Bellows
2015-02-03 19:04   ` Peter Maydell
2015-01-29 10:13 ` [Qemu-devel] [PATCH v3 0/4] target-arm: ARM64: Adding EL1 AARCH32 guest support Christoffer Dall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1422403117-16921-1-git-send-email-greg.bellows@linaro.org \
    --to=greg.bellows@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=christoffer.dall@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).