From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933865AbdKBO53 (ORCPT ); Thu, 2 Nov 2017 10:57:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48218 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933508AbdKBO50 (ORCPT ); Thu, 2 Nov 2017 10:57:26 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com B92B3C0587E4 Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=pbonzini@redhat.com Subject: Re: [patch v2 0/8] Intel Processor Trace virtulization enabling To: Luwei Kang , kvm@vger.kernel.org Cc: rkrcmar@redhat.com, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org, Chao Peng References: <1509401117-15521-1-git-send-email-luwei.kang@intel.com> From: Paolo Bonzini Message-ID: <507310f0-109b-2842-dc4d-58ad9d033739@redhat.com> Date: Thu, 2 Nov 2017 15:57:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1509401117-15521-1-git-send-email-luwei.kang@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 02 Nov 2017 14:57:26 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/10/2017 23:05, Luwei Kang wrote: > From v1: > - remove guest-only mode because guest-only mode can be covered by host-guest mode; > - always set "use GPA for processor tracing" in secondary execution control if it can be; > - trap RTIT_CTL read/write. Forbid write this msr when VMXON in L1 hypervisor. Sounds fine. However, it's likely that this will only be in Linux 4.16. Paolo