Skip to contentSkip to conversation

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

GIT PULL Merged Mike Rapoport 2 participants 2 messages Feb 21 Memory management

lore
Share & tools
lore
#0 lore raw

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(-)
Signature · 2 lines
Sincerely yours,
Mike.
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 21 Feb 2026 12:44:21 +0200:

The pull request you sent on Sat, 21 Feb 2026 12:44:21 +0200:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/817c16e5655958c34035a10c8c4b93e33e529624

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html