Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp598347pxp; Wed, 9 Mar 2022 08:51:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJzGzRZAmuZwxKwkWI98y67h+R2heXCBOl4MQpoq211TiadkO0RZvNiG4ZOb469HjcGxbCJj X-Received: by 2002:a17:90b:1642:b0:1bf:1dc5:965a with SMTP id il2-20020a17090b164200b001bf1dc5965amr371977pjb.84.1646844704201; Wed, 09 Mar 2022 08:51:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646844704; cv=none; d=google.com; s=arc-20160816; b=UHc4DjSOyegZse3xAigUNOvesFx4y/rTRhszH0fXXT7rfj9Od0ktTiVTlyD9b1e3hk fo3Mhp5Dn8IXAt0XP89ZkFPwbKjjkHWyXuGLeeVFpR8zyLGac+qQtxC0+G262T4IA+P/ eWyv9yefu7S/iAmgiJGczqfCwelS1atRQrcxG+6sz/nQcHbj0nC5V+OuxyEoBXCdZ5az aNf76BR405uYTF1whsjw7e/BmYbAl82fqSmqa4MFO1kAtj2EY2RqWXgt/WQDX41eTqKp 2mudZYE2HBQ9loURMfp4xH8eWNyyfMFpjnpYsKku467rJccNIf9DgN8P3idSOs5JyGgP SZgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-filter; bh=j8nfAF1v2xh3j7XRr1/byWMoUj4Sk8TnPwD2StJsdf8=; b=QuxLN5D1UV5ZFLRp2F9h6Id6qkcFOvIRNIoohpXtQw8uEUd7zH4FeNmQRpuFR0gDu3 dwtWs3a0gy0si2CtlddSC5fOsbTBio291LmGY5uZSuhB+dNrcrbPSMjJimvQS7glVcXP SD8wMKtHAaxnPXjGz4m0V+cYK0ytHUpQe1HxSQXZEGdmxjsQFxi8G0mEcc/F7yc2stK6 TOvaEA1yVkzR6i1E9dmzbwNc4svplXh5S2eVsA0R2naBz1sfjF8OrkWXiovGgOiqNvjP M/fjgSi/9m41AGNL/A9oTlA8Pkmr1c0R0G5q+mgR7DKq2g801Z0n/6FfPXqox/IMWq8B B91g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p8-20020a17090ab90800b001bf0a6e46bfsi2402800pjr.144.2022.03.09.08.51.27; Wed, 09 Mar 2022 08:51:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236152AbiCIQ3F (ORCPT + 99 others); Wed, 9 Mar 2022 11:29:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238290AbiCIQVs (ORCPT ); Wed, 9 Mar 2022 11:21:48 -0500 Received: from mxout04.lancloud.ru (mxout04.lancloud.ru [45.84.86.114]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D60DC3A5; Wed, 9 Mar 2022 08:20:46 -0800 (PST) Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout04.lancloud.ru B5CC8209A0EF Received: from LanCloud Received: from LanCloud Received: from LanCloud Subject: Re: [PATCH] docs/kernel-parameters: update description of mem= To: Mike Rapoport , Jonathan Corbet CC: Andrew Morton , "Maciej W. Rozycki" , Mike Rapoport , Tiezhu Yang , Thomas Bogendoerfer , , , , References: <20220309122446.1118738-1-rppt@kernel.org> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: Date: Wed, 9 Mar 2022 19:20:42 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20220309122446.1118738-1-rppt@kernel.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT02.lancloud.ru (fd00:f066::142) To LFEX1907.lancloud.ru (fd00:f066::207) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/9/22 3:24 PM, Mike Rapoport wrote: > From: Mike Rapoport > > The existing description of mem= does not cover all the cases and > differences between how architectures treat it. > > Extend the description to match the code. > > Signed-off-by: Mike Rapoport > --- > > This is in a way a followup for the discussion of mem= usage on MIPS: > > https://lore.kernel.org/all/1646461289-31992-1-git-send-email-yangtiezhu@loongson.cn > > .../admin-guide/kernel-parameters.txt | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index f5a27f067db9..f3597841a031 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -2834,6 +2834,15 @@ > 2 when the kernel is not able to see the whole system memory; > 3 memory that lies after 'mem=' boundary is excluded from > the hypervisor, then assigned to KVM guests. > + 4 to limit the memory available for kdump kernel. > + > + [ARC,MICROBLAZE] - the limit applies only to low memory, > + high memory is not affected. > + > + [ARM64] - only limits memory covered by the linear > + mapping. The NOMAP regions are not affected. > + > + [HEXAGON] - must be use Used? > to set the memory size, there is What? :-) [...] MBR, Sergey