Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp975915lqj; Mon, 3 Jun 2024 06:49:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwik+qe8jV/C7DXWWlIJAJH0LIII243dhhq3uRcgbFHTbMjZyrTSi/281w/V15+00JG27XOVwt5IbpivSnKcE6K5rIy2k1mzc/8cGuAw== X-Google-Smtp-Source: AGHT+IEFCJ8yqsbmvzra7UNF5MxZUklG50GAATsnYAO+6McWoLqSSA7mMTFHakQDf3sElFTvRBKT X-Received: by 2002:a67:ce06:0:b0:48b:9c24:98f with SMTP id ada2fe7eead31-48bc1f6f301mr8768392137.1.1717422582300; Mon, 03 Jun 2024 06:49:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717422582; cv=pass; d=google.com; s=arc-20160816; b=HZo+AgNSY5Ja9J2o/2POd1e5dGkB6RSA550c32nd3yFn+xMmyHgrrm23yHlyzSfoA2 3GfiZB/o/Yu6FcJhukFRlm8U2F1GOofFbmSLPZMwHZqFKZA8tz3Or8DCnJbMO2O1gdOS /orW9hVe63kKpfYkLVpq8Cxe9uAT0GI0Ul5+6yGmrnQJHj/Wy2uTrutcMcjQNRGfeINk DQZ1XWkMoZLCY67AvlZNj0d1sWvLOt/vUC2FTsdfkTFncVYeq62YXt/UBurL6pQpnY3U 3Ngws2A1kP08EOp/tD8CTzu4Y+vlgOrl62WILwi8ozyMf+M5rQKFxFI/bJ+uV0IfusUC EEPA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=ZorXgNDwuZK2oFNcSHqr3ywKGFUsa6zHHPaEgR9iM74=; fh=IQOsFwsGfRpwiDTaPBa8nU6iW/yKD4Z7WD5HAhpdgZQ=; b=P+RmJKfj9/7y30uDeM0n44PJOvWH37Dn1molcbAN85CoUJXa7jFDwevmmRoVxqGfoY szPEiG0MysVVSO1aTcMnB6Z9DLq+ot4KLP3NZviHRriXzi5yIepKOZN9pMNHRdHVFcKL 5QeB1P0ToYvYg9Z9kV30MeAC1CaWBV+CP72Jz80AsJhKUolbCfiF5ZpwjS1MT/h6E3D5 rbFh17Q+QLPvJgqgzRVU7lqqAfMUXFL0A55iKgCkEiWkFhF68k22IgYN7tV4M9ha+7Dy mxZGpCKSDUDFtjzWahflnOWDQKHWN6aCShvEoB1eV11QO5TnYR1vIYCskbAVqFP6Tslr hq9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gymRbrNf; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-199249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-794f2f05524si33262285a.51.2024.06.03.06.49.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 06:49:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gymRbrNf; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-199249-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199249-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 932811C21527 for ; Mon, 3 Jun 2024 13:49:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93A8612DD8F; Mon, 3 Jun 2024 13:49:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gymRbrNf" Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com [209.85.222.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FF6212F5B8 for ; Mon, 3 Jun 2024 13:49:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717422577; cv=none; b=EqeYobEsf9rsa6y82JBLQXcatPi/MuET4+iUon0hb0cxMwGdHEFkJbHxqkEaj8c+hp6h08WQei2+FFsvfdm+ztzL1PGLPbhZRwAX6CTzvaEjISZSxk49mzl8RF1IQ0fJzGjT8kAXzApzSBo8+dCIKQaepGULLXbwzmux9L/6Y+0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717422577; c=relaxed/simple; bh=GuyMXzBKnFe4zMqoq0koVRBGFYJgZszVF5dwzicK8uE=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=Lxz3CY6CaI9zld9MWqbsFFdk1RtZQXVW5OM4o578yEhS5GUYuwjATN1YZyjp2Trn9XVLx1ZQL1/+DcIOc/KqFvlmdDr0s21IaMPDhtcxRufQYFaEbgnvtjpseW4hP/7KnU6SXBhT/eeZo1MD95FzkGT2GzNPMts3Hf9fWy8Wei4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=gymRbrNf; arc=none smtp.client-ip=209.85.222.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ua1-f50.google.com with SMTP id a1e0cc1a2514c-804c45a47b6so1392792241.2 for ; Mon, 03 Jun 2024 06:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717422574; x=1718027374; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ZorXgNDwuZK2oFNcSHqr3ywKGFUsa6zHHPaEgR9iM74=; b=gymRbrNf+yO0nrkl+NQaLQCBAR/UqX1p2TbCz5m7IvyJZ/djcYDvwuZSrcbcKk1MvJ suQCeSFvZzCV5A6b/KVLpzaaXri3sYcTCjsd1Uaxb3mSPGpoDstgFMco07sJyktX7yp5 ykSPXK/WyKPUUv/dtZtNdsilHVwWgemSbb4e20YrE/f3tbV7sCGQ2Gdu/+VLwdEKiOrE VpKTUrfc/KV0vo7EdJXKgsMb8VUm0Nbcfdbr3RktA4BJQYkvK5citB00vkgs233GwuSx 7TSEUNaQbxbEaErDF1d2aRvilenT0xUrN+O3i98lW1yiGfoYXfshEaiQhUr8rbNi5cVU Cnww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717422574; x=1718027374; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ZorXgNDwuZK2oFNcSHqr3ywKGFUsa6zHHPaEgR9iM74=; b=rl1VWIeTWFxG2REjkxN/aJ3dveEn05VkcfZTQQKCPEnsEt5Qtcr0iwX3I4ZGnjI39N 2o/zbs9gAJqWhcTFESBp+0rOjh8opQc6EBTOhkcygb/ea1wURxAVJQ1jDqq0/0Mfj9y9 xf7bfyY8YA018huIwnSrHfgeW96e54r4k4H3ZBZeIpFOiXiKieDC88u1OIicOFmTE7/5 RXFBd6OZBgPkRRZrswRL3XbcvbLpKaCgqbivCUmfAJDdxkGPRdbcD/2lKYZV2CCfGVh2 SpGgQIzGFrzWCldvadB2La9c3dme5WfwDBVEu6KB90hg6+35JrE7b4XAJIBRPrB2WKwu 2ZbA== X-Gm-Message-State: AOJu0YzWkJFpGqINja4mZ36DVGO5uqwlJxb1Q3i4A0EFdb0HttqJPweL AL34li+nu64iwQaJyEfHqqJGpoEBIqA6+meahSVcA2kskfX+O43hCV60PJu2xF+8Udqr9wQEMZT 5ceUFv5LaCTFIVmv/bA845H45cRjMBuTRYtNujup0f/KhnA6AA2BBIg== X-Received: by 2002:a67:f48a:0:b0:47b:b058:849b with SMTP id ada2fe7eead31-48bc1fe0c82mr9214089137.10.1717422573292; Mon, 03 Jun 2024 06:49:33 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 3 Jun 2024 19:19:21 +0530 Message-ID: Subject: x86: WARNING: at mm/memblock.c:1339 memblock_set_node - Usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE instead To: open list , linux-mm , lkft-triage@lists.linaro.org Cc: Andrew Morton , Mike Rapoport , jbeulich@suse.com, Dan Carpenter , Arnd Bergmann Content-Type: text/plain; charset="UTF-8" The following kernel warnings are noticed on x86 devices while booting the Linux next-20240603 tag and looks like it is expected to warn users to use NUMA_NO_NODE instead. Usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE instead The following config is enabled CONFIG_NUMA=y Boot log: -------- [ 0.008547] ------------[ cut here ]------------ [ 0.008547] Usage of MAX_NUMNODES is deprecated. Use NUMA_NO_NODE instead [ 0.008553] WARNING: CPU: 0 PID: 0 at mm/memblock.c:1339 memblock_set_node+0xed/0x100 [ 0.008559] Modules linked in: [ 0.008561] CPU: 0 PID: 0 Comm: swapper Not tainted 6.10.0-rc1-next-20240603 #1 [ 0.008563] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.7 12/07/2021 [ 0.008564] RIP: 0010:memblock_set_node+0xed/0x100 [ 0.008567] Code: ea ea ff 00 74 0b 41 bc ff ff ff ff e9 6c ff ff ff 48 89 75 d0 c6 05 5e ea ea ff 01 90 48 c7 c7 c8 e1 c7 a0 e8 d4 36 df fd 90 <0f> 0b 90 90 48 8b 75 d0 eb d2 e8 74 bb f3 fe 0f 1f 40 00 90 90 90 [ 0.008568] RSP: 0000:ffffffffa1003de0 EFLAGS: 00010086 ORIG_RAX: 0000000000000000 [ 0.008570] RAX: 0000000000000000 RBX: ffffffffa149b510 RCX: 0000000000000000 [ 0.008572] RDX: 0000000000000000 RSI: 00000000ffffdfff RDI: 00000000ffffdfff [ 0.008572] RBP: ffffffffa1003e10 R08: 00000000ffffdfff R09: ffffffffa1003b90 [ 0.008573] R10: 0000000000000001 R11: ffffffffa1079440 R12: 0000000000000040 [ 0.008574] R13: 0000000000000000 R14: 000000008ad25c18 R15: 0000000000014770 [ 0.008575] FS: 0000000000000000(0000) GS:ffffffffa135e000(0000) knlGS:0000000000000000 [ 0.008577] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.008578] CR2: ffff9ac23fe01000 CR3: 00000003ff246000 CR4: 00000000000200f0 [ 0.008579] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 0.008579] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 0.008580] Call Trace: [ 0.008581] [ 0.008582] ? show_regs+0x68/0x80 [ 0.008586] ? __warn+0x91/0x140 [ 0.008589] ? memblock_set_node+0xed/0x100 [ 0.008591] ? report_bug+0x175/0x1a0 [ 0.008594] ? fixup_exception+0x2b/0x2f0 [ 0.008597] ? early_fixup_exception+0xb3/0xd0 [ 0.008600] ? do_early_exception+0x1f/0x60 [ 0.008603] ? early_idt_handler_common+0x2f/0x40 [ 0.008606] ? memblock_set_node+0xed/0x100 [ 0.008609] ? __pfx_x86_acpi_numa_init+0x10/0x10 [ 0.008612] numa_init+0x8b/0x610 [ 0.008615] ? topo_register_apic+0x3a/0x130 [ 0.008617] x86_numa_init+0x23/0x70 [ 0.008620] initmem_init+0x12/0x20 [ 0.008622] setup_arch+0x8a3/0xd60 [ 0.008624] ? _printk+0x64/0x80 [ 0.008628] start_kernel+0x76/0x810 [ 0.008630] x86_64_start_reservations+0x1c/0x30 [ 0.008632] x86_64_start_kernel+0xca/0xe0 [ 0.008634] common_startup_64+0x12c/0x138 [ 0.008637] [ 0.008638] ---[ end trace 0000000000000000 ]--- metadata: git_ref: master git_describe: next-20240603 git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next Links: - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240603/testrun/24170391/suite/log-parser-boot/tests/ - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2hM1TaqYoxFAhzHCIRxz84OeUaj - https://storage.tuxsuite.com/public/linaro/lkft/builds/2hM1QI6QEe9bjg1sQrFs41ZSYmk - https://storage.tuxsuite.com/public/linaro/lkft/builds/2hM1QI6QEe9bjg1sQrFs41ZSYmk/config -- Linaro LKFT https://lkft.linaro.org