[PATCH v2 0/6] hw/loongarch: Refine numa memory map

Bibo Mao posted 6 patches 1 week, 5 days ago
Failed in applying to current master (apply log)
Maintainers: Song Gao <gaosong@loongson.cn>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
hw/loongarch/acpi-build.c |  58 +++++++------
hw/loongarch/virt.c       | 167 +++++++++++++++++++++++++++-----------
tests/qtest/meson.build   |   2 +
3 files changed, 154 insertions(+), 73 deletions(-)
[PATCH v2 0/6] hw/loongarch: Refine numa memory map
Posted by Bibo Mao 1 week, 5 days ago
One LoongArch virt machine platform, there is limitation for memory
map information. The minimum memory size is 256M and minimum memory
size for numa node0 is 256M also. With qemu numa qtest, it is possible
that memory size of numa node0 is 128M.

Limitations for minimum memory size for both total memory and numa
node0 is removed here, including acpi srat table, fadt memory map table
and fw_cfg memory map table.

Also remove numa node about memory region, there is only low memory
region and how memory region.

---
v1 ... v2:
  1. Refresh the patch based on the latest qemu version, solve the
confliction issue.
  2. Add numa test case for loongarch system.
---
Bibo Mao (6):
  hw/loongarch: Refine acpi srat table for numa memory
  hw/loongarch: Refine fadt memory table for numa memory
  hw/loongarch: Refine fwcfg memory map
  hw/loongarch: Refine system dram memory region
  hw/loongarch: Remove minimum and default memory size
  tests/qtest: Add numa test for loongarch system

 hw/loongarch/acpi-build.c |  58 +++++++------
 hw/loongarch/virt.c       | 167 +++++++++++++++++++++++++++-----------
 tests/qtest/meson.build   |   2 +
 3 files changed, 154 insertions(+), 73 deletions(-)


base-commit: 248f6f62df073a3b4158fd0093863ab885feabb5
-- 
2.39.3
Re: [PATCH v2 0/6] hw/loongarch: Refine numa memory map
Posted by gaosong 4 days, 6 hours ago
在 2024/5/7 上午11:48, Bibo Mao 写道:
> One LoongArch virt machine platform, there is limitation for memory
> map information. The minimum memory size is 256M and minimum memory
> size for numa node0 is 256M also. With qemu numa qtest, it is possible
> that memory size of numa node0 is 128M.
>
> Limitations for minimum memory size for both total memory and numa
> node0 is removed here, including acpi srat table, fadt memory map table
> and fw_cfg memory map table.
>
> Also remove numa node about memory region, there is only low memory
> region and how memory region.
>
Hi,  This series need rebase.

And  for this series.

Reviewed-by: Song Gao <gaosong@loongson.cn>

Thanks.
Song Gao
> ---
> v1 ... v2:
>    1. Refresh the patch based on the latest qemu version, solve the
> confliction issue.
>    2. Add numa test case for loongarch system.
> ---
> Bibo Mao (6):
>    hw/loongarch: Refine acpi srat table for numa memory
>    hw/loongarch: Refine fadt memory table for numa memory
>    hw/loongarch: Refine fwcfg memory map
>    hw/loongarch: Refine system dram memory region
>    hw/loongarch: Remove minimum and default memory size
>    tests/qtest: Add numa test for loongarch system
>
>   hw/loongarch/acpi-build.c |  58 +++++++------
>   hw/loongarch/virt.c       | 167 +++++++++++++++++++++++++++-----------
>   tests/qtest/meson.build   |   2 +
>   3 files changed, 154 insertions(+), 73 deletions(-)
>
>
> base-commit: 248f6f62df073a3b4158fd0093863ab885feabb5