From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIwxv-0006UU-5Z for qemu-devel@nongnu.org; Fri, 01 Jul 2016 07:50:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIwxq-0006v2-V5 for qemu-devel@nongnu.org; Fri, 01 Jul 2016 07:50:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIwxq-0006ux-PE for qemu-devel@nongnu.org; Fri, 01 Jul 2016 07:50:30 -0400 From: Igor Mammedov Date: Fri, 1 Jul 2016 13:50:21 +0200 Message-Id: <1467373826-110305-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH v3 0/5] fix numa node mapping for hotplugged CPUs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mst@redhat.com, zhaoshenglong@huawei.com, peter.maydell@linaro.org, david@gibson.dropbear.id.au, marcel@redhat.com Changelog: v1->v3: - fix commit message for 4/5 - add numa_get_node_for_cpu() helper - add comment in code explaining why _PXM is being added Series adds acpi tables tests for CPU hotplug and makes hotplugged CPUs assigned to correct numa nodes for Linux guests + extends CPU hotplug test with numa options Igor Mammedov (5): tests: acpi: add CPU hotplug testcase tests: DO NOT APPLY: add APIC.cphp and DSDT.cphp blobs numa: reduce code duplication by adding helper numa_get_node_for_cpu() acpi: provide _PXM method for CPU devices if QEMU is started numa enabled tests: acpi: extend cphp testcase with numa check hw/acpi/cpu.c | 12 ++++++++++++ hw/arm/virt-acpi-build.c | 6 ++---- hw/arm/virt.c | 7 +++---- hw/i386/acpi-build.c | 7 ++----- hw/i386/pc.c | 8 +++----- hw/ppc/spapr_cpu_core.c | 6 ++---- include/sysemu/numa.h | 3 +++ numa.c | 12 ++++++++++++ tests/acpi-test-data/pc/APIC.cphp | Bin 0 -> 160 bytes tests/acpi-test-data/pc/DSDT.cphp | Bin 0 -> 6435 bytes tests/acpi-test-data/pc/SRAT.cphp | Bin 0 -> 304 bytes tests/acpi-test-data/q35/APIC.cphp | Bin 0 -> 160 bytes tests/acpi-test-data/q35/DSDT.cphp | Bin 0 -> 9197 bytes tests/acpi-test-data/q35/SRAT.cphp | Bin 0 -> 304 bytes tests/bios-tables-test.c | 30 ++++++++++++++++++++++++++++++ 15 files changed, 69 insertions(+), 22 deletions(-) create mode 100644 tests/acpi-test-data/pc/APIC.cphp create mode 100644 tests/acpi-test-data/pc/DSDT.cphp create mode 100644 tests/acpi-test-data/pc/SRAT.cphp create mode 100644 tests/acpi-test-data/q35/APIC.cphp create mode 100644 tests/acpi-test-data/q35/DSDT.cphp create mode 100644 tests/acpi-test-data/q35/SRAT.cphp -- 1.8.3.1