Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2228766imm; Thu, 7 Jun 2018 07:23:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKy3ItBv77suL7b6ymbmyeDRdbQNg3z1UzWQvkacU6NrsN8Vfa5hB3/OBCOL9S1v5VnEAMd X-Received: by 2002:a63:82c7:: with SMTP id w190-v6mr1786112pgd.172.1528381411375; Thu, 07 Jun 2018 07:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528381411; cv=none; d=google.com; s=arc-20160816; b=PQ8QOPGl+bcvfKPBaz7vh8b8RkU3NGK9uyrfti6AcuUArc2RObNZ4Nd1vkOtIgzmjG QZjzqergwvDXJz35P9WZ8IsVpxaIkvGlxS9i515RD2sQ7JzlE5GlTegVgd72v+U49HF5 t/V5xSmqvXmXmA5xlFbquN4mkfxnzxkq9BkD7JIL0tin38elbvxGn9NDEwRcTIR1cWWb zhSfm4m1JVCVSNFyO9X7reGqlf2AYTMdXUx0bjEAFEQ0iK6GO2ZysTCE91GrtG8EQwFZ O6rHDUWkGcPJEcZMGl1xupLworylpG+fKGb/9+ktLxDa0fwBMCyA6t7MVLyHjyhAKOJv idew== 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=tyaRCaPb9j794clzW5OYtqT2qln5e1jUjHtkG9FPj00=; b=AGTg/DxuNX1Gwf0IzDiJ70xjdnbYKGk2h9axh9TcHlGMUhpppEWy4do4q4Giw4WswK f8msnPHZXFJ2JpSL0ltPygOR9M7KJtQeEiNLyV6d1FbdJfgOfbAzrG2KG6o393RQlhMF F1CTNnatlQDnrAynm9Bm6IOou93cJnPiOB5TnkJPeI94FiTqw47+37G1RUBEjpugAvn2 HDkYmLEth/vcHZSmHltalXIwXQLRLuRE1XsplopqxcmYD91CooRqfjMuxGdUesvBA1Bd 9UfQ8bLJyT/xUP5hCpdHsPBhuFl5ca1FeP+2o/wyNvfHCvHy5Azv9Psi8uYLKJ7dm78R 1USA== 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 f8-v6si28645042pgr.35.2018.06.07.07.23.16; Thu, 07 Jun 2018 07:23:31 -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 S933637AbeFGOWP (ORCPT + 99 others); Thu, 7 Jun 2018 10:22:15 -0400 Received: from mga01.intel.com ([192.55.52.88]:16055 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933625AbeFGOWK (ORCPT ); Thu, 7 Jun 2018 10:22:10 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Jun 2018 07:22:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,486,1520924400"; d="scan'208";a="235227181" Received: from um.fi.intel.com (HELO um) ([10.237.72.212]) by fmsmga005.fm.intel.com with ESMTP; 07 Jun 2018 07:22:04 -0700 Received: from ash by um with local (Exim 4.91) (envelope-from ) id 1fQvnd-0005Yf-Mp; Thu, 07 Jun 2018 17:22:01 +0300 Date: Thu, 7 Jun 2018 17:22:01 +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 11/12] KVM: x86: Set intercept for Intel PT MSRs read/write Message-ID: <20180607142201.btdz57ufzlogf25r@um.fi.intel.com> References: <1526964735-16566-1-git-send-email-luwei.kang@intel.com> <1526964735-16566-12-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-12-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:14PM +0800, Luwei Kang wrote: > 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 Regards, -- Alex