[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/5] fix numa node mapping for hotplugged CPUs
From: |
Igor Mammedov |
Subject: |
[Qemu-devel] [PATCH v4 0/5] fix numa node mapping for hotplugged CPUs |
Date: |
Mon, 4 Jul 2016 17:51:14 +0200 |
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
--
2.7.0
- [Qemu-devel] [PATCH v4 0/5] fix numa node mapping for hotplugged CPUs,
Igor Mammedov <=
- [Qemu-devel] [PATCH v4 1/5] tests: acpi: add CPU hotplug testcase, Igor Mammedov, 2016/07/04
- [Qemu-devel] [PATCH v4 2/5] tests: DO NOT APPLY: add APIC.cphp and DSDT.cphp blobs, Igor Mammedov, 2016/07/04
- [Qemu-devel] [PATCH v4 3/5] numa: reduce code duplication by adding helper numa_get_node_for_cpu(), Igor Mammedov, 2016/07/04
- [Qemu-devel] [PATCH v4 4/5] acpi: provide _PXM method for CPU devices if QEMU is started numa enabled, Igor Mammedov, 2016/07/04
- [Qemu-devel] [PATCH v4 5/5] tests: acpi: extend cphp testcase with numa check, Igor Mammedov, 2016/07/04
- Re: [Qemu-devel] [PATCH v4 0/5] fix numa node mapping for hotplugged CPUs, Igor Mammedov, 2016/07/18