Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp952245imd; Thu, 1 Nov 2018 08:05:36 -0700 (PDT) X-Google-Smtp-Source: AJdET5drYToCn6ijAZrxevECzrSbIoDWlCAK+l3eNP5QD+sI8p483mq1+ZCjxBdjsN0ltt0mqbb3 X-Received: by 2002:a62:2904:: with SMTP id p4-v6mr7925895pfp.233.1541084736412; Thu, 01 Nov 2018 08:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541084736; cv=none; d=google.com; s=arc-20160816; b=Fl+j9DDJFHW3EdEi0QuFXdkWjZuio8fgz193xS0IJ915LC5z0RUO48Z8iasx8R7N18 0Y5kgwE21h+ZyhtAZhnCLFwD2Oxyg3SrCxawBexGKe5I8WyRJ6LhV14OaUEU2ACZEwBU 0aYVSoBgupBMx7ZWms05QOV/Vj3Y+48WmjgZjELraLInFvlr/axM6qNfLUjxZ5AxNwLS ddo+c40TSSd9W2Lw9XLH72q1mxOePXmli6Awpglv+j1b/jwVVB/85zavHDVmimXuFZKL Rgp+YshopSUMV1tEKXQw7tnVMRZ9uIsq9X9K22F1pWfbiZ5lx9u0ykxvwj5q1Np5deZI JcYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=036uuft5CX5NhuJ4JP2KsrGp1OReB51sSu9sprJ/hpY=; b=1BPhtzhukHrj/yUmZUQx0h25Zbt0yKGdbCSD+AVoun/abdnT5H9eGdFZ9FUBD3hXp+ AK8sWq6MYldZhr0r0FgzOefOSHMaxWynX4YWIzai6kRMsBQBCUx5pJ1uCzHKMCby/t04 //pJW1zqCyJmy9hU9nYHyMj79873RV4d6wTzpS13lu3tCYfMHw2nA3gmE07H1ozSSnmh 9MsO8OjzG/cqCgLXiw+cGrsTqLoT+eaQSqp55lHAhSwnFmFGkyn3jbJIHg/RHIP1BYIF vSSnTzobtpiE3QRrWpiIXvvPS47+/9YPQSsFUs4JUh8jGT6LY6BQbn69SnJ3y3Wj6XjX TMJQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g2-v6si27176932plq.165.2018.11.01.08.05.19; Thu, 01 Nov 2018 08:05:36 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728905AbeKBAIF convert rfc822-to-8bit (ORCPT + 99 others); Thu, 1 Nov 2018 20:08:05 -0400 Received: from tyo162.gate.nec.co.jp ([114.179.232.162]:58845 "EHLO tyo162.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728679AbeKBAIF (ORCPT ); Thu, 1 Nov 2018 20:08:05 -0400 Received: from mailgate02.nec.co.jp ([114.179.233.122]) by tyo162.gate.nec.co.jp (8.15.1/8.15.1) with ESMTPS id wA1F3Xrl005508 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 2 Nov 2018 00:03:33 +0900 Received: from mailsv02.nec.co.jp (mailgate-v.nec.co.jp [10.204.236.94]) by mailgate02.nec.co.jp (8.15.1/8.15.1) with ESMTP id wA1F3Xfq024254; Fri, 2 Nov 2018 00:03:33 +0900 Received: from mail03.kamome.nec.co.jp (mail03.kamome.nec.co.jp [10.25.43.7]) by mailsv02.nec.co.jp (8.15.1/8.15.1) with ESMTP id wA1F3X2v009107; Fri, 2 Nov 2018 00:03:33 +0900 Received: from bpxc99gp.gisp.nec.co.jp ([10.38.151.135] [10.38.151.135]) by mail01b.kamome.nec.co.jp with ESMTP id BT-MMP-5119250; Fri, 2 Nov 2018 00:01:03 +0900 Received: from BPXM09GP.gisp.nec.co.jp ([10.38.151.201]) by BPXC07GP.gisp.nec.co.jp ([10.38.151.135]) with mapi id 14.03.0319.002; Fri, 2 Nov 2018 00:01:03 +0900 From: Kazuhito Hagio To: Borislav Petkov , Dave Young CC: lijiang , Baoquan He , Petr Tesarik , "x86@kernel.org" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Kazuhito Hagio , "mingo@redhat.com" , "tglx@linutronix.de" , Kazuhito Hagio Subject: RE: [PATCH] kdump, vmcoreinfo: Export sme_me_mask value to vmcoreinfo Thread-Topic: [PATCH] kdump, vmcoreinfo: Export sme_me_mask value to vmcoreinfo Thread-Index: AQHUcMEz2vnlJsE740iaHFNjogbP4aU4D9UAgAB7zQCAAVkNUA== Date: Thu, 1 Nov 2018 15:01:02 +0000 Message-ID: <4AE2DC15AC0B8543882A74EA0D43DBEC0355EDE8@BPXM09GP.gisp.nec.co.jp> References: <15897206-c1a6-ced6-3a1b-f71da8fc9c83@redhat.com> <20181029114414.GA11408@MiWiFi-R3L-srv> <90385882-7fd1-a674-ec5a-19bd42471a5e@redhat.com> <20181029134918.GB32150@zn.tnic> <699ab34e-1373-582d-4e58-e76bd57ec34f@redhat.com> <20181030050900.GA25987@dhcp-128-65.nay.redhat.com> <20181030091542.GD32102@zn.tnic> <20181030092314.GC14493@MiWiFi-R3L-srv> <20181031024748.GA2058@dhcp-128-65.nay.redhat.com> <20181031101054.GB15955@zn.tnic> In-Reply-To: <20181031101054.GB15955@zn.tnic> Accept-Language: ja-JP, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [143.101.135.161] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-TM-AS-MML: disable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/31/2018 6:10 AM, Borislav Petkov wrote: > On Wed, Oct 31, 2018 at 10:47:48AM +0800, Dave Young wrote: > > It is a mist only a few kdump people know them, documenting them will help > > people to understand and review. It will also be clearer instead of > > digging into code? > > Wholeheartedly agreed. Especially if people start using vmcoreinfo for > other stuff, like live debugging: > > https://lkml.kernel.org/r/1540593788-28181-1-git-send-email-bhsharma@redhat.com I also agree. If it can help reviewers and other users to understand vmcoreinfo and can help itself to become more standard, it would be better to write it. One small thing as a vmcoreinfo user (not about the documentation), I think it might be better to export each information to each variable separately, not OR-ing them into a variable, because of code simpleness of both kernel and tools, if there is no limitation in kernel. Thanks, Kazu