Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp256730ybc; Tue, 19 Nov 2019 00:31:43 -0800 (PST) X-Google-Smtp-Source: APXvYqxZ4Mg+XpUVWzZ3xmlqjXVM8iA48Rj/1RGByhulbUL/qBf9pOy+IGhC8Z/Qi+Cj+hztu18+ X-Received: by 2002:a17:906:944d:: with SMTP id z13mr33556844ejx.58.1574152303723; Tue, 19 Nov 2019 00:31:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574152303; cv=none; d=google.com; s=arc-20160816; b=jm+MVCtN+IhIVGW8gfwKr6EhQmogANRd6Ac+7gXhtymlHR9q+7k5Sv2W7erbCE4O9N u1VKPI6KYB3ZytHTLp9GwrLpKMLxhHkclT/LUcMlhLoU0aNqq30EQLhl/g4yISbrQrfp jwusJAtTfxk19lu3bCaR9AS/eE6lHQJuAK/QokvSbX7qgmz4SsmpvQ3TaFOhTA6iHEC8 k5/22xVfzNZspvoldGwv5n5tbejSrKZM6uVhpdo+ADAFvXqGEiMJ1JquKw9XWuSwyn7o SASCfhZK/wbm61TyJGh2GAxHaxC8exR+bM2mp1vVJN5tNUWYTJLdx8DEhWBI18ygcyV0 g+LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=H20VJbl/HlqoZLKxB2eEkiVm9bjunStGFexdv/rH5Wg=; b=hct0BERNfFTczkNnFxQIRxvXd/7K1US3u6XTw8iEDqdAFFvPWv0r6Q9xDimrumzqpZ pwJPM+n4p9hsKFrkwen/EfbP+uJ/N+o0nGZ9lZywihVid5DluWkw3QCOoD1KmWa0XcCR jDb2mBrDGGEoNi+QyURBVbeAvtcozr1TROF1aoI+07Tty+eVz/Xhcr3d6A8+BvsgkOWp ZFuzV0nG+GUV5yp5Tfdd4eOflMrUisUykyL9lGfIKLzJB6o0ECspg85UigwjrWWUtjTF uOJbyBcndy6C5tCUOrvlznPnzZuM8biei1+qicC4iqDrJtUR527mgS9AG+7r8pqrW3DJ 0WpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Vs48QVXH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id p11si13343748ejz.98.2019.11.19.00.31.19; Tue, 19 Nov 2019 00:31:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Vs48QVXH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726784AbfKSI3y (ORCPT + 99 others); Tue, 19 Nov 2019 03:29:54 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:33102 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725815AbfKSI3x (ORCPT ); Tue, 19 Nov 2019 03:29:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574152193; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=H20VJbl/HlqoZLKxB2eEkiVm9bjunStGFexdv/rH5Wg=; b=Vs48QVXHrQflHshwT1DFUeJMdekY7Ate9mEjEj+F9xVqJAYz/lWv+pHyDmWq3dL/NjH3Fp chRgM8Fce3ZL84VFvEzqmTWqPPlA6LQyStAUstFHHwMc/wCzrkKeZhuIdf6D+fN2tpn32T w/W0FSztz7bjhIVhLn5fQJ4VJSybKHI= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-379-C0aWv3HMOP2V5-v_9qA-hw-1; Tue, 19 Nov 2019 03:29:49 -0500 Received: by mail-lf1-f71.google.com with SMTP id z16so4961254lfb.23 for ; Tue, 19 Nov 2019 00:29:48 -0800 (PST) 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=LdTt3n+0i729FTDReSuLECgSQ4aS+lT8YABUAIgw7M4=; b=l+iBJam32SmRAnnFb9xfKInZZdI7rghQPlHw5+XWvrhkGesfIL7gIQ+0U62IBZaf9n WbMey65S1tK53vobBUL0d7ibHT4BeAW2k7B2g9xPdnU9/bzSMdfhKaS20gnvUNZQh/xb LluCTKjXlOMxf7sES3aSMDNH067G6h+69+WC/P+KwcqPoD2mxYkJvPcHBC5D7/jQXpMx GAio4G+9zIXcD71cr9dxm+tNUxreITRHtDdeyN+7a1ThR/VDfWLBH4q3P3FDBC1Rh/Dl yRZzZFOWj13Ilr0BHP8y8wlwkqRcmOj6Ssn0T9rayB0eSnhlYTLSdouRhRgMBI5tKvoh GcLw== X-Gm-Message-State: APjAAAUrP/ba+P26xn/2a9HwVDGetPBwIx0x25JlygNIInm/3Ekc1aIm F0NLKo0XUF2sYMGClJmUGeN0sEGns/5iVehXdB6YUA1T3Nfz9C3QukCsjNVv85yIAy+AFYRqbYM 81hFFEqezbvWvqGMcDtHYFol6gzYExl7xqvgYFEkQ X-Received: by 2002:a2e:98c6:: with SMTP id s6mr2467910ljj.235.1574152187804; Tue, 19 Nov 2019 00:29:47 -0800 (PST) X-Received: by 2002:a2e:98c6:: with SMTP id s6mr2467897ljj.235.1574152187559; Tue, 19 Nov 2019 00:29:47 -0800 (PST) MIME-Version: 1.0 References: <1573459282-26989-1-git-send-email-bhsharma@redhat.com> <20191113063858.GE22427@linaro.org> <20191115015959.GI22427@linaro.org> In-Reply-To: From: Bhupesh Sharma Date: Tue, 19 Nov 2019 13:59:33 +0530 Message-ID: Subject: Re: [PATCH v4 0/3] Append new variables to vmcoreinfo (TCR_EL1.T1SZ for arm64 and MAX_PHYSMEM_BITS for all archs) To: Prabhakar Kushwaha Cc: AKASHI Takahiro , Linux Kernel Mailing List , Bhupesh SHARMA , Boris Petkov , Ingo Molnar , Thomas Gleixner , Jonathan Corbet , James Morse , Mark Rutland , Will Deacon , Steve Capper , Catalin Marinas , Ard Biesheuvel , Michael Ellerman , Paul Mackerras , Benjamin Herrenschmidt , Dave Anderson , Kazuhito Hagio , x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel , Linux Doc Mailing List , kexec mailing list X-MC-Unique: C0aWv3HMOP2V5-v_9qA-hw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 19, 2019 at 12:03 PM Prabhakar Kushwaha wrote: > > Hi Akashi, > > On Fri, Nov 15, 2019 at 7:29 AM AKASHI Takahiro > wrote: > > > > Bhupesh, > > > > On Fri, Nov 15, 2019 at 01:24:17AM +0530, Bhupesh Sharma wrote: > > > Hi Akashi, > > > > > > On Wed, Nov 13, 2019 at 12:11 PM AKASHI Takahiro > > > wrote: > > > > > > > > Hi Bhupesh, > > > > > > > > Do you have a corresponding patch for userspace tools, > > > > including crash util and/or makedumpfile? > > > > Otherwise, we can't verify that a generated core file is > > > > correctly handled. > > > > > > Sure. I am still working on the crash-utility related changes, but yo= u > > > can find the makedumpfile changes I posted a couple of days ago here > > > (see [0]) and the github link for the makedumpfile changes can be see= n > > > via [1]. > > > > > > I will post the crash-util changes shortly as well. > > > Thanks for having a look at the same. > > > > Thank you. > > I have tested my kdump patch with a hacked version of crash > > where VA_BITS_ACTUAL is calculated from tcr_el1_t1sz in vmcoreinfo. > > > > I also did hack to calculate VA_BITS_ACTUAL is calculated from > tcr_el1_t1sz in vmcoreinfo. Now i am getting error same as mentioned > by you in other thread last month. > https://www.mail-archive.com/crash-utility@redhat.com/msg07385.html > > how this error was overcome? > > I am using > - crashkernel: https://github.com/crash-utility/crash.git commit: > babd7ae62d4e8fd6f93fd30b88040d9376522aa3 > and > - Linux: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gi= t > commit: af42d3466bdc8f39806b26f593604fdc54140bcb I will post a formal change for crash-utility shortly that fixes the same. Right now we are having issues with emails bouncing off 'crash-utility@redhat.com', so my patches sent to the same are in undelivered state at-the-moment. For easy testing I will share the link to my github tree (off-line) [which contains the changes] as well. Regards, Bhupesh