Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp290925rwe; Fri, 14 Apr 2023 02:56:23 -0700 (PDT) X-Google-Smtp-Source: AKy350YTari6XO3NXbgL8wGSTVUYpVADFciiIOuN5+FoQoXJXVTq9RVoDmAkUmieCWGuJQegS5xN X-Received: by 2002:a17:90b:4414:b0:23f:452c:7a4f with SMTP id hx20-20020a17090b441400b0023f452c7a4fmr4855734pjb.46.1681466182783; Fri, 14 Apr 2023 02:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681466182; cv=none; d=google.com; s=arc-20160816; b=exxoxUDbR2KfLeTogbv3fJDvhXynhpJoaRjZTMRyUP0k1ARUUe0FGtFgntvLyp3r9r uBFFei7kO2sGYT87nrJ9kODsUpLccGRfFCWJKoBzj3YcqNOm/LWuBOvtfSqQ0KF0g8us ISmTmg9lP4+BcpLmU3tbYHySf9YpYHalSKmLN11S5BKU1/CxWUigWEJ8I/r8YfC1nOBy Y2NZH5A4S293Gr0cp8vDI4uVCVDKfcPfXffU6zUCUTBDuFYJY+gz6XQHqu+wTMQ8XMJh 16oAfrLDJT+Wga6v6Vu9Q9EzHcXkat6yXxVC8utCTXiKhGcjnI+iDtWBuGMc7WEzoTKD KBRQ== 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:dkim-signature; bh=yyikU5M9d76wbxiGEiGM6t7sb6u7giUEixuT9mv0t1Y=; b=EdlJW7WGqVjxOLRIV6kYA1uysZKksrcIsRorZjrvtVnlJ9Fbwah28m8glisKHsz7QS 60yh2lpDfGYmAj6tLHPnd/GBdxguWWaZz3LdUCbnAb0aMSHTOsoK+ZKDxSIzCgKnZzaA PjHWZBARFxl+k8vd7UIlCD5D5D2MgJzFWUdukc6h93+dZbWB9I9D4B0N2hQcq/6fnp61 alkPCGi7p9xYfyIsfL7MPidVg+HVnVeJp9sZjXK5NHM0k6KgNunjtz4lMcO9FcXi25Zj Iiye8i5ngwqNTjp2ewwTHXflva5ZHbAppkZyZgLHZFtc5QgweujW8aWCmaou7rT6fbIJ YzTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="JMn/U+0r"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f12-20020a170902ce8c00b001a5298ca6d5si4573852plg.453.2023.04.14.02.56.11; Fri, 14 Apr 2023 02:56:22 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="JMn/U+0r"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230149AbjDNJu4 (ORCPT + 99 others); Fri, 14 Apr 2023 05:50:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230139AbjDNJuy (ORCPT ); Fri, 14 Apr 2023 05:50:54 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 745D25B80 for ; Fri, 14 Apr 2023 02:50:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681465807; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yyikU5M9d76wbxiGEiGM6t7sb6u7giUEixuT9mv0t1Y=; b=JMn/U+0r8SIJLM7TFaVBtFUo+ya1hpVxotVVXo2wVr3oPAJT9JuWp+4kZea2XXNpDOVM6G 7cvSZqHSchSs+uTaOaBGx0N+RCCTEIWQElm1hrm+zDJdybah9HgWEc5AkMk6zRZ9fwB2js PuDX4LuDPuHmbk07cUowXMN5CnpV3K8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-627-XS39Y3QeNJW4OlVc1qG7KQ-1; Fri, 14 Apr 2023 05:50:02 -0400 X-MC-Unique: XS39Y3QeNJW4OlVc1qG7KQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 810C6185A7A8; Fri, 14 Apr 2023 09:50:01 +0000 (UTC) Received: from localhost (ovpn-12-58.pek2.redhat.com [10.72.12.58]) by smtp.corp.redhat.com (Postfix) with ESMTPS id AF76A2027043; Fri, 14 Apr 2023 09:50:00 +0000 (UTC) Date: Fri, 14 Apr 2023 17:49:56 +0800 From: Baoquan He To: Catalin Marinas Cc: linux-kernel@vger.kernel.org, horms@kernel.org, thunder.leizhen@huawei.com, John.p.donnelly@oracle.com, will@kernel.org, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v5] arm64: kdump: simplify the reservation behaviour of crashkernel=,high Message-ID: References: <20230407022419.19412-1-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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 04/13/23 at 03:30pm, Catalin Marinas wrote: > On Thu, Apr 13, 2023 at 03:45:50PM +0800, Baoquan He wrote: > > I am OK with this version, or the version with min(SZ_4G, > > arm64_dma_phys_limit), or v4. Please help point out if I got your idea > > correctly. Thanks a lot. > > I think we should stick to this patch. The disabling of the ZONE_DMA(32) > is fairly specialised and you are right that we should not introduce an > artificial 4GB crashkernel boundary on such systems. The slight > confusion may be that ,high triggers a search above 4GB where there's > not such boundary but this would match the documentation anyway. OK, sounds good to me. Thanks a lot for all those careful reviewing and helpful suggestions.