在 2024/5/15 下午5:39, 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.

---
v2 ... v3:
   1. Modify numa test case for loongarch system.
   2. Rebase the patch based on the latest version.

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

Patches 1 -5  queued to loongarch-next, thanks.

Thanks.
Song Gao
  hw/loongarch/acpi-build.c |  58 +++++++------
  hw/loongarch/virt.c       | 166 +++++++++++++++++++++++++++-----------
  tests/qtest/meson.build   |   2 +-
  tests/qtest/numa-test.c   |  53 ++++++++++++
  4 files changed, 206 insertions(+), 73 deletions(-)


base-commit: dafec285bdbfe415ac6823abdc510e0b92c3f094


Reply via email to