aboutsummaryrefslogtreecommitdiff
path: root/stubs
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 /stubs
parentc8efd802c40ed7f06eeebd4c8f7ff558424d7225 (diff)
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 'stubs')
0 files changed, 0 insertions, 0 deletions