[GIT PULL] memblock: restore check for node validity in arch_numa
From: Mike Rapoport
Date: Fri Dec 06 2024 - 05:31:04 EST
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(-)
--
Sincerely yours,
Mike.