[Qemu-devel] [PATCH v4 0/2] hw/acpi-build: Fix ACPI SRAT Memory Affinity building

Dou Liyang posted 2 patches 6 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1503372250-5092-1-git-send-email-douly.fnst@cn.fujitsu.com
Test FreeBSD passed
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
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
[Qemu-devel] [PATCH v4 0/2] hw/acpi-build: Fix ACPI SRAT Memory Affinity building
Posted by Dou Liyang 6 years, 7 months ago
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):
  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




Re: [Qemu-devel] [PATCH v4 0/2] hw/acpi-build: Fix ACPI SRAT Memory Affinity building
Posted by Michael S. Tsirkin 6 years, 7 months ago
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
> 
> 

Re: [Qemu-devel] [PATCH v4 0/2] hw/acpi-build: Fix ACPI SRAT Memory Affinity building
Posted by Dou Liyang 6 years, 7 months ago
Hi Michael,

At 08/23/2017 10:48 AM, Michael S. Tsirkin wrote:
> 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.
>

OK, I will.

Thanks,
	dou.

>> 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
>>
>>
>
>
>