hw/loongarch: Refine acpi srat table for numa memory
authorBibo Mao <maobibo@loongson.cn>
Wed, 15 May 2024 09:39:22 +0000 (17:39 +0800)
committerSong Gao <gaosong@loongson.cn>
Thu, 23 May 2024 01:30:41 +0000 (09:30 +0800)
commitfc100011f38d2f58e2212a056173def3a7cf3512
tree1c1117488d66ae53bffa2d0c9a39ec98dc6d4f59
parenta7701b61f62ecef787ec4c64569bf5a1e892197c
hw/loongarch: Refine acpi srat table for numa memory

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 for acpi srat table creation.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240515093927.3453674-2-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
hw/loongarch/acpi-build.c