Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp4254927imd; Mon, 29 Oct 2018 21:48:14 -0700 (PDT) X-Google-Smtp-Source: AJdET5dmlYZlP170qoH+uAEK8wCVpe8NyQQ5IOA/e8FyRq5lvaJ1a0nJXRjhCBbFTO6kC02wkKIR X-Received: by 2002:a17:902:b289:: with SMTP id u9-v6mr17019348plr.273.1540874894338; Mon, 29 Oct 2018 21:48:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540874894; cv=none; d=google.com; s=arc-20160816; b=hxGMHrqfCARX0T82hpMrZOHa4vSXDzSDGIM/Q63MC4sfS1vU9OdROJqYd4bVL8gm99 c8ElLNHhJm0PrPFzBFhDHeQDqo+5GwdDETvDarZ83HBOeuWi5/aPhTAw+ovp3jm2TZDo KXr+9vcufhX40mYReZI3uQvVbUdEIrfbzmrL/vFEoV5/qicZDxpHyBp+GU8VrJQ1awpz U+BcnPwvMpyZa2i912/NWEZUz7+JMoDDpF2185EkgAz5oqtypWCc+lr50IeUUbCIwza8 pWUG0UW2+ViSNkpu4ZSuS5N4N3Osz07pG3bqk8qfauhALfPqHdcbdbs07k+Z6qKy0rX0 RblA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=pCNgr6qrDVe5PWvqKR8HTFwL53NV7/vZSS2zyqp81Es=; b=F6oB14SGJu5mnqq/8qVmFHuUydy8CCsTAx05/QMYtlKU/Oy4BuL6a8KnAKPf/NphtT HYtq4ndfEffIyG8lVA2cL7IK9DgyKZr/QtXZ1BzHfI4ZtcOsMFUO2Qp68gdorZ6rd7ej xO65HKhg8ugZvYm/lKMmnDPzj0KQV1qE9mpSRYL/bhnNYUuCjX9sMYTq0jQr5HFsYmaB zT7g1/EHHzX/VBRC6aTk6NplgDBrf6ZkUDlycQ6sP4HWKh/ycDKskQo8xOjF7o3Gt9Bs dwzVT1W2F+JUppsnRGFz9C/+5SjuRcwq/2Fe3+Kv6vdQOlDgWs0POFyMuqRwI+6K+EgN 8YYg== 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; dmarc=fail (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 u10-v6si21257369pgr.403.2018.10.29.21.47.58; Mon, 29 Oct 2018 21:48:14 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726199AbeJ3NjB (ORCPT + 99 others); Tue, 30 Oct 2018 09:39:01 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56122 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725969AbeJ3NjB (ORCPT ); Tue, 30 Oct 2018 09:39:01 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AA25C4E90E; Tue, 30 Oct 2018 04:47:09 +0000 (UTC) Received: from localhost.localdomain (ovpn-12-109.pek2.redhat.com [10.72.12.109]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0E1E75ED20; Tue, 30 Oct 2018 04:46:57 +0000 (UTC) Subject: Re: [PATCH] kdump, vmcoreinfo: Export sme_me_mask value to vmcoreinfo To: Borislav Petkov Cc: Baoquan He , Petr Tesarik , linux-kernel@vger.kernel.org, x86@kernel.org, kexec@lists.infradead.org, mingo@redhat.com, tglx@linutronix.de, dyoung@redhat.com References: <20181027145151.GA7338@nazgul.tnic> <390b16ba-05d7-3590-c3b2-4b69aa3ae051@redhat.com> <20181029083118.GC1884@MiWiFi-R3L-srv> <20181029095738.GB20101@zn.tnic> <15897206-c1a6-ced6-3a1b-f71da8fc9c83@redhat.com> <20181029114414.GA11408@MiWiFi-R3L-srv> <90385882-7fd1-a674-ec5a-19bd42471a5e@redhat.com> <20181029134918.GB32150@zn.tnic> From: lijiang Message-ID: <699ab34e-1373-582d-4e58-e76bd57ec34f@redhat.com> Date: Tue, 30 Oct 2018 12:46:52 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181029134918.GB32150@zn.tnic> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 30 Oct 2018 04:47:09 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2018年10月29日 21:49, Borislav Petkov 写道: > On Mon, Oct 29, 2018 at 09:41:26PM +0800, lijiang wrote: >>> VMCOREINFO_NUMBER(phys_base); >>> VMCOREINFO_SYMBOL(init_top_pgt); >>> vmcoreinfo_append_str("NUMBER(pgtable_l5_enabled)=%d\n", >>> pgtable_l5_enabled()); >>> >>> + VMCOREINFO_NUMBER(sme_mask); > > What I'm still missing from the whole fun is where are we documenting > the contents of that vmcoreinfo thing? > I'm not sure whether the following document is what you need. Documentation/ABI/testing/sysfs-kernel-vmcoreinfo Thanks. Lianbo > If not, we need it documented. >