Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2190251imm; Thu, 7 Jun 2018 06:52:16 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJozkKsBiMJAc691NIMsmWoO44jT6BAlvcJrr2144h3Q7Ni1ye55eL6KzcjDJpuzNfS3gS7 X-Received: by 2002:a17:902:88:: with SMTP id a8-v6mr2129128pla.156.1528379536474; Thu, 07 Jun 2018 06:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528379536; cv=none; d=google.com; s=arc-20160816; b=xGw/oOON84qffmcqpfWh5t9rugyu8f4foFBQlWUUy8rLSlVS8N3VKzj0CbPPsb+jgi PcIFpkLmkHjFj/TNCjLbr5QAr0ViIlfdIRiXR2cuG1MH7u+RJLQsVn4JYnAL6ImiXDH7 VHdDpLt/DmIPkt6/4wyLnmndaazKDh7vQd0kkGKRTfsccckHXeSpGg9t0mDALcNr2++q T5m1OYSFYiNLJl+nTDlbK8LtzR4YASs7O4lFWuXPvi/m3Rf45m7hW+pcAi1kOPavMNBk Qu67eKDFI74CQR1wNFqQ6w3otXw2kg0CjFBqrRbx86B0hJKnOXwNomFDdUMkqRZxCfRR 3PbA== 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:dkim-signature:arc-authentication-results; bh=Gcz4oM2AIzL6vsSBSuwthc6IbQXyVtQE8mm5jijtF5M=; b=kEOmnYPMXph4xj2JpOtH2rpWReR3K++6lLHxfP1g4fv2DyZwGs7gY7MOMaVcXCt0gv 8zqiiFAKVSrIyAecJl6Jic6h28ULzFX6h4h/ykIF9AAGS5oLQGlLFfww5ORrxjyUnv0B o0bpVvTM9ZfBaV2Ho5yrHlEIg3B7Qlpv6ADKhiDj9Uh9H+0o6kMZR+BgJdPnqRkFDmhI YneRTdH897wxBF0QiSTK8IfcabcI6ta5Bu+dFZAhQC34gXGgM/Ep4qOagrbjvhhxjORY EuTmdkyEWK/wun51ra2QU4sxio6Z/Mnbs6RNQKHxxifjMDjyQ7ulYlwZPx7jN8XCY8Vc tMPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=a+pNcpby; 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 a5-v6si43951669pgc.537.2018.06.07.06.52.01; Thu, 07 Jun 2018 06:52:16 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=a+pNcpby; 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 S932734AbeFGNvQ (ORCPT + 99 others); Thu, 7 Jun 2018 09:51:16 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44120 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932246AbeFGNvP (ORCPT ); Thu, 7 Jun 2018 09:51:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Gcz4oM2AIzL6vsSBSuwthc6IbQXyVtQE8mm5jijtF5M=; b=a+pNcpbyNoOOVrYS/5dBLFuE2 XuVWU9u9Yco5fC4UY23b3vifhhB1sonSPfP+ZUu781pWhS+6qaApeWgJcBSivcoPZ1OilOVSfStIk +HTTF6sot7iG3iEBqyyG6Lj5UmvPbELjKBFOCPYmOJaOL6QIOZuxCRFxMQqgNzfUv2kKdjDrwTXja GFHUy1PJSv4t1MBwRBNvtfj0uqr8uwVY/kYF5+p4+7g+IHlbFcPZ1mYglHyhbgHSkliSRnD5zFFb4 T9PGnM+9H95VOVtlTNguaAqG5kGgMZLdFuzitjZI80McNqX27n11YlcoGg8VDDn4pmcKIXUhMN2Sv qhvhARhmg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fQvJi-0004i6-Ui; Thu, 07 Jun 2018 13:51:07 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id DE7A2201EA7B0; Thu, 7 Jun 2018 15:51:03 +0200 (CEST) Date: Thu, 7 Jun 2018 15:51:03 +0200 From: Peter Zijlstra To: Alexander Shishkin Cc: Luwei Kang , 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, 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 04/12] perf/x86/intel/pt: add new capability for Intel PT Message-ID: <20180607135103.GN12198@hirez.programming.kicks-ass.net> References: <1526964735-16566-1-git-send-email-luwei.kang@intel.com> <1526964735-16566-5-git-send-email-luwei.kang@intel.com> <20180607134051.rwu5pqtz45cgq7ve@um.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180607134051.rwu5pqtz45cgq7ve@um.fi.intel.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 07, 2018 at 04:40:51PM +0300, Alexander Shishkin wrote: > On Tue, May 22, 2018 at 12:52:07PM +0800, Luwei Kang wrote: > > CPUID(EAX=14H,ECX=0):EBX[bit 3] = 1 indicates support of > > output to Trace Transport subsystem. > > MSR IA32_RTIT_CTL.FabricEn[bit 6] is reserved if > > CPUID.(EAX=14H, ECX=0):ECX[bit 3] = 0. > > This should instead say: > > This adds support for "output to Trace Transport subsystem" capability > of Intel PT, as documented in IA SDM Chapter 36.x.y.z. It means that > PT can output its trace to an MMIO address range rather than system > memory buffer. The $subject also needs attention.