Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp775871rwb; Wed, 16 Nov 2022 07:31:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf5BCnjq5u7qrXJBj9xRC4kfCql0QDqNwHL/9nkCwhRlHzR6DsUAjJxut/2vASTBCnqGR4x8 X-Received: by 2002:a62:4e8c:0:b0:56d:f4b6:f430 with SMTP id c134-20020a624e8c000000b0056df4b6f430mr23406099pfb.49.1668612714015; Wed, 16 Nov 2022 07:31:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668612714; cv=none; d=google.com; s=arc-20160816; b=w3Q94Cj8upEN7w1hbd//u9boQVGU6XOXVfyF4sc9W4KN6iilaMQazY3QvejZ9hqDvX rlh7S9Hk1RX6BkCpWk0Ah019F70bKxGFWhbdGOhtnTiewk79+MIUxbDEggg/X/aSIOzk JrTyFNStAwTHNKWNItZYK1rYgQCpAkV5Y/4Q+JlMI8zc2qct1ecMnzdSYZuhHFLSvxtH 4fk0jerlNBmzN3fcteMJ3dU3saSY7+gXrtHeHe52zjApxNIbJb2TpLK4kIi1rV7wHN5u Wn0Nwj+aZhC8aNV/gIHvhW/biXNZu0kwJDqkXv6DjIgCmHG6cAc4JJ3e33BHCYJW5rBf eOhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=G4zO8MZAcKmjYAXfSb8S+NL+AgNzL/9naMPw2n6sG/Y=; b=genyYVIlOA8wD9aic0Fo09+KBbBi4vFUT7Rcdf1VtI83wmZ2voUs6DqrnsiYp0YNNN zecscd1WYWPU1l8p/nfYP0SnmYX2LpV46sgR1Fn5VWE+hwSMiRoYkBdb2+Ii9FHdfxhy 8UtSnmVPGPKMcjnp9YLQowWZD/2B80bEWZ6++GibY2uvxykURDL/daZWileqV124Sm8T XOwIJvWUfWHbcXWlBQNL3vEJRiTHe1TKVZBHvxWe+Q0Pp9GIGo4TrNYF3vWVAwRjyKkq AJYJ3FlfbA3lmLOQdq1Ry7M7WRKRyWTDBGJoGy6l/fLHD4m3V9WGNP9G2Xy7EVkWbvNw 31ng== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020a170902b10500b001769cc79508si14872756plr.291.2022.11.16.07.31.41; Wed, 16 Nov 2022 07:31:54 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231313AbiKPPKD (ORCPT + 92 others); Wed, 16 Nov 2022 10:10:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229463AbiKPPKB (ORCPT ); Wed, 16 Nov 2022 10:10:01 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A9FB271D; Wed, 16 Nov 2022 07:10:00 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8700461E76; Wed, 16 Nov 2022 15:10:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23DE5C433C1; Wed, 16 Nov 2022 15:09:55 +0000 (UTC) Date: Wed, 16 Nov 2022 15:09:51 +0000 From: Catalin Marinas To: Zhen Lei Cc: Dave Young , Baoquan He , Vivek Goyal , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Will Deacon , linux-arm-kernel@lists.infradead.org, Jonathan Corbet , linux-doc@vger.kernel.org, "Eric W . Biederman" , Randy Dunlap , Feng Zhou , Kefeng Wang , Chen Zhou , John Donnelly , Dave Kleikamp Subject: Re: [PATCH v4 1/2] arm64: kdump: Provide default size when crashkernel=Y,low is not specified Message-ID: References: <20221116121044.1690-1-thunder.leizhen@huawei.com> <20221116121044.1690-2-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221116121044.1690-2-thunder.leizhen@huawei.com> X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 Wed, Nov 16, 2022 at 08:10:43PM +0800, Zhen Lei wrote: > Try to allocate at least 128 MiB low memory automatically for the case > that crashkernel=,high is explicitly specified, while crashkenrel=,low > is omitted. This allows users to focus more on the high memory > requirements of their business rather than the low memory requirements > of the crash kernel booting. > > Signed-off-by: Zhen Lei > Acked-by: Baoquan He Reviewed-by: Catalin Marinas