All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org
Subject: [Qemu-devel] [PATCH v2 0/5] target/arm: KVM vs ARMISARegisters
Date: Fri,  2 Nov 2018 14:54:28 +0000	[thread overview]
Message-ID: <20181102145433.4553-1-richard.henderson@linaro.org> (raw)

My previous patch set for replacing feature bits with id registers
failed to consider that these id registers are beginning to control
migration, and thus we must fill them in for KVM as well.

Thus, we want to initialize these values within CPU from the host.

Finally, re-send the T32EE conversion patch, fixing the build
failure on an arm32 host in kvm32.c.

Changes, v1->v2:
  * Remove assert that AArch32 sysreg <= UINT32_MAX.
  * Remove unused local variable.
  * Add commentary for AArch32 sysregs vs missing AArch32 support.


r~


Richard Henderson (5):
  target/arm: Install ARMISARegisters from kvm host
  target/arm: Fill in ARMISARegisters for kvm64
  target/arm: Introduce read_sys_reg32 for kvm32
  target/arm: Fill in ARMISARegisters for kvm32
  target/arm: Convert t32ee from feature bit to isar3 test

 target/arm/cpu.h     |  6 +++-
 target/arm/kvm_arm.h |  1 +
 linux-user/elfload.c |  2 +-
 target/arm/cpu.c     |  4 ---
 target/arm/helper.c  |  2 +-
 target/arm/kvm.c     |  1 +
 target/arm/kvm32.c   | 75 +++++++++++++++++++++++++-------------------
 target/arm/kvm64.c   | 69 ++++++++++++++++++++++++++++++++++++++--
 target/arm/machine.c |  3 +-
 9 files changed, 120 insertions(+), 43 deletions(-)

-- 
2.17.2

             reply	other threads:[~2018-11-02 14:54 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-02 14:54 Richard Henderson [this message]
2018-11-02 14:54 ` [Qemu-devel] [PATCH v2 1/5] target/arm: Install ARMISARegisters from kvm host Richard Henderson
2018-11-02 14:54 ` [Qemu-devel] [PATCH v2 2/5] target/arm: Fill in ARMISARegisters for kvm64 Richard Henderson
2018-11-02 14:54 ` [Qemu-devel] [PATCH v2 3/5] target/arm: Introduce read_sys_reg32 for kvm32 Richard Henderson
2018-11-02 14:54 ` [Qemu-devel] [PATCH v2 4/5] target/arm: Fill in ARMISARegisters " Richard Henderson
2018-11-02 14:54 ` [Qemu-devel] [PATCH v2 5/5] target/arm: Convert t32ee from feature bit to isar3 test Richard Henderson
2018-11-02 16:36 ` [Qemu-devel] [PATCH v2 0/5] target/arm: KVM vs ARMISARegisters Peter Maydell
2018-11-02 19:35   ` Christoffer Dall
2018-11-03  9:53     ` Richard Henderson
2018-11-03 12:32       ` Marc Zyngier
2018-11-04  9:50         ` Richard Henderson
2018-11-04 11:25           ` Marc Zyngier
2018-11-05 11:47             ` Mark Rutland

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=20181102145433.4553-1-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.