Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1246203ima; Wed, 24 Oct 2018 17:38:00 -0700 (PDT) X-Google-Smtp-Source: AJdET5eWvc9xIgn+xblpahG246bsf6De0V3i/+PpgSIM8vrJyC1PU1+IKQYFr6dJLVLe/b9AMkMM X-Received: by 2002:a62:d405:: with SMTP id a5-v6mr4692778pfh.174.1540427880226; Wed, 24 Oct 2018 17:38:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540427880; cv=none; d=google.com; s=arc-20160816; b=vTCzJ9B6z+pbxT6uqF4p+IJvM94Lxha3A0O32uV8bMBivp1WFt+iHIZhudDGCwld6m wdikAz5D1fHYubM5PEM35zlBq5qZ1rNHAPAqyWwu1Utu0FROa5cTsbcwLzQWE0TMwwcd aQSyBqI+YWarzBUUYOjywIRkuTBcD784DeRQJ0JzhfW70QbnNGf6n06fRVxtxtMcHyTo xjT6v3qRBU+TKubEnXfTKRvb3lCHrJYE0ZCp+SCsiL61Qd6nON1II4t4iS+j48e5jhBb B0WRHzqan/k3RNfLUljQ9VzrXBMCXricMAprnlQp6o2pOIZ8lu71Unl+/SrK5nObq9Oi TzdQ== 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 :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=bXMdFFaYHMekbkts7kCiSKb3ezLRI5MJXB/CXcYtL6A=; b=eVEPHqZNf8mTTEeERJ1U0q/WdibBWpvz5DYPkgAf49rVz3tU4C07ZHiD0kkQPOBc9q c2yUnA2jeVWVRkzdTJStQf8FmpFtN+vbULSpz7tK2l4mWILNN8tGd2knLIiIL2dFu2zW CwhKRgsprxZxTyaf8a9T41ja29itFEnytBhoP5DeF09dxZDXkZZx9wSVtl5QAkMEglrJ qt5fz81kjOL3fMOC6+Hc7v0lpa2nmX61UXruOmBH2mn2w8mhze/ufjORckXa6JdC2UDn XPKMAmxXAvSPKY89mNWlgK+7i3xcOXvzBvhH3gQAKdA4H/NT0+aK1MWIMmkmx+iITEJd 5Euw== 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 m10-v6si5898887plt.394.2018.10.24.17.37.44; Wed, 24 Oct 2018 17:38:00 -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 S1727000AbeJYJFe (ORCPT + 99 others); Thu, 25 Oct 2018 05:05:34 -0400 Received: from mga03.intel.com ([134.134.136.65]:62354 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbeJYJFe (ORCPT ); Thu, 25 Oct 2018 05:05:34 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2018 17:35:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,422,1534834800"; d="scan'208";a="85370688" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga006.jf.intel.com with ESMTP; 24 Oct 2018 17:35:14 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 24 Oct 2018 17:35:14 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.102]) by shsmsx102.ccr.corp.intel.com ([169.254.2.84]) with mapi id 14.03.0415.000; Thu, 25 Oct 2018 08:35:12 +0800 From: "Kang, Luwei" To: Jim Mattson CC: kvm list , the arch/x86 maintainers , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , "Paolo Bonzini" , =?utf-8?B?UmFkaW0gS3LEjW3DocWZ?= , Joerg Roedel , "songliubraving@fb.com" , Peter Zijlstra , "alexander.shishkin@linux.intel.com" , "kstewart@linuxfoundation.org" , "Greg Kroah-Hartman" , Tom Lendacky , Konrad Rzeszutek Wilk , "mattst88@gmail.com" , Janakarajan Natarajan , David Woodhouse , "Josh Poimboeuf" , Marc Orr , Uros Bizjak , "Christopherson, Sean J" , LKML , Chao Peng Subject: RE: [PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode Thread-Topic: [PATCH v13 06/12] KVM: x86: Add Intel PT virtualization work mode Thread-Index: AQHUa3CrSmGUmyBSyUy4MzZKiwm0DqUuDVQAgAEJRcA= Date: Thu, 25 Oct 2018 00:35:11 +0000 Message-ID: <82D7661F83C1A047AF7DC287873BF1E172BD64F1@SHSMSX101.ccr.corp.intel.com> References: <1540368316-12998-1-git-send-email-luwei.kang@intel.com> <1540368316-12998-7-git-send-email-luwei.kang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2Q2Mjc4NDUtMWU4ZC00ZjUyLTkzODAtMWEyNGVjYTBiNzZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiXC9oRm5RVksyR2tcLzJhWHV6WWsreWRsWFE5ckJxZ1ZlenVvbUZjem83VFoxVldONDdiZlZ6MTZITDJUYmxKeW1cLyJ9 dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiA+IEZyb206IENoYW8gUGVuZyA8Y2hhby5wLnBlbmdAbGludXguaW50ZWwuY29tPg0KPiA+DQo+ ID4gSW50ZWwgUHJvY2Vzc29yIFRyYWNlIHZpcnR1YWxpemF0aW9uIGNhbiBiZSB3b3JrIGluIG9u ZSBvZiAyIHBvc3NpYmxlDQo+ID4gbW9kZXM6DQo+ID4NCj4gPiBhLiBTeXN0ZW0tV2lkZSBtb2Rl IChkZWZhdWx0KToNCj4gPiAgICBXaGVuIHRoZSBob3N0IGNvbmZpZ3VyZXMgSW50ZWwgUFQgdG8g Y29sbGVjdCB0cmFjZSBwYWNrZXRzDQo+ID4gICAgb2YgdGhlIGVudGlyZSBzeXN0ZW0sIGl0IGNh biBsZWF2ZSB0aGUgcmVsZXZhbnQgVk1YIGNvbnRyb2xzDQo+ID4gICAgY2xlYXIgdG8gYWxsb3cg Vk1YLXNwZWNpZmljIHBhY2tldHMgdG8gcHJvdmlkZSBpbmZvcm1hdGlvbg0KPiA+ICAgIGFjcm9z cyBWTVggdHJhbnNpdGlvbnMuDQo+ID4gICAgS1ZNIGd1ZXN0IHdpbGwgbm90IGF3YXJlIHR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