Message ID | 20240507034904.2391129-1-maobibo@loongson.cn (mailing list archive) |
---|---|
Headers | show |
Series | hw/loongarch: Refine numa memory map | expand |
在 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