Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp719749pxb; Thu, 21 Jan 2021 19:16:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9dGzqVvyAzMskDxmcaAgkSoXG7OUqo4osxpQ9BDaFXmwugzdsEmMsg3HmdPTl7EormZQP X-Received: by 2002:a05:6402:1b11:: with SMTP id by17mr1567635edb.373.1611285380200; Thu, 21 Jan 2021 19:16:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611285380; cv=none; d=google.com; s=arc-20160816; b=oDrH9YKbUuwtdMOs/TzxhSrnOfFNWidpAEFA3Y1RtwdoEZEO8490FeX7JZgUslEKLB P+IZJe/o14eX9S/a76bWenV+wd0Kp+d1LTci86h0zWLOZWQ/rsn7zzyLGCkKL6AeeGlt t9nQmFFPTAm6GueSewFbXfWoMf4jeZDEPmVFJbeL/OALAS8AyI+57SAOR9gZOIrKr0WR Sz3vtF+QwoRv9EScCRC6atoHruRdDNtb7LXglT9T6j/V3AxZ0Q8DU2kz/g3cGqnotVOW bZrLx2Eah9vgMyTPZ3ut4R0Z6ZSuKweMs1uILWCY6BZWUWjsy2hiupA+GcixozOPq0Cf iUxA== 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=/QaNoqoevPF7/8oe2sGB4sw16sOzsJuLdFQitZNlslw=; b=mXrExByOSYoHi7WA12UO0vC16NhmIDMx5kPmILMaCkCv7iA3tYPUNxmTMHaqaa0DjX 7naUg2jmPi66zxfiquuHa5vhgTYPEnO5GNjgN8e4DlC9dk7ka/zm+nIt/nNNZgjnTqXu clDsDKrYd4dqmIs2TQHqff9iA2WOEgHf0XRkBpNp5NP7u79RXbWvAMLuWuRvr9uXzBer rQ/CyfTU/mynszEZlsSYV5gyepKKSYpQGCXbQqPtJeI7dZO4EoO0+dShf3//s8F2R0tt 5Vzf5tuZizyqKgTmctDs/Rsnnp2sEUzDlyjSWsXTv3B2PmrHqyOZWBzrFQNSiLwT70G0 MOqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=E4MqgQxN; 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 a15si2475494ejk.379.2021.01.21.19.15.56; Thu, 21 Jan 2021 19:16:20 -0800 (PST) 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=E4MqgQxN; 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 S1726678AbhAVDOh (ORCPT + 99 others); Thu, 21 Jan 2021 22:14:37 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:24035 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726545AbhAVDOd (ORCPT ); Thu, 21 Jan 2021 22:14:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1611285187; 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=/QaNoqoevPF7/8oe2sGB4sw16sOzsJuLdFQitZNlslw=; b=E4MqgQxNgUQVGeuZ1LkPGxD7OKYiON8wosNIBXudEcvg3dVGW3iqQFLj145Tm5PhZgs9RK XwloKAiDPiM/VPwtRqrQ1lYJyYlT88su6cwBr45Jf+Xb8V1XCJHRFBvfB/WameDxc3nhgA kYvpkXlDAzQ1KlFY/oowWbk503DjIOU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-324--DA1YC-sOGSQs-sLfxKiIw-1; Thu, 21 Jan 2021 22:13:03 -0500 X-MC-Unique: -DA1YC-sOGSQs-sLfxKiIw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C6BE5806664; Fri, 22 Jan 2021 03:12:59 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-12-255.pek2.redhat.com [10.72.12.255]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5F890627DD; Fri, 22 Jan 2021 03:12:48 +0000 (UTC) Date: Fri, 22 Jan 2021 11:12:44 +0800 From: Dave Young To: john.p.donnelly@oracle.com Cc: Guilherme Piccoli , Kairui Song , Saeed Mirzamohammadi , Geert Uytterhoeven , linux-doc@vger.kernel.org, Catalin Marinas , Bjorn Andersson , "H. Peter Anvin" , Will Deacon , Anson Huang , Jonathan Corbet , the arch/x86 maintainers , Michael Walle , Krzysztof Kozlowski , Ingo Molnar , Vivek Goyal , Arnd Bergmann , Borislav Petkov , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Baoquan He , "Martin K. Petersen" , Randy Dunlap , kexec mailing list , Linux Kernel Mailing List , "# v4 . 16+" , Li Yang , Miguel Ojeda , Vinod Koul , Diego Elio =?iso-8859-1?Q?Petten=F2?= , Olof Johansson , Shawn Guo Subject: Re: [PATCH 1/1] kernel/crash_core.c - Add crashkernel=auto for x86 and ARM Message-ID: <20210122031244.GA4717@dhcp-128-65.nay.redhat.com> References: <20201118232431.21832-1-saeed.mirzamohammadi@oracle.com> <20201123034705.GA5908@dhcp-128-65.nay.redhat.com> <20210122012254.GA3174@dhcp-128-65.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210122012254.GA3174@dhcp-128-65.nay.redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/22/21 at 09:22am, Dave Young wrote: > Hi John, > > On 01/21/21 at 09:32am, john.p.donnelly@oracle.com wrote: > > On 11/22/20 9:47 PM, Dave Young wrote: > > > Hi Guilherme, > > > On 11/22/20 at 12:32pm, Guilherme Piccoli wrote: > > > > Hi Dave and Kairui, thanks for your responses! OK, if that makes sense > > > > to you I'm fine with it. I'd just recommend to test recent kernels in > > > > multiple distros with the minimum "range" to see if 64M is enough for > > > > crashkernel, maybe we'd need to bump that. > > > > > > Giving the different kernel configs and the different userspace > > > initramfs setup it is hard to get an uniform value for all distributions, > > > but we can have an interface/kconfig-option for them to provide a value like this patch > > > is doing. And it could be improved like Kairui said about some known > > > kernel added extra values later, probably some more improvements if > > > doable. > > > > > > Thanks > > > Dave > > > > > > > Hi. > > > > Are we going to move forward with implementing this for X86 and Arm ? > > > > If other platform maintainers want to include this CONFIG option in their > > configuration settings they have a starting point. > > I would expect this become arch independent. Clarify a bit, it can be a general config option under arch/Kconfig and just put the code in general arch independent part. > > Saeed, Kairui, would any of you like to update the patch? > > > > > Thank you, > > > > John. > > > > ( I am not currently on many of the included dist lists in this email, so > > hopefully key contributors are included in this exchange ) > > > > Thanks > Dave