Skip to contentSkip to conversation

memblock: restore check for node validity in arch_numa

GIT PULL Merged Mike Rapoport 2 participants 2 messages Dec 6, 2024 Memory management

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit bcc8eda6d34934d80b96adb8dc4ff5dfc632a53a:

Merge tag 'turbostat-2024.11.30' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux (2024-11-30 18:30:22 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/fixes-2024-12-06

for you to fetch changes up to 180bbad698641873120a48857bb3b9f3166bf684:

arch_numa: Restore nid checks before registering a memblock with a node (2024-12-01 22:04:52 +0200)

----------------------------------------------------------------
memblock: restore check for node validity in arch_numa

Rework of NUMA initialization in arch_numa dropped a check that refused to accept configurations with invalid node IDs.

Restore that check to ensure that when firmware passes invalid nodes, such configuration is rejected and kernel gracefully falls back to dummy NUMA.

----------------------------------------------------------------
Marc Zyngier (1):
arch_numa: Restore nid checks before registering a memblock with a node

Mike Rapoport (Microsoft) (1):
memblock: allow zero threshold in validate_numa_converage()

 drivers/base/arch_numa.c | 4 ++++
 mm/memblock.c            | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)
Signature · 2 lines
Sincerely yours,
Mike.
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 6 Dec 2024 12:26:20 +0200:

The pull request you sent on Fri, 6 Dec 2024 12:26:20 +0200:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock tags/fixes-2024-12-06

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

Thank you!

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