qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Enable QEMU to control MPIDR values
@ 2017-02-27 17:37 Andrew Jones
  2017-02-27 17:37 ` [Qemu-devel] [PATCH 1/2] HACK: update linux/kvm header Andrew Jones
  2017-02-27 17:37 ` [Qemu-devel] [PATCH 2/2] arm: kvm: set MPIDR when we can Andrew Jones
  0 siblings, 2 replies; 5+ messages in thread
From: Andrew Jones @ 2017-02-27 17:37 UTC (permalink / raw)
  To: qemu-devel, qemu-arm
  Cc: peter.maydell, christoffer.dall, marc.zyngier, imammedo

Igor needs to know/select vcpu MPIDR values early in order to map vcpus
to vnodes. Waiting until after vcpu init, when KVM sets them, is too
late. With this patch, and its KVM counterpart, QEMU can control the
values, allowing it to know/select them whenever it likes.

Andrew Jones (2):
  HACK: update linux/kvm header
  arm: kvm: set MPIDR when we can

 linux-headers/linux/kvm.h |  1 +
 target/arm/cpu.c          |  3 +--
 target/arm/kvm32.c        | 22 ++++++++++++++--------
 target/arm/kvm64.c        | 22 ++++++++++++++--------
 4 files changed, 30 insertions(+), 18 deletions(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-03-02 16:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-27 17:37 [Qemu-devel] [PATCH 0/2] Enable QEMU to control MPIDR values Andrew Jones
2017-02-27 17:37 ` [Qemu-devel] [PATCH 1/2] HACK: update linux/kvm header Andrew Jones
2017-02-27 17:37 ` [Qemu-devel] [PATCH 2/2] arm: kvm: set MPIDR when we can Andrew Jones
2017-03-02 16:13   ` Peter Maydell
2017-03-02 16:23     ` Andrew Jones

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