v4 --> v5:
- Replace the original way with Eduardo's method.
- rewrite the testcase.
- Drop the SLIT date
- 2.11 develop tree is opened, So, Add the third patch for re-posting it.
v3 --> v4:
-add a new testcase.
This patchset fixs an ACPI building bug which caused by no RAM
in the first NUAM node. and also add a new testcase for the bug.
Dou Liyang (2):
ACPI/unit-test: Add a new testcase for RAM allocation in numa node
NUMA: Replace MAX_NODES with nb_numa_nodes in for loop
Eduardo Habkost (1):
hw/acpi-build: Fix SRAT memory building in case of node 0 without RAM
hw/i386/acpi-build.c | 30 +++++++++++++++++++++++-------
numa.c | 2 +-
tests/acpi-test-data/pc/DSDT.numamem | Bin 0 -> 5104 bytes
tests/acpi-test-data/pc/SRAT.numamem | Bin 0 -> 224 bytes
tests/acpi-test-data/q35/DSDT.numamem | Bin 0 -> 7788 bytes
tests/acpi-test-data/q35/SRAT.numamem | Bin 0 -> 224 bytes
tests/bios-tables-test.c | 24 ++++++++++++++++++++++++
7 files changed, 48 insertions(+), 8 deletions(-)
create mode 100644 tests/acpi-test-data/pc/DSDT.numamem
create mode 100644 tests/acpi-test-data/pc/SRAT.numamem
create mode 100644 tests/acpi-test-data/q35/DSDT.numamem
create mode 100644 tests/acpi-test-data/q35/SRAT.numamem
--
2.5.5