On Tue, 2025-06-03 at 06:06 -0700, Guenter Roeck wrote: > Hi, > > On Thu, May 08, 2025 at 10:27:19AM +0800, Yuquan Wang wrote: > > acpi_parse_cfmws() currently adds empty CFMWS ranges to numa_meminfo > > with the expectation that numa_cleanup_meminfo moves them to > > numa_reserved_meminfo. There is no need for that indirection when it > > is > > known in advance that these unpopulated ranges are meant for > > numa_reserved_meminfo in support of future hotplug / CXL > > provisioning. > > > > Introduce and use numa_add_reserved_memblk() to add the empty CFMWS > > ranges directly. > > > > Signed-off-by: Yuquan Wang <wangyuquan1236@xxxxxxxxxxxxxx> > > Just on case this has not been reported yet: > > Building loongarch:defconfig ... failed > -------------- > Error log: > drivers/acpi/numa/srat.c: In function 'acpi_parse_cfmws': > drivers/acpi/numa/srat.c:467:13: error: implicit declaration of > function 'numa_add_reserved_memblk' The fix is queued at https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git/commit/?h=loongarch-next&id=a24f2fb70cb62180486ad4d74f809ff35ddd1cf9 -- Xi Ruoyao <xry111@xxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University