diff options
| author | Andrew Jones | 2016-07-14 17:51:37 +0200 |
|---|---|---|
| committer | Peter Maydell | 2016-07-14 17:51:37 +0200 |
| commit | 95eb49c8a302f8adf5e360bca026af1c5ef21716 (patch) | |
| tree | 0c18d51ae91f1c54c0c93581825b5e735b057f61 /scripts/switch-timer-api | |
| parent | gic: provide defines for v2/v3 targetlist sizes (diff) | |
| download | qemu-95eb49c8a302f8adf5e360bca026af1c5ef21716.tar.gz qemu-95eb49c8a302f8adf5e360bca026af1c5ef21716.tar.xz 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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
