[Qemu-devel] [PATCH v3 0/5] target/arm: KVM vs ARMISARegisters

Richard Henderson posted 5 patches 5 years, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181108175246.13416-1-richard.henderson@linaro.org
Test docker-clang@ubuntu passed
Test checkpatch passed
Test asan passed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
There is a newer version of this series
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   | 90 +++++++++++++++++++++++++++++++++++++++++++-
target/arm/machine.c |  3 +-
9 files changed, 141 insertions(+), 43 deletions(-)
[Qemu-devel] [PATCH v3 0/5] target/arm: KVM vs ARMISARegisters
Posted by Richard Henderson 5 years, 4 months ago
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, v2->v3:
  * Work around sysreg read failures from old host kernels.

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   | 90 +++++++++++++++++++++++++++++++++++++++++++-
 target/arm/machine.c |  3 +-
 9 files changed, 141 insertions(+), 43 deletions(-)

-- 
2.17.2