From patchwork Fri Dec 6 10:26:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Rapoport X-Patchwork-Id: 13896899 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03BABE77179 for ; Fri, 6 Dec 2024 10:26:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6467C6B020B; Fri, 6 Dec 2024 05:26:35 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5F4466B020C; Fri, 6 Dec 2024 05:26:35 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4E77A6B020D; Fri, 6 Dec 2024 05:26:35 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 2FE496B020B for ; Fri, 6 Dec 2024 05:26:35 -0500 (EST) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id C2FAEA1A78 for ; Fri, 6 Dec 2024 10:26:34 +0000 (UTC) X-FDA: 82864154478.06.9C80FB8 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf14.hostedemail.com (Postfix) with ESMTP id 9796410000B for ; Fri, 6 Dec 2024 10:26:14 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=RkFGVu7I; spf=pass (imf14.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1733480785; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding:in-reply-to: references:dkim-signature; bh=mL04OrM4CgLhL0ItiiMTg3+kfnxroI6uUXtMMFbe9Nw=; b=MpKl/kUzHOvS3mldTvPDG5WW2Y+WxVhhK/7Tpp1PPR+FwN6YvI4nFvzP8CrQKxIwglnOnE pz54eLLdrVY6o7AGo07j62dSTW7ZIuu/6dopwKdNROEQSqI7a9zSSPtCFDJB+romTa201X zyVXwVKGj2d69cXcddIH/agPjmuVWK4= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=RkFGVu7I; spf=pass (imf14.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=quarantine) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1733480785; a=rsa-sha256; cv=none; b=GAgt2TDwK8RzTmuYQixXLB22gJHFXyUZaeHTdAqAnBcUUlNW1gXzeJve1YDl+jFOG4KvXW oOv7j/f7unAUwTMknxre6PMFskv0hZdeNqGDtDBQBIzF65VVqKSfKCBlNZg5FgbuPCV+Nx U2ZQIAImccvOicC0OBKRHSbJBm7o8Ss= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 673525C7287; Fri, 6 Dec 2024 10:25:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 930C8C4CED1; Fri, 6 Dec 2024 10:26:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1733480791; bh=QgY/p8o4MoYwmaB9p+ZHNIbF1pl77aGEMpBVKTpyrto=; h=Date:From:To:Cc:Subject:From; b=RkFGVu7IW7rr+XvPQP/stnT7EpTNaQdoyR6jjk3GerKlG0hkLkiUt1dunoTC6YYAW PeZJ9bfS1V9jxnoDxMzNeNyVem8wVYxX8TjPtc1jiMMRQ3okThA/2mCNJtbptK+iu7 DF/2N09AQuyGSMotOBPTv6TW7Smm1l5Mtdf/909l+itL2fa5I/gcqwFcpp/nFyV3Dy RMU5CXSm+RvvaINkZyMr1tYPxPKof2My71Tl5mlCFeDTROS4I3m3o+Ypo56NQ441jD Vlsyi7BtCZPR6ipO1c1bxzmrRcrNpYtu5QNtzP78t8vFrrs2KntRQJyHOmTuXt3upT NSJ6l3StpaJOw== Date: Fri, 6 Dec 2024 12:26:20 +0200 From: Mike Rapoport To: Linus Torvalds Cc: Andrew Morton , Marc Zyngier , Mike Rapoport , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] memblock: restore check for node validity in arch_numa Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Rspamd-Queue-Id: 9796410000B X-Stat-Signature: ydaw9yjctr45pagkspuyerj6yi1ft9ba X-Rspam-User: X-Rspamd-Server: rspam11 X-HE-Tag: 1733480774-257640 X-HE-Meta: U2FsdGVkX19xaGy4KfysuAlIQvuT6SkK0NbqjAZGbJpz4N0UTrV9iE/ZH0L0WCzswxUBluW14pmX0BtfkuSXnrMPqkWXq7C692Sa9t8ma9IjAOTpH2yY0NrRAgV1hKmi3o6gXhXNzyCQshkEMbu3pPqmifHpe0Tpz3LG1UTpEpUayIJ52jZ5b2pbRXzA0fiNw4kqPU4f0EYV46M0Dj1l57Yyf3Z2zbkps+iqCTklRxLFqRdc3fKiibbTKYQnRumh9e/+td6pLKqvSFg6ZtaZL38J1C1zzD37ra3us8cdvuXL5omaBIB1kvLIMA5ggQPVVhMdQzsfAHRkECozY4WEJEgx6f6uGu4vfJg0YP4+TiOxjIFBJJWLsOQHN5VpD0XRTqk3B2tzvWkKvsT+ZfsWnWAGlP/BCn0JeLnpgvACjSDquallwa2zvgmcQPWoX3usNqxkGTCXkrC05mK1ZDMtIuQXfxsKlzKgP+sSqTsyq5pjtkYpyhNNeL8U/47iRqp2sz9osr7mQF5D4qepIGISLSFaRQlIevCqpBxbvF6CEvxa0yxUfYVDlZ4EHkJSe/S9W6Mu0WBjuUDVhWrWz759KQW4GmW5HSJi9NO7Md6g/+VRF5mIgWEQ1XxlBVCzONt4DRuInStOsD5+Krv/bWtuO6G4Z2aGYYE569KD9cdyP7Pz8wR9k2j+xi0dKKaAo70Jf1xwx5JTRBHhAN6ZXtpLhCx5RUtuZCey9+/1POqIus4MErvQlqw1BE4VlWDNQG6oec2+tM2tUKKAX9vd8ZDed1YWSuAckPSyE5TApnCXLoIMqL0Z3ykW/CcIM6f9uidM7U2YrP0G++E8epDWGoLF9y2j9o9v0D2Ng1/mzfr6bbCpN82+IWMq9yPutylLSOhS2HajTZvLuTmOVS0qGr6TegDfjtsnPD+Ssqywf9wNkCgK5HNZM0num/lt9n05V18nUTIQkGXmQW8zj1JCGMK tboeD2dC aujSxLnF3pVey0g5MRQXTEx17xUOhJ61E/zBvfa0ReM0kw1pbFYhSXvxvJoFQcwEQKFrJfOmjceHQVNyRtI/Y1tok8YVbzz/Lik24BdtH4FlCxn+TMZCtNCiEwb6k3ACPwf1s8CSU8vZY/z6zNRTV6Zo/gEKNCJTym7QV+OASrG/1UJdMexgkYhodt+lxzRM4JwFNv5oo6Zoi5sEOTqBxcjACqDFhe2gFZkkWCQcsUQ1HhKJYMlcFM81FtEB+oeKU3fZBRAweiUqxvsZ4EgXQj5Vg4BBs0LGxkEdm2j7p1FbE3t+c26Y7uqRPcv9RLHeKcJ2o X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: 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(-)