On Tue, Aug 22, 2017 at 11:24:08AM +0800, Dou Liyang wrote: > 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.
thanks! Pls remember to ping or repost after release is out. > Dou Liyang (2): > hw/acpi-build: Fix SRAT memory building when there is no memory in > node0 > ACPI/unit-test: Add a new testcase for RAM allocation in numa node > > hw/i386/acpi-build.c | 78 > ++++++++++++++++++++++------------ > tests/acpi-test-data/pc/DSDT.numamem | Bin 0 -> 6463 bytes > tests/acpi-test-data/pc/SLIT.numamem | Bin 0 -> 48 bytes > tests/acpi-test-data/pc/SRAT.numamem | Bin 0 -> 264 bytes > tests/acpi-test-data/q35/DSDT.numamem | Bin 0 -> 9147 bytes > tests/acpi-test-data/q35/SLIT.numamem | Bin 0 -> 48 bytes > tests/acpi-test-data/q35/SRAT.numamem | Bin 0 -> 264 bytes > tests/bios-tables-test.c | 30 +++++++++++++ > 8 files changed, 80 insertions(+), 28 deletions(-) > create mode 100644 tests/acpi-test-data/pc/DSDT.numamem > create mode 100644 tests/acpi-test-data/pc/SLIT.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/SLIT.numamem > create mode 100644 tests/acpi-test-data/q35/SRAT.numamem > > -- > 2.5.5 > >