Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1868499rdb; Sun, 11 Feb 2024 00:31:33 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWCsaA2F/W2MTY6ZTqDuRk0gJ+TMqEUtj7Aaip3gSmZuc/h+/UP0bsDWrtOKaaWqSwInWFOsdxFr/kLBjCDQdCSt3xkpRQAqa5bXWDcvQ== X-Google-Smtp-Source: AGHT+IHSoavQISTYyYBA9pVVeAmx3KiAbryRFc9c1U3aasg6PKSct1HomjElzMWn8ogLDmZt4rSb X-Received: by 2002:a17:902:bf43:b0:1d9:af94:9f3d with SMTP id u3-20020a170902bf4300b001d9af949f3dmr4386466pls.28.1707640293667; Sun, 11 Feb 2024 00:31:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707640293; cv=pass; d=google.com; s=arc-20160816; b=OaNym3NX97t1Ek/VfqSEu6Eas9wUM2wTK6wSU1GUbW7nYt7vNjzT7AjVIP6js988f5 GBr9XNW/iYO2/uo0E82zUxaGfg0hXgNNPLi80xB5Wp3rZTGeasf1MshnjGu+JsfBLomm 0HgNMiVBFj+hjERQ/juZ13qNTjCAQdsslRSA+UsOE4sm1TnDzmpdsb/1/L85+9o8QprT rXxq1+ivmxw+r8/tM9cOdT8aa+5T+pMAs+h8WYpdlXm1YoIH7RWgYf0AwJKENI3zDh5b qYZ7IAg3ddW5cCZg2u6NcvAp1q2dBYqry2esOtocLgXf2b9fKp9SoPRY1IZc9i9w82gi VPQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gF8ZKyq3iEKK+7dOSxjV0nP4DWN3vbFETezwVgAmGog=; fh=cxYCuLOUnJuOJJ90VVkqTTgfrhNDQkKcTn07yzyBIK8=; b=IHmU3K0tj+2knnStHM43ow+L2ZodQLN15WlGhs9QzQRRFm524u0t0lbfmsmjXt3nOd wCMWXQUEjbB19CvJjm8DRZWxGhj0Tn2q/LFT2AX1j1ToaLgml0/0Rrhzsky6g9LP4b12 ef+8UijmGd8WfNHb4mW2y43VK0TrfCFsK/i2GhlyhV6e/K9RRF6SwXsZqeeH5C60fyxi jzeyV6bekIIxi/75j3taeH2l35pyPMLwtWTTV0EInQNPLWlduJ+z72TQXHj+ncAv+LBf o26WwJ+Qb7jNMnafgV2e2UBJ5wjRcghvKZCwPTzWDQvf4L2AMwuT38m7zhpHXXCHyESg 8CeQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z0GR0ZBt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60658-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60658-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWjSntSRUL5FNeKHvwm72xOcmNv2ozABCj6QzmQa4uxTYmJAUJBRiy9sQ7aGrMGY5PAqh9tDhWrNJdYHgH45n7rVaJXuVylf5ixc1VOzA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b8-20020a170903228800b001d4af344a66si4679138plh.141.2024.02.11.00.31.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 00:31:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60658-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z0GR0ZBt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-60658-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60658-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 02761B22BCA for ; Sun, 11 Feb 2024 08:31:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 289AA4CB5C; Sun, 11 Feb 2024 08:31:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Z0GR0ZBt" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F4FC52F65 for ; Sun, 11 Feb 2024 08:31:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707640278; cv=none; b=T+toIIXQT6ySZZMKmQTHmnOmzCBhcr8VrPEhUMAlvAZDO4Jh9neSFm5Xn1bVrs2O2knNLDBF+Vn41bLw1JupI86VlQ7exF8DCJtY/fH9udmCyysjCJRLCZYRUxbEPTTAqvWiXN/dhh52Y8AgNMOqJf6zWmriEPXT1uRbKp9o8kk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707640278; c=relaxed/simple; bh=JqHQfILX+iph4O4lw4pSdkFqDOA1bddPCOQHKr6s+e0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BBPmpNH0oUTRWmncVt7X3HTRIebpFL3aYY1GS4Sb5A2rME/UZxTnYRt5/U+d5MiGi7mObesAJJlEtd15NshR/FaDS22wn+4VRfxUNyxDFExCk00EsegD/zOIclrqo86Jmyb35ht27t4U42OgZpFd71XLPNJOHQ4OLHR4CAFG+Ro= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z0GR0ZBt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2AC91C433C7; Sun, 11 Feb 2024 08:31:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707640277; bh=JqHQfILX+iph4O4lw4pSdkFqDOA1bddPCOQHKr6s+e0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z0GR0ZBtvm3Kyrp/pWG6uXis0qHHDSfT1DqyCceaowEFhVc9EpP+MBQmJF3UG5pDb HHx7f37cxryI5UV9R/zCk0P4nMWVQ2kYiMvnM+gBkWIv5X2F2DTbkt72LRRxP6mgjB 1HnaIbzYEHGBKYzxCinDifzBuQvLhS6c9CotL3BAuk7x2xwXor5etWXUCUZ0Dy8wY7 YSP0RtpnHb6dSQlarS41ie0h0gstu5SlnNJVDJumJKo7zYmLiSViz4upcj7qHPZ/+H be6j3nZVnE8tcneQPxfvFKByjkfrcwihlaKeEZ+yT0PnoGsBlp4qqADpo5ihZvV8ni Cz9nPFkRAD/Mg== Date: Sun, 11 Feb 2024 10:30:56 +0200 From: Mike Rapoport To: Anshuman Khandual Cc: linux-mm@kvack.org, Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/memblock: Add MEMBLOCK_RSRV_NOINIT into flagname[] array Message-ID: References: <20240209030912.1382251-1-anshuman.khandual@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240209030912.1382251-1-anshuman.khandual@arm.com> On Fri, Feb 09, 2024 at 08:39:12AM +0530, Anshuman Khandual wrote: > 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 Fixes: 77e6c43e137c ("memblock: introduce MEMBLOCK_RSRV_NOINIT flag") 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) > -- > 2.25.1 > -- Sincerely yours, Mike.