Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp988808imm; Fri, 8 Jun 2018 08:17:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKlayhmrn3J6YHziCRCQJReedp8mLr/T9Fsfc2GYYHnNZ1H9rEQHC253iTdssMPoZLIOE+m X-Received: by 2002:a17:902:369:: with SMTP id 96-v6mr7140499pld.64.1528471028968; Fri, 08 Jun 2018 08:17:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528471028; cv=none; d=google.com; s=arc-20160816; b=yu2RxJTh44A1kjwGEAALAowbTMZ7RQJuvu25x+mz6mG+xdCCGnB4px2wHm36d0VajD rC7UlyNInFDQjuo0WofGauWBWMIONmeK7JAvL4H/rQjEApFrh8+mI0atq9RlsN+37MkI KCR9ccC2NdVbqqHi9cwss7/kA6iioB1M9d4ONPN67lKYvANiMp1UQedEfY9rkpjEDcEj lDNB9vvkOb4Wcu/YmF1kE7t5hTOgobG5mQWy+kDmDL1HJZQfNkt5kFLwf7yrlHAbgR8G 0oxmmAYR2i1TsmqZxf5JWoHBNJG/koNL6WjR5lTc1OgQzRU5Qk6pWLstfTYa221DYj8L /yCA== 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 :arc-authentication-results; bh=qxLLq4WnW2HWwQrmh7m3nyjgoV9rhEVgIJTBxWinpHs=; b=bBnTxc1WaO7YO4k++w9Iql09Caeg3ud3Cw9JRvMgcdMX8yclDGrp5d3k3Awj9S9GlC r9WjYN/MRxHRUg8//T4ycWqAHnfYS4s6lM9c03rBnqFss1NeRi1Ydq95Dii83xAetj/f 5QpnHeMuDz9ujojJpQgm9jQjNhRv12qlf1kpOO/eVjUeU3kHqImGyl6mqTStVcoXPZI1 Wmb+AxGJK7Xc3jD36kLyBTmi390velYOqsCxLeU8yI7NGYEI6P2vWDTbEmc/O82Xg+Fa iO5UJZq38I6o8OycySXyU333ypVSVNIAhuTTnsfjbWXvIP5p1qUT0853SZKY4HcgstQQ aD0Q== 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 b17-v6si15557511pls.467.2018.06.08.08.16.54; Fri, 08 Jun 2018 08:17:08 -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 S1752691AbeFHPQU convert rfc822-to-8bit (ORCPT + 99 others); Fri, 8 Jun 2018 11:16:20 -0400 Received: from mga12.intel.com ([192.55.52.136]:17986 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751524AbeFHPQS (ORCPT ); Fri, 8 Jun 2018 11:16:18 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jun 2018 08:16:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,490,1520924400"; d="scan'208";a="57636373" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga003.jf.intel.com with ESMTP; 08 Jun 2018 08:16:17 -0700 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 8 Jun 2018 08:16:16 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 8 Jun 2018 08:16:16 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.82]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.70]) with mapi id 14.03.0319.002; Fri, 8 Jun 2018 23:16:15 +0800 From: "Kang, Luwei" To: Alexander Shishkin 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" , "Liang, Kan" , "Janakarajan.Natarajan@amd.com" , "dwmw@amazon.co.uk" , "linux-kernel@vger.kernel.org" , "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 11/12] KVM: x86: Set intercept for Intel PT MSRs read/write Thread-Topic: [PATCH v9 11/12] KVM: x86: Set intercept for Intel PT MSRs read/write Thread-Index: AQHT8XjYONN7dc9U5kOwdduVGGjOkKRUbL6AgAImpaA= Date: Fri, 8 Jun 2018 15:16:15 +0000 Message-ID: <82D7661F83C1A047AF7DC287873BF1E167FF021A@SHSMSX101.ccr.corp.intel.com> References: <1526964735-16566-1-git-send-email-luwei.kang@intel.com> <1526964735-16566-12-git-send-email-luwei.kang@intel.com> <20180607142201.btdz57ufzlogf25r@um.fi.intel.com> In-Reply-To: <20180607142201.btdz57ufzlogf25r@um.fi.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > From: Chao Peng > > > > Disable intercept Intel PT MSRs only when Intel PT is enabled in > > guest. But MSR_IA32_RTIT_CTL will alway be intercept. > > "I'd like to offer some suggestions as to how to make the commit message > friendlier for reviewing. > > Generally, for every patch, we want to explain the following: what we want, > why we want it and how we want to go about getting it. We also would > prefer to do it in english rather than in C, because for the latter we can just > look at the code." [1] > > I apologize for quoting myself or if I'm stating the obvious, but it looks > appropriate here. > > [1] https://marc.info/?l=linux-kernel&m=152233031020263 > Thank you very much. My English is not good and lack some experience of how to make description more clearly. Will improve it. Thanks, Luwei Kang