summary refs log tree commit diff stats
path: root/hw/misc/aspeed_scu.c
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2016-07-14 16:51:37 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-07-14 16:51:37 +0100
commit95eb49c8a302f8adf5e360bca026af1c5ef21716 (patch)
tree0c18d51ae91f1c54c0c93581825b5e735b057f61 /hw/misc/aspeed_scu.c
parentc8efd802c40ed7f06eeebd4c8f7ff558424d7225 (diff)
downloadfocaccia-qemu-95eb49c8a302f8adf5e360bca026af1c5ef21716.tar.gz
focaccia-qemu-95eb49c8a302f8adf5e360bca026af1c5ef21716.zip
hw/arm/virt: tcg: adjust MPIDR like KVM
KVM adjusts the MPIDR of guest vcpus based on the architecture of
the host, 32-bit vs. 64-bit, and, for 64-bit, also on the type of
GIC the guest is using. To be consistent and improve SGI efficiency
we make the same adjustments for TCG as 64-bit KVM hosts. We neglect
to add consistency with 32-bit KVM hosts, as that would reduce SGI
efficiency and KVM is expected to change.

As MPIDR is a system register, and thus guest visible, we only make
adjustments for current and later versioned machines.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Message-id: 1467378129-23302-3-git-send-email-drjones@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/aspeed_scu.c')
0 files changed, 0 insertions, 0 deletions