Received: from eggs.gnu.org ([2001:4830:134:3::10]:47489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP3KZ-00009q-DF for qemu-devel@nongnu.org; Mon, 18 Jul 2016 03:51:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bP3KV-0005Jb-8j for qemu-devel@nongnu.org; Mon, 18 Jul 2016 03:51:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP3KV-0005JV-36 for qemu-devel@nongnu.org; Mon, 18 Jul 2016 03:51:07 -0400 Date: Mon, 18 Jul 2016 09:51:01 +0200 From: Igor Mammedov Message-ID: <20160718095101.4fae8381@nial.brq.redhat.com> In-Reply-To: <1467647479-40202-1-git-send-email-imammedo@redhat.com> References: <1467647479-40202-1-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 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: marcel@redhat.com, peter.maydell@linaro.org, david@gibson.dropbear.id.au, mst@redhat.com, zhaoshenglong@huawei.com On Mon, 4 Jul 2016 17:51:14 +0200 Igor Mammedov wrote: Ping, Michael, it seems that series fell through cracks, could you pick it up please? > Changelog: > v3->v4: > - return -1 on failure from numa_get_node_for_cpu() > - replace SRAT table blob in 5/5 with note to maintainer to add it manually > 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/q35/APIC.cphp | Bin 0 -> 160 bytes > tests/acpi-test-data/q35/DSDT.cphp | Bin 0 -> 9197 bytes > tests/bios-tables-test.c | 30 ++++++++++++++++++++++++++++++ > 13 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/q35/APIC.cphp > create mode 100644 tests/acpi-test-data/q35/DSDT.cphp >