Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp369368ybk; Wed, 20 May 2020 01:34:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzt/4vjEyikOtaOLfvsK1EJhVbAnhKw+JpSQsTuvaOU2yIGUDRI9Q5d5JUB+Rdv/x6AS6Xi X-Received: by 2002:a05:6402:16d6:: with SMTP id r22mr2271376edx.289.1589963694858; Wed, 20 May 2020 01:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589963694; cv=none; d=google.com; s=arc-20160816; b=lcI/33FjwjjtxXXGbAoSa8ukx7krFUeOfJV+x4KKBAwED6T1D6m9G1QTwbNzqk20aC GLGto/3RKXVdAoarRmO4hS1gaixNGBMcpvtBJAyQyGd7Fi88/DYS2KvWmYULqnqjmiTA TccJJt2AiOyU6HxtMufeAbWMsdFy+kWekCFNMjy/Fy+ica9RhXzsWFUgHjQjc6305pwp B2GAGc6wSfVIj3AQ2qv9dOw85RP2XVWfZble1upl5GMuDnraaCyId41swwv91UxBRgHr 8tz1KbM/Ra85ph6hmme8Jfl0Cngc5w2+hvNoqKLGsZOAo13Waf+bGaj3mS8leqbvwNNK qIIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=RmOXj1sWhvWoKhdSD0p1vfnJVy6tNauqOTA14BFZb40=; b=HvcCNk+mNGQv30U5JVQO4pFYfbxSdIZCmqJyOCs25/JsusZ8eTPNDNYmWAKab2YnX1 lAHfRQM0LG1T3GXAEsR+7c9dkjELwhh19ahr5a+qmzF+b4PTkJhcOC5THzis0Q2iZtGg yw7t0XddpNtTTXy2piiMULtmFmFQzRLw+ZXf0Vgi6ZcOkEiDfztZ3b7bbdvweWU+I5GQ nnEoZfbRSRNc9C+Dfkz2vDaakqu/E7FPVyfjdxdTp4Et6bQ8mLyy0EZMFT+ZUo86O2Za diN+7ve87+8zBe3e4cFgMn69y2o7Tp+OHyAWL5pr8dxwreJDJK9KVre5lyi5HdyC8D6W hsNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Txf62WqR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jz6si1433889ejb.327.2020.05.20.01.34.32; Wed, 20 May 2020 01:34:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Txf62WqR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726850AbgETIcy (ORCPT + 99 others); Wed, 20 May 2020 04:32:54 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:39044 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726403AbgETIcx (ORCPT ); Wed, 20 May 2020 04:32:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589963572; 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=RmOXj1sWhvWoKhdSD0p1vfnJVy6tNauqOTA14BFZb40=; b=Txf62WqR5qdCnPsofmGtZ0dkcQQg9jM3+kt4xD/GLTUHLmJdI3ppYlXd09UbtEecPikpuq HB+B/0gGMs+VxoH/PWm4yOxIoURVCLYV1IkwCqwCidkXb3jGG0XZvq4n0xOtVqS84Po8yC xTmN3zJaKKpSSDGH0UHYOzEEgquUki8= Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-235-6c4OjkJ-MJWw2kkugFvy8g-1; Wed, 20 May 2020 04:32:49 -0400 X-MC-Unique: 6c4OjkJ-MJWw2kkugFvy8g-1 Received: by mail-qt1-f197.google.com with SMTP id z5so2877509qtz.16 for ; Wed, 20 May 2020 01:32:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RmOXj1sWhvWoKhdSD0p1vfnJVy6tNauqOTA14BFZb40=; b=OGsR5LcB4PKOECk+Ze6nkYP2dZkG3qmS+1MyHszKcxNZcIAsAtNrwgnAxt3f2QZxFn Vo2N9pHpnuXiv5Hnyzn3Otqz0osEMfWxVo1oRsvyrL4yYXTFLeNEngy2tyAXWosSLeX7 DmyfY1UW/Jb55TD3g6Lg3oVb2YzkMCBdtNECyaWHXhRfdwi4POwcOFXZ21/BLaz8U5CJ S52sl7/cEjniwYd39afMxMlzaDQGrUMLGokbM2qOh/vDcVAeIeiKv7wuHYcEI0SEuSY5 Aa2ESkf09cMe1R0KhtEVLB72A98gRCs0MROKB2N3j5V+9JAP7jWyrvzlQAaAEn+clIxc rdvQ== X-Gm-Message-State: AOAM533FIuF8baaKskYE2sppL9jiM3gHRMdpF7JG5ANYU2HjJIeDZGmC iWTnLy4qXK+dFef5JxcjNNElmhUUayVYWExcd7tmZ/vZhgGxmThV7Li6kDYTPrseJ20ENvu/47g QMGHlZgXsZfyFijnspQiGSk59utb+5qk3TxY9FriE X-Received: by 2002:a37:c20a:: with SMTP id i10mr3478203qkm.29.1589963568763; Wed, 20 May 2020 01:32:48 -0700 (PDT) X-Received: by 2002:a37:c20a:: with SMTP id i10mr3478185qkm.29.1589963568417; Wed, 20 May 2020 01:32:48 -0700 (PDT) MIME-Version: 1.0 References: <20191223152349.180172-1-chenzhou10@huawei.com> <3D37F6BE-ECFC-4EC0-A7C4-341F85FC056E@oracle.com> In-Reply-To: <3D37F6BE-ECFC-4EC0-A7C4-341F85FC056E@oracle.com> From: Bhupesh Sharma Date: Wed, 20 May 2020 14:02:36 +0530 Message-ID: Subject: Re: [PATCH v7 0/4] support reserving crashkernel above 4G on arm64 kdump To: John Donnelly Cc: Arnd Bergmann , "open list:DOCUMENTATION" , Chen Zhou , Catalin Marinas , Dave Young , kexec mailing list , "linux-kernel@vger.kernel.org" , Simon Horman , James Morse , Thomas Gleixner , Prabhakar Kushwaha , Will Deacon , Ingo Molnar , Linux ARM Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi John, On Wed, May 20, 2020 at 1:53 AM John Donnelly wrote: > > > > > On May 19, 2020, at 5:21 AM, Arnd Bergmann wrote: > > > > On Thu, Mar 26, 2020 at 4:10 AM Chen Zhou wrote: > >> > >> Hi all, > >> > >> Friendly ping... > > > > I was asked about this patch series, and see that you last posted it in > > December. I think you should rebase it to linux-5.7-rc6 and post the > > entire series again to make progress, as it's unlikely that any maintainer > > would pick up the patches from last year. > > > > For the contents, everything seems reasonable to me, but I noticed that > > you are adding a property to the /chosen node without adding the > > corresponding documentation to > > Documentation/devicetree/bindings/chosen.txt > > > > Please add that, and Cc the devicetree maintainers on the updated > > patch. > > > > Arnd > > > >> On 2019/12/23 23:23, Chen Zhou wrote: > >>> This patch series enable reserving crashkernel above 4G in arm64. > >>> > >>> There are following issues in arm64 kdump: > >>> 1. We use crashkernel=X to reserve crashkernel below 4G, which will fail > >>> when there is no enough low memory. > >>> 2. Currently, crashkernel=Y@X can be used to reserve crashkernel above 4G, > >>> in this case, if swiotlb or DMA buffers are required, crash dump kernel > >>> will boot failure because there is no low memory available for allocation. > >>> > >>> The previous changes and discussions can be retrieved from: > >>> > >>> Changes since [v6] > >>> - Fix build errors reported by kbuild test robot. > > ... > > > Hi > > We found > > https://lkml.org/lkml/2020/4/30/1583 > > Has cured our Out-Of-Memory kdump failures. > > From Henry Willard > Subject [PATCH] mm: Limit boost_watermark on small zones. > > I am currently not on linux-kernel@vger.kernel.org. dlist for all to see this message so you may want to rebase and see if this cures your OoM issue and share the results. This is a very interesting finding. Thanks a lot for sharing the same. I am working on further avoiding OOM issues with arm64 kdump kernels. I will experiment more with this patch and get back with more details. Regards, Bhupesh