qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/5] hw/loongarch: Refine numa memory map


From: gaosong
Subject: Re: [PATCH 0/5] hw/loongarch: Refine numa memory map
Date: Tue, 30 Apr 2024 16:15:12 +0800
User-agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

Hi,

在 2024/3/18 下午4:01, 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.
For this series,
Reviewed-by: Song Gao <gaosong@loongson.cn>

After PR[1] merge in, patch3 and patch4 need Rebase.
Also, how about enabling LoongArch architecture numa-test?

like this:

   --- a/tests/qtest/meson.build
   +++ b/tests/qtest/meson.build
   @@ -127,6 +127,8 @@ else
       dbus_vmstate1 = []
     endif

   +qtests_loongarch64 = ['numa-test'] + qtests_filter
   +
     qtests_x86_64 = qtests_i386

     qtests_alpha = ['boot-serial-test'] + \


[1] 20240429023043.2607982-1-gaosong@loongson.cn/">https://patchew.org/QEMU/20240429023043.2607982-1-gaosong@loongson.cn/


Thanks.
Song Gao
Bibo Mao (5):
   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

  hw/loongarch/acpi-build.c |  58 +++++++------
  hw/loongarch/virt.c       | 168 ++++++++++++++++++++++++++------------
  2 files changed, 152 insertions(+), 74 deletions(-)


base-commit: ba49d760eb04630e7b15f423ebecf6c871b8f77b




reply via email to

[Prev in Thread] Current Thread [Next in Thread]