Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2179266imm; Thu, 7 Jun 2018 06:42:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIcRczt0YKAY1jFunZl6J9YOuDlS9Y0TCvxnEvupf+ULll2UgaGEBxwFdi2SvNnGlBOd8/C X-Received: by 2002:a63:755d:: with SMTP id f29-v6mr1644126pgn.278.1528378965195; Thu, 07 Jun 2018 06:42:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528378965; cv=none; d=google.com; s=arc-20160816; b=T/QKtQvZ38SLYrOwzFPql0Ukm2ldUMAM9vEZzvm08+Rksd0HnuJ3Fqhz60LUQ+55VJ Brno8eIrbphs6BjCD472b3rtqFJQAxMwhGkOrMie4J81FGqRy17DzJMv+42zfQXFvaVF FZvvS+1LPv/g8GN3KnU35vvqLYWgKGVzmRZs3KlClNx2tInqsXTaZjX6rj/29iTiSDpL 4V0Gdur7tdumJCA6GtjzYvtK6rMAzF+rLOS9fko90W+2PYjWOf2g4IF1iWPp6Je1UoDs ilxPl5weme+IwGkEmuC4bUFxpPMAnJOb7M3xs69fmbkMfhWWgjc8u7d8k/xdsbxqkxqt 2n1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=CQhm43mPWV7s131nqoPqKHA4CKZY/iQFOLsIvQv8aOY=; b=j9k3d661TReBoszeMCHI3leNXvVuyrw/tKedeTVmeObycXKAf0h2ZQSWHOqHsM4O84 zlWVaYSmXJNtMG+cqQpOAxL0Dy1qHG5V+Y2wF2erLfIM5gEpm2QwkVgBUDkdauJl6Lep cLUbTEDc8UbyQiwWHa3UcwnzWxGkIo7V8ljn/SlHa2nldTFMS+Ne8cxT0Glamhr84N05 7wol3rPK4uB/q8sv6vSzfIrb/SfbzBO48mthNFiP8FYOIzDXdlWBoU9YzQ057jFPU9Vv aqkUdokJBxRqJZbZfnsxeGnaOs9gNORvwb3U7aNbMsRTt5aovLou5fypKj6JjLI81tjV md6Q== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11-v6si12852482plo.271.2018.06.07.06.42.31; Thu, 07 Jun 2018 06:42:45 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932736AbeFGNdQ (ORCPT + 99 others); Thu, 7 Jun 2018 09:33:16 -0400 Received: from mga17.intel.com ([192.55.52.151]:57512 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932152AbeFGNdP (ORCPT ); Thu, 7 Jun 2018 09:33:15 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Jun 2018 06:33:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,486,1520924400"; d="scan'208";a="62093103" Received: from um.fi.intel.com (HELO um) ([10.237.72.212]) by fmsmga001.fm.intel.com with ESMTP; 07 Jun 2018 06:33:08 -0700 Received: from ash by um with local (Exim 4.91) (envelope-from ) id 1fQv2I-0004Hj-Kw; Thu, 07 Jun 2018 16:33:06 +0300 Date: Thu, 7 Jun 2018 16:33:06 +0300 From: Alexander Shishkin To: Luwei Kang Cc: kvm@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, chao.p.peng@linux.intel.com, thomas.lendacky@amd.com, bp@suse.de, Kan.liang@intel.com, Janakarajan.Natarajan@amd.com, dwmw@amazon.co.uk, linux-kernel@vger.kernel.org, alexander.shishkin@linux.intel.com, peterz@infradead.org, mathieu.poirier@linaro.org, kstewart@linuxfoundation.org, gregkh@linuxfoundation.org, pbonzini@redhat.com, rkrcmar@redhat.com, david@redhat.com, bsd@redhat.com, yu.c.zhang@linux.intel.com, joro@8bytes.org Subject: Re: [PATCH v9 03/12] perf/x86/intel/pt: Add new bit definitions for Intel PT MSRs Message-ID: <20180607133306.vcrtxidfzv7x7e73@um.fi.intel.com> References: <1526964735-16566-1-git-send-email-luwei.kang@intel.com> <1526964735-16566-4-git-send-email-luwei.kang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1526964735-16566-4-git-send-email-luwei.kang@intel.com> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 22, 2018 at 12:52:06PM +0800, Luwei Kang wrote: > These bit definitions are use for emulate MSRs read/write > for KVM. For example, IA32_RTIT_CTL.FabricEn[bit 6] is available > only when CPUID.(EAX=14H, ECX=0):ECX[bit 3] = 1. If KVM guest > try to set this bit with CPUID.(EAX=14H, ECX=0):ECX[bit3] = 0 > a #GP would be injected to KVM guest. Do we have anything in the guest that this feature will work with? Regards, -- Alex