Skip to content

arm/virt: Add full-sized CPU affinity handling

Pavel Fedin qemu-devel 1 version Applied

Status from this message: Thanks, applied to target-arm.next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2target-arm: Refactor CPU affinity handlingtarget-arm/cpu-qom.h target-arm/cpu.c target-arm/kvm32.c +1 more+15 -50 replies
2/2arm/virt: Add full-sized CPU affinity handlinghw/arm/virt.c+30 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] arm/virt: Add full-sized CPU affinity handling

This small patchset is actually a small extraction from vGICv3 support, as it was suggested in
https://lists.gnu.org/archive/html/qemu-devel/2015-09/msg00921.html.
Initially i wanted to just make a check, but ended up full implementation which is not more difficult. Since we don't make any assumptions about particular affinity layout in non-TCG code, i don't see why this would not work with KVM.

In order to avoid using magic numbers i refactored out some useful affinity-related constants.

Pavel Fedin (2):
target-arm: Refactor CPU affinity handling
arm/virt: Add full-sized CPU affinity handling

 hw/arm/virt.c        | 32 ++++++++++++++++++++++++++++++--
 target-arm/cpu-qom.h | 12 ++++++++++++
 target-arm/cpu.c     |  2 +-
 target-arm/kvm32.c   |  3 +--
 target-arm/kvm64.c   |  3 +--
 5 files changed, 45 insertions(+), 7 deletions(-)
Signature · 1 line
2.4.4