Message ID | 20240723064156.4009477-4-rppt@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 C939BC3DA49 for <linux-mm@archiver.kernel.org>; Tue, 23 Jul 2024 06:42:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 594C76B0093; Tue, 23 Jul 2024 02:42:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 543F46B0095; Tue, 23 Jul 2024 02:42:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 40BFE6B0096; Tue, 23 Jul 2024 02:42:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 1E6636B0093 for <linux-mm@kvack.org>; Tue, 23 Jul 2024 02:42:55 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id C10DB81CD5 for <linux-mm@kvack.org>; Tue, 23 Jul 2024 06:42:54 +0000 (UTC) X-FDA: 82370074668.18.22C3B28 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf02.hostedemail.com (Postfix) with ESMTP id 2FD568000C for <linux-mm@kvack.org>; Tue, 23 Jul 2024 06:42:53 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Jjn0IMhJ; spf=pass (imf02.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721716927; 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-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=9FVQIJBvwpLpWnxssYSpgj10sNF0Z4o30ZuUMNufdPk=; b=pXSYyPN3p4V68b13//uquLBX8bDJeBsBCz5+f2N2nBoxjPLHfGVyVOcqKXm4uzuRvV097n 96YG81liriekLjClh+ZxvEmEneRJWpUT1eijso5zFrHIkIRIna4tyuYnjm6rF9lWLaVNcE u9vvyPcyfZPXPfGDELJ0D/2bh1ge31k= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721716927; a=rsa-sha256; cv=none; b=6FiB5azvhmB/n7EJj2KbkbX1xGL/UmpwEuEBTnohD7BzwhTvXtOtfsY/mHZzU4BoYvhaFa b+7ghlXPVPhua+CUV3ygflatoUHzgR0tE6XF7EIwBhaEdvLomZj0eeX7OarusGribgUrwM UrN3/AycdWcMxEQ0HuC3T97q/2IbrCk= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=Jjn0IMhJ; spf=pass (imf02.hostedemail.com: domain of rppt@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=rppt@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 4A56860D2D; Tue, 23 Jul 2024 06:42:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE7A2C4AF0B; Tue, 23 Jul 2024 06:42:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721716972; bh=mRZLqq2N2ryJ5ZO7g59g+rrLvkwOpPlbSt8yNKJxh4c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jjn0IMhJcrPhS4Bl96Cwo0k6df1nhuQSiNyQ/dbVBMzBCcrp9rXxtpGaIPsnWwg1g EutfShLwl4ML33LtMf4CMUXhriaZXC2Y0XnDQ5eHWFqH0oTLeSRxwYQvMiTH4+3pg4 23X5S2IXpSsSIpciOEufgRtYvvNy1kJjTIubaTDearGmucjQ2peycwqBYrl0lnidvI C3r1Rp8+mjvm7PE1YQsVU4cLUmpqTmzFmPLSRVzjvocHAABjPDxVifYy/vK56oo8wA 2FidhSRWcQ1vbPPvkPNtW95l80WFNvn/FUjHRkFCWUy8NwC+vz8A4Ft0biSW1xNoPs CVT7tSIze5Nug== From: Mike Rapoport <rppt@kernel.org> To: linux-kernel@vger.kernel.org Cc: Alexander Gordeev <agordeev@linux.ibm.com>, Andreas Larsson <andreas@gaisler.com>, Andrew Morton <akpm@linux-foundation.org>, Arnd Bergmann <arnd@arndb.de>, Borislav Petkov <bp@alien8.de>, Catalin Marinas <catalin.marinas@arm.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Dan Williams <dan.j.williams@intel.com>, Dave Hansen <dave.hansen@linux.intel.com>, David Hildenbrand <david@redhat.com>, "David S. Miller" <davem@davemloft.net>, Davidlohr Bueso <dave@stgolabs.net>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Heiko Carstens <hca@linux.ibm.com>, Huacai Chen <chenhuacai@kernel.org>, Ingo Molnar <mingo@redhat.com>, Jiaxun Yang <jiaxun.yang@flygoat.com>, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>, Jonathan Cameron <jonathan.cameron@huawei.com>, Jonathan Corbet <corbet@lwn.net>, Michael Ellerman <mpe@ellerman.id.au>, Mike Rapoport <rppt@kernel.org>, Palmer Dabbelt <palmer@dabbelt.com>, "Rafael J. Wysocki" <rafael@kernel.org>, Rob Herring <robh@kernel.org>, Samuel Holland <samuel.holland@sifive.com>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, Thomas Gleixner <tglx@linutronix.de>, Vasily Gorbik <gor@linux.ibm.com>, Will Deacon <will@kernel.org>, Zi Yan <ziy@nvidia.com>, devicetree@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-cxl@vger.kernel.org, linux-doc@vger.kernel.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, loongarch@lists.linux.dev, nvdimm@lists.linux.dev, sparclinux@vger.kernel.org, x86@kernel.org Subject: [PATCH v2 03/25] MIPS: sgi-ip27: ensure node_possible_map only contains valid nodes Date: Tue, 23 Jul 2024 09:41:34 +0300 Message-ID: <20240723064156.4009477-4-rppt@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240723064156.4009477-1-rppt@kernel.org> References: <20240723064156.4009477-1-rppt@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 2FD568000C X-Stat-Signature: 9exhrxwgxb1i7qwkbpinban3xsnozdam X-HE-Tag: 1721716973-502826 X-HE-Meta: U2FsdGVkX1/HcZHVZbmyDrAlrCJzyan5xm9FH78RsGp01qnvHgYkmzoIu/kJ38FEFkeuVV+ehQCESc/Mk9t46YXC3k30cenosYrIMtFab/SRLwnDZtnkQq9sOIbkip51WVb0+DSN92CW/en2q3x49klTd7+sy8qS/IRnR7ZJucoUKO2d0tV9iICVq2xnlBT3u4LB6LE/0/Ptv8zR8HBB8Mkr1qh8AvHOvkTUQ3mtYEk24w5wWxovCUju2tXbD0T1BrmnDL0ONi4Q4cF04Ce028Vg1icHit5cSDPApkSGCQvWViuCxZwiTYFZs73nNG2JJNHissp/hwFAG+GkDWj625qjz4S6h2CfuimmU4WF51fOSNxmhPa7tWMf701DkbbegkPnJypnRkrBgF5XbLcZ633r7Vn+mA9lji01lalHwIE7LNWVWWh+c9bMov8D4NJjU1q8FArX4EljPFZBh3x8mz9JOgezY0NDGRl0z6LeDQXrNTsS/LJm35HmMxLQtTVrEK/Sm0Oyw4hrAmzKJiwWDUIQT6cD1l04aipIDuOclbofc/o1Cbgw8a00guVAEEZRXiVG1B5sTgnf8zsK5KGhBqN6m35xXZUcrPo3nzYUXybGHxFwsRqrx4TYvy+OjwyEZSsshNxlgSQY4tNvkeA1yqYefxSubbpvhTNZ75tvEcoHSaHaPrkdnwxYF/dfZuLs699hTdXI6R0G2Z4WUCqxflIm6KAf44Y2PNWsbMKtXnNph6YID34tIXa2EZlElMTpLr1VcrVF+YbkNfnU1r4Uo77uG6qOUBzyFouyYz0893kvbePY6rgj0RAk3vHHfTePPLTjtoOlvrNDlikxuMk4zGb37UZe+dAzitWZMSWqVIzDM5p8K42gAn0g1lkLks2U3sakPOfqB70nF5gNgSFUjZzVe7szRGy69VG0bU/9PI/jp+OU5h6UoqPmOxXb8ZMMFKLcthGEdewcKelS4Ah GdDNqRhk Cn4lBXWEjSylZ0C9wPaD3UjCIo2YOCCq+riQWs2Smzq5xSDU9dmhRM6ILJzFKefLXDqwynZV3yXQSMvElP+O0bPU7EJc+gBNraOTXT+YesMO0fwym9EY3QBlSuA/Dwth8YPNnn1Ge8BwU+46PyVKyqx4i1WRYJOe9EsHBLdGm8KRdemfwOPAd9lFc4nCsV+z+FWWLi9ZPJ7T54Ngawa9pnhj57tVqdIlspjLx+vfjiWc34dw8mQn07j9hhQQZqzm4KhXDE7biUXu5WzUZHUKJXjtDXnG6cwPEsSxWdE7UP4o5kwZEmrgHK5ZgGPvYT8/zujyC9WjJ7bPqNRc= 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
mm: introduce numa_memblks
|
expand
|
diff --git a/arch/mips/sgi-ip27/ip27-smp.c b/arch/mips/sgi-ip27/ip27-smp.c index 5d2652a1d35a..62733e049570 100644 --- a/arch/mips/sgi-ip27/ip27-smp.c +++ b/arch/mips/sgi-ip27/ip27-smp.c @@ -70,11 +70,13 @@ void cpu_node_probe(void) gda_t *gdap = GDA; nodes_clear(node_online_map); + nodes_clear(node_possible_map); for (i = 0; i < MAX_NUMNODES; i++) { nasid_t nasid = gdap->g_nasidtable[i]; if (nasid == INVALID_NASID) break; node_set_online(nasid); + node_set(nasid, node_possible_map); highest = node_scan_cpus(nasid, highest); }