Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3355080iob; Mon, 16 May 2022 20:29:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyhawbNILLxqD4xP7/VEDXjW1oWs+s56KHCYBAQO0dhpTDYEBKF6i3x8v2qlp7eDFJUb+4b X-Received: by 2002:a05:6402:3485:b0:427:cde4:2097 with SMTP id v5-20020a056402348500b00427cde42097mr16865590edc.264.1652758148449; Mon, 16 May 2022 20:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652758148; cv=none; d=google.com; s=arc-20160816; b=rF2qkyS5LqlFZXD7fprO66N8UGk/6QdinGPEwXh1bmiBdfQcP2Mi6d/r2K9x/6mgmt iIoIrYXTrEXOpjl6elrNWhNHBCMo2DM28iceEq9FNuu2OIVQfqLUSfRnvR5TnfvLogMK XzHCynYiUzirK2Xsmr9K9EJpwcC9Ebffbp+gc6SbiJTDZatE1mAie/bDW0MaCmT7B4Qn 4B5KZExHyQNLPo7ue1gluYSp8Wd7LrJHs0FFMGQpicnFgbP2a9HEk35B9U1OTI8NlwDK zMhZezzd2wYSOHE1TtnjU65w3LsvU1G1Uy5sQ78+Qd/YE/ADfnyTR8Vvi2VpxpmpNEdx q9uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0633lVETDY/HhcOAOrZemEuxhA7ogRXVwKXNFHC/9yo=; b=aXCMhEDewccYq4vUfjw3jmyzKNdIk8SvlkdlNog1LOxXeKt0zw9X1LhJWYzrginlqr b04+eTlgRLICtpYg68xqJ2GoYk/Hugmd2AO9G4fclqorC+2Wib6zt7r1C1VZ9+UiUNMh FhK2StdKIqEeCHt7NNYsmpfb44HNMKG4WXV+8acjNP4e/xugEclGLdYMxbCzMUhzFmrT fE1qI3bG0sPd8iDozZ98xiCWHEZwat+ex3pB3jNNEPw3FsuFxHTSQEjmmebPZG2o+kfJ ox1A/u+3hdnACDT5u760IxkR/dxrlTaVMpPvTNWP22MZZBknW35XHK+xgTW4Z/322QBe X5Aw== 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 v9-20020a1709061dc900b006e895dec42asi1546567ejh.198.2022.05.16.20.28.43; Mon, 16 May 2022 20:29:08 -0700 (PDT) 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 S1345258AbiEPTHC (ORCPT + 99 others); Mon, 16 May 2022 15:07:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241889AbiEPTG7 (ORCPT ); Mon, 16 May 2022 15:06:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D489248E6; Mon, 16 May 2022 12:06:57 -0700 (PDT) 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 2935F614C5; Mon, 16 May 2022 19:06:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E247C385AA; Mon, 16 May 2022 19:06:53 +0000 (UTC) From: Catalin Marinas To: Dave Young , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Will Deacon , Zhen Lei , Baoquan He , Vivek Goyal , linux-doc@vger.kernel.org, Jonathan Corbet Cc: Chen Zhou , Randy Dunlap , John Donnelly , Dave Kleikamp , Kefeng Wang , Feng Zhou , "Eric W . Biederman" Subject: Re: [PATCH] arm64: kdump: Do not allocate crash low memory if not needed Date: Mon, 16 May 2022 20:06:51 +0100 Message-Id: <165272800400.3869992.18113408678309495430.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220511032033.426-1-thunder.leizhen@huawei.com> References: <20220511032033.426-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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, T_SCC_BODY_TEXT_LINE 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, 11 May 2022 11:20:32 +0800, Zhen Lei wrote: > When "crashkernel=X,high" is specified, the specified "crashkernel=Y,low" > memory is not required in the following corner cases: > 1. If both CONFIG_ZONE_DMA and CONFIG_ZONE_DMA32 are disabled, it means > that the devices can access any memory. > 2. If the system memory is small, the crash high memory may be allocated > from the DMA zones. If that happens, there's no need to allocate > another crash low memory because there's already one. > > [...] Applied to arm64 (for-next/crashkernel), thanks! [1/1] arm64: kdump: Do not allocate crash low memory if not needed https://git.kernel.org/arm64/c/8f0f104e2ab6 -- Catalin