From patchwork Fri Feb 9 03:09:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshuman Khandual X-Patchwork-Id: 13550819 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 4F257C48260 for ; Fri, 9 Feb 2024 03:09:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 93A646B0074; Thu, 8 Feb 2024 22:09:28 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8EA286B0075; Thu, 8 Feb 2024 22:09:28 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7B11E6B0078; Thu, 8 Feb 2024 22:09:28 -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 6702C6B0074 for ; Thu, 8 Feb 2024 22:09:28 -0500 (EST) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 3AA8BA2518 for ; Fri, 9 Feb 2024 03:09:28 +0000 (UTC) X-FDA: 81770784816.02.301C192 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf17.hostedemail.com (Postfix) with ESMTP id 8ECC040011 for ; Fri, 9 Feb 2024 03:09:26 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf17.hostedemail.com: domain of anshuman.khandual@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=anshuman.khandual@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1707448166; 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:references; bh=AZdzRu0C+UrxGJClzP1tW7jiyY82oygFbJAr1yHqNnk=; b=3rNaUOzLHf2wscZiX2w4ziqA7JRGXb+3MtTImmmP5WMIxOQ72HLB8Akn/5tKGH8qrEJ+OA 3WiyDq3QumGP58eP1ejlHepyfZ18pJSvNK/Vbh7YrNOGlvTqe9ZtOIKn/zmnK+CKb2Qrty 2On54CjqKnPEWZTJ3StjQG041H6D2pM= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf17.hostedemail.com: domain of anshuman.khandual@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=anshuman.khandual@arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1707448166; a=rsa-sha256; cv=none; b=GpNmdCFfnrhjGv7MrRSN2hiZjcVvAGZncDj0JS9qZQZR87nOImpId0MMeF7wqVfBqH191T xHV6lh9a8ElKwcSppIpr/J8EO5JT8gC3eihNwdCp9wrPRDlL+XQ1f/QnAR57Zt8kdDfkyO Te0XDYC5MpLwNJhEAym39gWVTDwuOfA= 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 MIME-Version: 1.0 X-Rspam-User: X-Stat-Signature: 4uejj6ofwyejxd4ayhaoibci6s5rnfgg X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 8ECC040011 X-HE-Tag: 1707448166-940339 X-HE-Meta: U2FsdGVkX19eoyEdHBJNRq6fzZO4msSlAwdrXSIdcnpircRKVCIapE/BbIMNQwrPi6rLQ/nYQB5hACUDmybakhfUF5l2RqBTxjuk/wyV45n1QyNaV81hnzSjMePUdqgQPyZw0IPwsIvc2GQ5lk+GuVqZgSMslCpYFEEyfPNWccNUS8RoLtIh+d2gJe8uiMfSW7IPKULXeiFk33BLo6/+B97APWxpNPnhFBXSpkVDj2k2uDIvOB64FRJFeBYGmwW1mmi7xQyWeHXWaPBJpQ8PBatAf4Oq/mfX2r9dpZRPuqjDHXGojX3A4xabN7qwBZFAYR94RDatKQJl++oWXse8dbSBwrRUxbjEZuVF3yx8TDaoImO6KsDG5lx8DfadM+GEZOtqG/H0WMPCq5suVXM6c2k7y9rUiHS9YFU4hAkO2dflvkc8H4oVHwb+rmKiwlsvF8aFkZSVsP4KEmtNrZp2SV0y7zFy2ZfqbXoiJUtWyNTlT8x4NSbRwLCb/wN1gNIlVotWa0A02VSrRHa6iIzrhUzO6n12QaKpCMLPQTC8LgLkjB3iMHLSAoxc/oja417L0+S+tAQTlgC75yqav+cQ+96lmCGtC2zmT/91YEBom+K5f38cN3UNr6ytMfb8odUWbk7uXCP2NyQMhE/xlcxUmEGw9n5DXIPkz/0b1DX+oW5VziXKP7ipLsaU7+Ai6jjpGUuKewSKvI5VZvKmXajtvG5ksPc+4g9fwAs8WbiUl5ebMXPTgIqDlHLBU5+4Q3hR2sLRmIrUFvdiEs9JowjmauAvYHGD5wAUlHQsIqsGgxxFPljyDEtq0VHR6kpeaoGN1dJzFCg27vOxSN5wZEZ4UsLF5GwfwI/yq3fKG4NQUFGWAY9LR536tz62j0HL+GgK/sMtZrMFHuM= 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: 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 Reviewed-by: Mike Rapoport (IBM) --- 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)