Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1421820ybt; Thu, 2 Jul 2020 05:10:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyD6/vS7dTm54y62/lfKJIFcpN1bPcM1gzLLx//kLGSNPlBKoiia3ovumbJDJ19cbkhpj00 X-Received: by 2002:a17:906:2988:: with SMTP id x8mr19214667eje.141.1593691820277; Thu, 02 Jul 2020 05:10:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593691820; cv=none; d=google.com; s=arc-20160816; b=M3J/2FPnq9MilDBhvHiPvXlGq3PWCx8nWNox7TjNyZNzIgvim6kj2ivXrBCltb8gr3 gczUeSl+fyAZ0Z8kxoDW2iD/XRLc0/BBghJWJMeHOarx0Fl3fVFXDrr8emiEGVdEKSMU WW0wzI+BWKmkRMEA/szfBfBULOe6RpPIC6L/Og3SuHBU4613nwnbWVeftTBVhE/NfnIV NYT8qXfqEQm4224R1GoF0lGxKnyxRUEGCvrSP/o0NuebGwETsmbK/AT9qn43CPhNcaqI 5q9x7CjNmYhM9jnQMl5HpZoXHdTkR1JiE213U7+QkjBkEcv+N9C5fNv66KQJSSSUo6wm sCFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=xHNyDKxONfk5ZuiA6wqr2UGhxhodt5B2XvkEDH0Vso4=; b=O1Ol4K102VaMVkDBENi5pehKTua28aLjlTmoeSeZpj/XsJwuGYh+6oxsezvEf6IW33 HomcOKOn7iQq9xybmDX5i7hl/BjPtmCrhnvUo5BgfZOpCMlUu9md2eL7MnYEI0zQJycK bw+XHYJ64t8kNjSZmjSIpLkqnOpLySA2pLpy7nmzWtB189WIqrf/I6xWgvN2fHOfRwa3 lyGUFYhKkWwzdxhN0Q6q0kqAkHP4Y9TI71NfwB6OWZ+uFENVgBTwnx1bULJCwqXUHuDC fp8q0teUYzGGDZF9VkxeCDmB6fyynmeqP5kscwHXOUvhs/L2yoSrAkYHucR/A0k4QKY+ TPFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KuvzaAvq; 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 u5si6093932edp.123.2020.07.02.05.09.56; Thu, 02 Jul 2020 05:10:20 -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=KuvzaAvq; 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 S1728813AbgGBMJZ (ORCPT + 99 others); Thu, 2 Jul 2020 08:09:25 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:55693 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728778AbgGBMJZ (ORCPT ); Thu, 2 Jul 2020 08:09:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593691763; 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=xHNyDKxONfk5ZuiA6wqr2UGhxhodt5B2XvkEDH0Vso4=; b=KuvzaAvqkaHHCOvkgYrNvZJxfEv1CIg50xT+ZgGCShLYkq0wUbL70u2yLuwd4N2emHxfd/ FFJIa9V9aOtZTS/nKuelvEg+/lgHRdiOu5gjrO/3yiKBrX+6MIeFDFPTkIR+H+IEjlS7rs 0B2UcEig1B3RYAbAhS2eEQt7PRgJFnY= 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-322-zAl8HdTEN3u_pbMtHfe0Qg-1; Thu, 02 Jul 2020 08:09:20 -0400 X-MC-Unique: zAl8HdTEN3u_pbMtHfe0Qg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F407F18CA26C; Thu, 2 Jul 2020 12:09:16 +0000 (UTC) Received: from dhcp-128-65.nay.redhat.com (ovpn-13-96.pek2.redhat.com [10.72.13.96]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CD4245C1D0; Thu, 2 Jul 2020 12:08:58 +0000 (UTC) Date: Thu, 2 Jul 2020 20:08:55 +0800 From: Dave Young To: Catalin Marinas Cc: Bhupesh Sharma , Mark Rutland , Kazuhito Hagio , Will Deacon , Michael Ellerman , x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, Paul Mackerras , James Morse , Benjamin Herrenschmidt , Boris Petkov , Thomas Gleixner , bhupesh.linux@gmail.com, linuxppc-dev@lists.ozlabs.org, Ingo Molnar , linux-arm-kernel@lists.infradead.org, Dave Anderson Subject: Re: [PATCH v6 1/2] crash_core, vmcoreinfo: Append 'MAX_PHYSMEM_BITS' to vmcoreinfo Message-ID: <20200702120855.GD21026@dhcp-128-65.nay.redhat.com> References: <1589395957-24628-1-git-send-email-bhsharma@redhat.com> <1589395957-24628-2-git-send-email-bhsharma@redhat.com> <20200702110003.GC22241@gaia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200702110003.GC22241@gaia> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Catalin, On 07/02/20 at 12:00pm, Catalin Marinas wrote: > On Thu, May 14, 2020 at 12:22:36AM +0530, Bhupesh Sharma wrote: > > diff --git a/kernel/crash_core.c b/kernel/crash_core.c > > index 9f1557b98468..18175687133a 100644 > > --- a/kernel/crash_core.c > > +++ b/kernel/crash_core.c > > @@ -413,6 +413,7 @@ static int __init crash_save_vmcoreinfo_init(void) > > VMCOREINFO_LENGTH(mem_section, NR_SECTION_ROOTS); > > VMCOREINFO_STRUCT_SIZE(mem_section); > > VMCOREINFO_OFFSET(mem_section, section_mem_map); > > + VMCOREINFO_NUMBER(MAX_PHYSMEM_BITS); > > #endif > > VMCOREINFO_STRUCT_SIZE(page); > > VMCOREINFO_STRUCT_SIZE(pglist_data); > > I can queue this patch via the arm64 tree (together with the second one) > but I'd like an ack from the kernel/crash_core.c maintainers. They don't > seem to have been cc'ed either (only the kexec list). For the VMCOREINFO part, I'm fine with the changes, but since I do not understand the arm64 pieces so I would like to leave to arm64 people to review. If arm64 bits are good enough, feel free to add: Acked-by: Dave Young Thanks Dave