[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 0/4] fix numa node mapping for hotplugged CPUs
From: |
Igor Mammedov |
Subject: |
[Qemu-devel] [PATCH v5 0/4] fix numa node mapping for hotplugged CPUs |
Date: |
Wed, 5 Oct 2016 17:51:22 +0200 |
Changelog:
v4->v5:
- rebase on top of current master, practicaaly resend of reviewed v4
which got lost during 2.7 merge window, so I've kept all Reviewed-by-s
* 'tests: acpi: extend cphp testcase with numa check'
couldn't be applied due context change
so I had to fix it manually
- split out expected tables blobs into separate patch
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 makes hotplugged CPUs assigned to correct numa nodes
for Linux guests and extends CPU hotplug test with numa options
NOTE TO MAINTAINER:
After running rebuild-expected-aml.sh
blobs to be updated
tests/acpi-test-data/pc/DSDT.cphp
tests/acpi-test-data/q35/DSDT.cphp
new blobs to be added
tests/acpi-test-data/pc/SRAT.cphp
tests/acpi-test-data/q35/SRAT.cphp
Igor Mammedov (4):
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
DO NOT APPLY: acpi tables expected blobs update
include/sysemu/numa.h | 3 +++
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 ++----
numa.c | 12 ++++++++++++
tests/acpi-test-data/pc/DSDT.cphp | Bin 6435 -> 6471 bytes
tests/acpi-test-data/pc/SRAT.cphp | Bin 0 -> 304 bytes
tests/acpi-test-data/q35/DSDT.cphp | Bin 9197 -> 9233 bytes
tests/acpi-test-data/q35/SRAT.cphp | Bin 0 -> 304 bytes
tests/bios-tables-test.c | 6 ++++--
13 files changed, 43 insertions(+), 24 deletions(-)
create mode 100644 tests/acpi-test-data/pc/SRAT.cphp
create mode 100644 tests/acpi-test-data/q35/SRAT.cphp
--
2.7.4
- [Qemu-devel] [PATCH v5 0/4] fix numa node mapping for hotplugged CPUs,
Igor Mammedov <=