Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp678648rdb; Thu, 8 Feb 2024 19:10:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdG2UifmW94Kz++Ce86B4jaVKltAXdCV+msAp0T1/IM3sndj+KLIfrpBpwbLUuYVMvCI8G X-Received: by 2002:a17:903:453:b0:1d9:791b:7dd2 with SMTP id iw19-20020a170903045300b001d9791b7dd2mr298099plb.7.1707448234545; Thu, 08 Feb 2024 19:10:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707448234; cv=pass; d=google.com; s=arc-20160816; b=O/aJK+RCwh31boIstjaoHx+5urPC0SghhVD29KcuNzBQJPota9rpvaCzKbBEZ3bwxZ B6k6jx9pVkqNuyGGsdO0S+p/gx496+t68di5JGYlFhMY/f47GzCLeqbnhIS3W+ygb87u AlRiuq6j7ZlqRiC2X8baRdjo9VCfM5VrfwtvLgPS0FxahtIaIxI7JnyUKa/3Q3e6MMTQ ua4yMACd7ro8eUhil2zGXktZDlX7OmcUZDVa3ZCoen/e5NzXChBM8/dGvXHmspP0FrKH 9yzymUK1N8MYgQJEzT5FbAnf4Q6VMvXjpyB4r0vmo1MoXMIzXT5MSH9iMwgfTipaoyT/ G+kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=AZdzRu0C+UrxGJClzP1tW7jiyY82oygFbJAr1yHqNnk=; fh=2NIofGXX2sHHOvVnu1nXJ0zwsr/e3ThIoupUIiMEo58=; b=z6XHE2nVn7Mt2g3/RtPtNcW9KKA3I88MRqIRunHQCDN0iVGjvNz4cIDXY9MJGfU5DK rDb3UdcpzaTr2PXPu1QbV3Lp5rmzNHv/ABnP60+uAi7nY/O6OKzUWoc/KJAIoV4a73vk 9mZbMzBsdsHjCSVqQFfmXKl0jqxIBRLHw2QV2/shh1kRDyZV4I04DnbXLE30sxwgJIhp uGetbiDyfQHCnZuduOoVN7Cs7uWJSBj2nimpM419vrFjz4PgCUhTHc9GttsZvbdfz/EX /1pzC63EhDwGLG7wYSoktU73/5ECennKtvmJY70E08mBrofRR5FVDzHLmRZYENr2mtIi NGaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-58960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com X-Forwarded-Encrypted: i=2; AJvYcCV4JhHdKH/kIz8oRJLondqqdbh8nA4MqASDixqvTdJKzoZ3XvR0nYraTNj+/zpkvdawoIxa1LsCvLBMUoX+AaRe6kAb3T8YJDTkKZMNhw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i9-20020a170902c94900b001d987570ba0si876881pla.135.2024.02.08.19.10.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 19:10:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-58960-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58960-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F16FB28CBA3 for ; Fri, 9 Feb 2024 03:09:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 315E7DF54; Fri, 9 Feb 2024 03:09:29 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DBD0CA78 for ; Fri, 9 Feb 2024 03:09:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707448168; cv=none; b=tu29c3YDGfaiW5yAbZU1B9UeKfypjlEXpqvMoBUfyQ3uNkAhT9YLVkyWWTCeTn0KvqOGaI2OgQg/3yqL/MMawPyNggRFxsGfJut2AvlEi9zEUcf8INsuAh+qOr05ZJ/wwXBrULsP2RavtONyeJb5C5VENCOY5Vhg6XZPsCxqZKM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707448168; c=relaxed/simple; bh=Tvfhrnd/qJQsIwr8/LWxA/6cpoYuITkSDM79LVABnY8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=jxnR/VbQdAYP91ShEPRV8m31xVKHF/Kh4/1MKiFgUESxHjoT2a5AUqIJ9dhywxbSOhBvukdNYZVN5xMgMOqZ1FKAsg2i8Vgd69plU7LCK8Hc6fHzZaE6irRrI8sRwyVCzzDau2f5Rnj3PVXPFvlrHasKaOrlwtMvIVjZMLjlXKg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AE67ADA7; Thu, 8 Feb 2024 19:10:07 -0800 (PST) Received: from a077893.blr.arm.com (a077893.blr.arm.com [10.162.40.23]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5262F3F64C; Thu, 8 Feb 2024 19:09:23 -0800 (PST) From: Anshuman Khandual To: linux-mm@kvack.org Cc: Anshuman Khandual , Mike Rapoport , Andrew Morton , linux-kernel@vger.kernel.org Subject: [PATCH] mm/memblock: Add MEMBLOCK_RSRV_NOINIT into flagname[] array Date: Fri, 9 Feb 2024 08:39:12 +0530 Message-Id: <20240209030912.1382251-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The commit 77e6c43e137c ("memblock: introduce MEMBLOCK_RSRV_NOINIT flag") skipped adding this newly introduced memblock flag into flagname[] array, thus preventing a correct memblock flags output for applicable memblock regions. Cc: Mike Rapoport Cc: Andrew Morton Cc: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Anshuman Khandual --- This applies on v6.8-rc3 mm/memblock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/memblock.c b/mm/memblock.c index 4dcb2ee35eca..d9f4b82cbffe 100644 --- a/mm/memblock.c +++ b/mm/memblock.c @@ -2249,6 +2249,7 @@ static const char * const flagname[] = { [ilog2(MEMBLOCK_MIRROR)] = "MIRROR", [ilog2(MEMBLOCK_NOMAP)] = "NOMAP", [ilog2(MEMBLOCK_DRIVER_MANAGED)] = "DRV_MNG", + [ilog2(MEMBLOCK_RSRV_NOINIT)] = "RSV_NIT", }; static int memblock_debug_show(struct seq_file *m, void *private) -- 2.25.1