Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp180375pxw; Fri, 8 Apr 2022 04:54:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyHmXXqQZRJE1REEAWob19rxb7vvj6ByyzYp7eBUxtrIdcN41n0PaKFcwVl/Bl0/HeE7v1/ X-Received: by 2002:a17:906:1615:b0:6bb:150f:adf8 with SMTP id m21-20020a170906161500b006bb150fadf8mr17846884ejd.272.1649418887200; Fri, 08 Apr 2022 04:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649418887; cv=none; d=google.com; s=arc-20160816; b=rBoS3D2+aPsBNo5GXGNxIbUKvREBiTOqVMgVixtgpWB3kAejfL77xlPbUmD60j2CNn t2EZIdVUZi/5b47Nx2yfY3PBEkvD7i2viAC4KJsg5JowwV0tGzThpb2Qu3GgeJxb+XKZ 1w38xOLScSwGu8ybGY1AU7wyV6SGHpBjpy1IL7qO/aZO+9GrhdNPY2mVOjfZQ8Xi6ytu Fg4PlLj6ZwncPGfG9m96ZvRe4N/g3RjotVY/a+RNFbNyV9SM7fpx+ysutqcZ2pRgH/hG 9Psqt0cqaQDIUil0oRvAEoyMON84YzxKrrKXxQqHk35k4dBhvDC0p+IIPj8gqiPXE+Y/ LCTg== 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=e8zy54DaIAQWiqPv3lC1ZWYH7iRSoNT36sbtgj7D0MA=; b=uLL+OJUVt1jlSZOfKZcvhFRLpmsvB1+nAx7WDTGR62FTsOmyEu8njPMHZcyEbsW2xx NavTP5IgFcl3w/XmbaNzAU7bCbtzx1heeT5wHrFnCrUSaGX/QsRhMQ9KG4p0m02LvZ8d t3vjiy7c3uWnsZxTVWueAmeZ7T4KHuzYgPfdb+SsBX5NLtDLbzFtrP8hjPe9wqKs1krq mEoihf8AixkJ5ZKVIzg3OuHwEiroMQ5y1ZWGaTFAYFd9f9lBX8DWY3r5pcdCI4MeMqqY CdN7S1Nom2IMHR92eLQ+GdH2tILqUvy+y7aUOXLiSjhFyUcJwSk+nYEPHlKKT8ghWB59 cHYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cUzmBaCR; 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 rv14-20020a17090710ce00b006e858d9eaddsi674515ejb.551.2022.04.08.04.54.22; Fri, 08 Apr 2022 04:54:47 -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=cUzmBaCR; 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 S231815AbiDHJfI (ORCPT + 99 others); Fri, 8 Apr 2022 05:35:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229613AbiDHJfG (ORCPT ); Fri, 8 Apr 2022 05:35:06 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E1B5212152D for ; Fri, 8 Apr 2022 02:33:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649410381; 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=e8zy54DaIAQWiqPv3lC1ZWYH7iRSoNT36sbtgj7D0MA=; b=cUzmBaCRgCcqPwfI3Vg/hTL2T0VPnxmOq80EHNo3r2Fx6etDnBsBeW3pU2rZZGacHBCSJM Z8zy9sBXDwU03Pz04HmfE4TC8w6vNwZ52x1eaGub5HvUQK0gYH9iHTsmy6TCMrO1TpQN9E MRk3x3bBeOLxUrtZi/MaFNutUABt2dE= 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-562-h8-zO9aANJqOx1GbW8pX1A-1; Fri, 08 Apr 2022 05:32:57 -0400 X-MC-Unique: h8-zO9aANJqOx1GbW8pX1A-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D577A811E78; Fri, 8 Apr 2022 09:32:56 +0000 (UTC) Received: from localhost (ovpn-12-202.pek2.redhat.com [10.72.12.202]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BE8B91402427; Fri, 8 Apr 2022 09:32:55 +0000 (UTC) Date: Fri, 8 Apr 2022 17:32:52 +0800 From: Baoquan He To: Zhen Lei Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H . Peter Anvin" , linux-kernel@vger.kernel.org, Dave Young , Vivek Goyal , Eric Biederman , kexec@lists.infradead.org, Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, Rob Herring , Frank Rowand , devicetree@vger.kernel.org, Jonathan Corbet , linux-doc@vger.kernel.org, Randy Dunlap , Feng Zhou , Kefeng Wang , Chen Zhou , John Donnelly , Dave Kleikamp Subject: Re: [PATCH v21 0/5] support reserving crashkernel above 4G on arm64 kdump Message-ID: References: <20220227030717.1464-1-thunder.leizhen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220227030717.1464-1-thunder.leizhen@huawei.com> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.7 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 Hi, Lei On 02/27/22 at 11:07am, Zhen Lei wrote: > Changes since [v20]: > 1. Check whether crashkernel=Y,low is incorrectly configured or not configured. Do different processing. > 2. Share the existing description of x86. The configuration of arm64 is the same as that of x86. > 3. Define the value of macro CRASH_ADDR_HIGH_MAX as memblock.current_limit, instead of MEMBLOCK_ALLOC_ACCESSIBLE. > 4. To improve readability, some lightweight code adjustments have been made to reserve_craskernel(), including comments. > 5. The defined value of DEFAULT_CRASH_KERNEL_LOW_SIZE reconsiders swiotlb, just like x86, to share documents. 5.18 rc1 is already done, do you have plan to post a new version for reviewing? Thanks Baoquan