Re: [PATCH v2] cxl: Fix use of phys_to_target_node() for x86

From: Ira Weiny
Date: Mon Apr 22 2024 - 17:49:02 EST


Robert Richter wrote:
> The CXL driver uses both functions phys_to_target_node() and
> memory_add_physaddr_to_nid(). The x86 architecture relies on the
> NUMA_KEEP_MEMINFO kernel option enabled for both functions to work
> correct. Update Kconfig to make sure the option is always enabled for
> the driver.
>
> Suggested-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> Signed-off-by: Robert Richter <rrichter@xxxxxxx>

Reviewed-by: Ira Weiny <ira.weiny@xxxxxxxxx>