Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp165537ybc; Mon, 18 Nov 2019 22:35:32 -0800 (PST) X-Google-Smtp-Source: APXvYqygxuAlmSR/RXjmC/ocsFw+ADff2/ymdB7513N4zHAy7G7SPpTwGhuYiCDdj7oo26wpkkL1 X-Received: by 2002:a5d:5092:: with SMTP id a18mr13798178wrt.297.1574145332707; Mon, 18 Nov 2019 22:35:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574145332; cv=none; d=google.com; s=arc-20160816; b=FZeZQlVaE2mUlXWdBqd56cEAaUakDAGR1w8+95zwXvZS5ePUOAJ7y/zpqLE3SvZpp0 Rh4wKrqvwxT1SwCxXbE/INc+NidgA0r5UYSoEK1ACqU1y/bxvhvxfQHIvIx6MVPKvrRN Z9eaqbyyxII41xJs+wJWwn12MiL9xb4f7XtQEMcIEhCgUHCAExFyX4l/qAPmOe111s1Y YsBcbGBGc/MIiy8h5Kz4XCaBbTKk2cxLsrlCRvsbqohTMS2/WgL4IpRO+EcnjEM4i40J 61jRf0A8QJ3xZRwmb9qWB0CJ1VtzqFippoqCV7oq3XWEvD/bwi/tjpB6KMelcAQWqzrw PgPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NXaQYQk0g4GZrnX0H+C5/sQj56d3X20l4tE5DHhQOrA=; b=oAorP/kcVTHuwhTp5KLCN7ORmiQh94KDdFsUcUhzjxqSBAr2qMGZhOpGCqVLpkIKni 2KEur0/dfx4n8laQpanEU/WjOWth0zcNpcs7HUu3pkT+jSU+TlEvmm8lEKnbmrQRGt41 nkcc+FLd+TXGnIBLyoNLRUN4RNpMZJ0FO9+C6f6GSlj/bRv7JpLGaKHY/pSWBWE7yim9 ifHLb1FYFGZgRmEoaOAHW+pnFkD/ajl3aGR8Z6xZlanfTBC08cQOzHgkz9ez95c45pU7 r639HtLKZ/3XRPC0RXJXm+ZfpBZO2Nm+YlTHRuv0v0xsptVC0JtJ9EqwGQbySx8y3QHV y2CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=sifSK6MU; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s13si14696124edt.427.2019.11.18.22.35.08; Mon, 18 Nov 2019 22:35:32 -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=@gmail.com header.s=20161025 header.b=sifSK6MU; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727450AbfKSGc6 (ORCPT + 99 others); Tue, 19 Nov 2019 01:32:58 -0500 Received: from mail-io1-f66.google.com ([209.85.166.66]:43874 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbfKSGc6 (ORCPT ); Tue, 19 Nov 2019 01:32:58 -0500 Received: by mail-io1-f66.google.com with SMTP id r2so16721554iot.10; Mon, 18 Nov 2019 22:32:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=NXaQYQk0g4GZrnX0H+C5/sQj56d3X20l4tE5DHhQOrA=; b=sifSK6MU7G+EcqYvJSuSa2S3hMP9SB6t7e29d7KHAyYYgBX4YqD7x0RtWHSqj7x64T UCnhKrr5Oiz+XULwu7eB1ZzOI6VyeAHiAbd+ovtLWxxuyjZjQERBAwrzjvdoMJrtvL2X OuCAUcEOqMXV21HuTt3LYU4PJ7a9/zwV0cPSFw8iKelRg6k0kRED6h1IpqHOT34kW5Dv V+F06IQt2Mi5Kauqgd6BFTTPOuzVSntsEr/Hz/LVi2r7g9MduWF7OaGr1l12AxH8Pw4y IkHXTj8+xHCrm+IKudRyf5hLWkkP4WKgN+znsqikOz7kNlhe0ebhtZo0RHJwK0BSQojS kitQ== 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; bh=NXaQYQk0g4GZrnX0H+C5/sQj56d3X20l4tE5DHhQOrA=; b=a2Un5RahC1mqd2Gs6JgWwjPkS0933A0sIw76uaTYsKRnOMosEW75Doel4hJgZ6SHkc sshPPWg+eycp32JRw7fYxzextrOqk6EEq0P3r/uttb7y8u77BW789T68M8hb3q6AiZyk 8ucXosE2mxcZ0OGMys+nurGwWTuGM+T8cK4vOVxuTE9/y63lhBmU/2nNV4SGM1Wq2ydT e89O7FYLSGskLp66CddIOtuw5p682MNbXEVH5AYnn18HORBAKTL1a0KDihQGj34l7ozV Qlspe1RcG4yNGidNBZEIu5dMB1rFjBlefFQVHBu1S6TLwMmwRI/9bdebbEWdnhbWvUAs jPbg== X-Gm-Message-State: APjAAAV3ERksv0YFuFjiw8s3TUzaCFY1HqJ4KkmTMqRALqyMESdwgVGi C7EsFls6eHHwf0pdzuSZ3nnPI7kDIniFi5KhhRkryFsZ/56Esw== X-Received: by 2002:a02:b48:: with SMTP id 69mr17013960jad.25.1574145177173; Mon, 18 Nov 2019 22:32:57 -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: <20191115015959.GI22427@linaro.org> From: Prabhakar Kushwaha Date: Tue, 19 Nov 2019 12:02:46 +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: AKASHI Takahiro , Bhupesh Sharma , 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 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 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 you > > 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 seen > > 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.git commit: af42d3466bdc8f39806b26f593604fdc54140bcb --pk