mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
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. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yuquan Wang <[email protected]> Reviewed-by: Alison Schofield <[email protected]> Cc: Bruno Faccini <[email protected]> Cc: Chen Baozi <[email protected]> Cc: Dan Williams <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Haibo Xu <[email protected]> Cc: Huacai Chen <[email protected]> Cc: Joanthan Cameron <[email protected]> Cc: Len Brown <[email protected]> Cc: Mike Rapoport <[email protected]> Cc: Robert Richter <[email protected]> Signed-off-by: Andrew Morton <[email protected]>