qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: qemu-devel@nongnu.org
Cc: mst@redhat.com, zhaoshenglong@huawei.com,
	peter.maydell@linaro.org, david@gibson.dropbear.id.au,
	marcel@redhat.com
Subject: [Qemu-devel] [PATCH v3 0/5] fix numa node mapping for hotplugged CPUs
Date: Fri,  1 Jul 2016 13:50:21 +0200	[thread overview]
Message-ID: <1467373826-110305-1-git-send-email-imammedo@redhat.com> (raw)

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

             reply	other threads:[~2016-07-01 11:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01 11:50 Igor Mammedov [this message]
2016-07-01 11:50 ` [Qemu-devel] [PATCH v3 1/5] tests: acpi: add CPU hotplug testcase Igor Mammedov
2016-07-01 11:50 ` [Qemu-devel] [PATCH v3 2/5] tests: DO NOT APPLY: add APIC.cphp and DSDT.cphp blobs Igor Mammedov
2016-07-01 11:50 ` [Qemu-devel] [PATCH v3 3/5] numa: reduce code duplication by adding helper numa_get_node_for_cpu() Igor Mammedov
2016-07-01 12:30   ` Andrew Jones
2016-07-04  7:06     ` Igor Mammedov
2016-07-07 12:03       ` Andrew Jones
2016-07-04  3:34   ` David Gibson
2016-07-04 12:13   ` Michael S. Tsirkin
2016-07-01 11:50 ` [Qemu-devel] [PATCH v3 4/5] acpi: provide _PXM method for CPU devices if QEMU is started numa enabled Igor Mammedov
2016-07-01 11:50 ` [Qemu-devel] [PATCH v3 5/5] tests: acpi: extend cphp testcase with numa check Igor Mammedov
2016-07-04 12:14   ` Michael S. Tsirkin
2016-07-04 12:49     ` Igor Mammedov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1467373826-110305-1-git-send-email-imammedo@redhat.com \
    --to=imammedo@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=marcel@redhat.com \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=zhaoshenglong@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).