From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXpLc-0000J0-4o for qemu-devel@nongnu.org; Fri, 04 Sep 2015 07:40:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXpLY-0005lh-OW for qemu-devel@nongnu.org; Fri, 04 Sep 2015 07:40:00 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:51740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXpLY-0005kz-Jt for qemu-devel@nongnu.org; Fri, 04 Sep 2015 07:39:56 -0400 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NU5009OMHQHAM80@mailout1.w1.samsung.com> for qemu-devel@nongnu.org; Fri, 04 Sep 2015 12:39:53 +0100 (BST) From: Pavel Fedin Date: Fri, 04 Sep 2015 14:39:46 +0300 Message-id: Subject: [Qemu-devel] [PATCH 0/2] arm/virt: Add full-sized CPU affinity handling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell 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(-) -- 2.4.4