[GIT PULL] memblock: numa_memblks: fix detection of NUMA node for CXL windows

Mike Rapoport
2026-02-21T10:44:27Z

Hi Linus,

The following changes since commit 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b:

Linux 6.19 (2026-02-08 13:03:27 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/fixes-2026-02-21

for you to fetch changes up to f043a93fff9e3e3e648b6525483f59104b0819fa:

mm: numa_memblks: Identify the accurate NUMA ID of CFMW (2026-02-14 09:29:12 +0200)

----------------------------------------------------------------
memblock: numa_memblks: fix detection of NUMA node for CXL windows

phys_to_target_node() may assign a CXL Fixed Memory Window to the wrong NUMA
node when a CXL node resides in the gap of discontinuous System RAM node.

Fix this by checking both numa_meminfo and numa_reserved_meminfo, preferring
the reserved NID when the address appears in both.

----------------------------------------------------------------
Cui Chao (1):
mm: numa_memblks: Identify the accurate NUMA ID of CFMW

mm/numa_memblks.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

--
Sincerely yours,
Mike.