fix numa node mapping for hotplugged CPUs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest4 patches 0 repliesNew
- v45 patches 3 repliesSuperseded
- v35 patches 7 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 8 replies | Superseded |
Changes in v5 from the cover letter
- 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
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | numa: reduce code duplication by adding helper numa_get_node_for_cpu()hw/ hw/ hw/ +4 more | +27 | 0 replies | |
| 2/4 | acpi: provide _PXM method for CPU devices if QEMU is started numa enabledhw/ | +12 | 0 replies | |
| 3/4 | tests: acpi: extend cphp testcase with numa checktests/ | +4 | 0 replies | |
| 4/4 | tests: acpi tables expected blobs updatetests/ tests/ tests/ +1 more | +0 | 0 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | David Gibson | Shannon Zhao | Marcel Apfelbaum |
|---|---|---|---|
| 1/4 | R-b | R-b | |
| 2/4 | R-b | ||
| 3/4 | R-b | ||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Qemu-devel] [PATCH v5 0/4] fix numa node mapping for hotplugged CPUs
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 manuallyv1->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
Signature · 1 line
2.7.4