Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4751289imm; Mon, 11 Jun 2018 18:46:17 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJliQXF0KTyoFkFAtuvArwXPUQcDqhceSYaXUEdl76nVgbWNrSsJW6gVFa1JKwRE+DcHrGo X-Received: by 2002:a65:60ce:: with SMTP id r14-v6mr1356204pgv.41.1528767977331; Mon, 11 Jun 2018 18:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528767977; cv=none; d=google.com; s=arc-20160816; b=ORQQ2MLyaYd58WBejQIX9duyo+XgwZVyXbtMg+iG3l7XThhNUvabAwWlg6JmIHBYkr VOUNlKVHiX9p+aHgk9v0xvT0AOOaYavfasCbAMdr5Dd4VKb2H26xfeOBWH1QP2XWUGKM qnQbqtVtQxkr6q2skQNHIQ1NeysFDXVtjXI2AMOM0t1b6BpnFPTic3iL1HF2qTtSMd6C FtXYU+1CYbfKmeiW5t5gs2mUZZ2rPtHFbDVIywqrSznPSVcD1GW+s2kdUNCl9WKX37fV JbvBTjTkdMcJOCxXMTNvyTtzD8Pz7FP1LGtTOrBeKGWERWPA6hseT4Oe5u4N3Qdd/Szl OFVA== 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:arc-authentication-results; bh=AQw4tSFJc7zx7B5fAkEsc4SJDXvjSk12hnuy7riahxw=; b=mMbDibyNLCZ2L6Xc0BQ0isnzRHAMlGJSGgxz6jrtuI+Qqt54wmUAkPQLHyVXkLsHoB Z4R+e0OhTaw5OYfkKK9Hb4NUQBERt4fxoBF18FQzlMfv41BWZUybW+ROMK/0p9D4Xfv2 tJNySZow5lckvsuzoCyzSRXdpsp91/pbnwhmCvvWG/1u3hwFR+vfNjlUXje9LJTVxhvd Eys/tfLbbR+SGIAEyUarAMH0T0dqvlHVRtK+yBBqgX6lbVX9QxdV4w+yXMmPcu4FopHe MAFvIkTGZREH5golfzPQjWKxhtA5dRN2JRrVl1ONJPa3BPPna2o3y+BWyFX0+FjLgZzv Sb/A== 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 s187-v6si35120153pgc.447.2018.06.11.18.46.03; Mon, 11 Jun 2018 18:46:17 -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 S934854AbeFLBa4 (ORCPT + 99 others); Mon, 11 Jun 2018 21:30:56 -0400 Received: from mga01.intel.com ([192.55.52.88]:61408 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933350AbeFLBay (ORCPT ); Mon, 11 Jun 2018 21:30:54 -0400 X-Amp-Result: SKIPPED(no attachment in message) 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; 11 Jun 2018 18:30:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,212,1526367600"; d="scan'208";a="236335551" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga005.fm.intel.com with ESMTP; 11 Jun 2018 18:30:53 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 11 Jun 2018 18:30:53 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 11 Jun 2018 18:30:53 -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; Tue, 12 Jun 2018 09:30:51 +0800 From: "Kang, Luwei" To: Paolo Bonzini , 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" , "rkrcmar@redhat.com" , "david@redhat.com" , "bsd@redhat.com" , "yu.c.zhang@linux.intel.com" , "joro@8bytes.org" Subject: RE: [PATCH v9 09/12] KVM: x86: Introduce a function to initialize the PT configuration Thread-Topic: [PATCH v9 09/12] KVM: x86: Introduce a function to initialize the PT configuration Thread-Index: AQHT8XjSLLwXysx4vEGD1TmP05zIF6RUZbMAgAIkH6CAA/+CgIAAiGWQ Date: Tue, 12 Jun 2018 01:30:50 +0000 Message-ID: <82D7661F83C1A047AF7DC287873BF1E16802AF01@SHSMSX101.ccr.corp.intel.com> References: <1526964735-16566-1-git-send-email-luwei.kang@intel.com> <1526964735-16566-10-git-send-email-luwei.kang@intel.com> <20180607135648.mkciyfrd2wgvdxze@um.fi.intel.com> <82D7661F83C1A047AF7DC287873BF1E167FF0140@SHSMSX101.ccr.corp.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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjUyNDZjYWYtY2YzMS00MzU1LWIzMjctMTNjNWFhZjNmNTdmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiR2NFVCs0UWlCaEVCUWpERW1DQ0Z1eHJSQkdBbzV2ZEkyWWRZVUJJT2hZWDQ0Sk9IcmFNQWF3bUtaZmtkNEFWNCJ9 dlp-product: dlpe-windows dlp-version: 11.0.200.100 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+Pj4gKwkvKiBJbml0aWFsaXplIGFuZCBjbGVhciB0aGUgbm8gZGVwZW5kZW5jeSBiaXRzICov DQo+ID4+PiArCXZteC0+cHRfZGVzYy5jdGxfYml0bWFzayA9IH4wVUxMOw0KPiA+PiBUaGlzIGxv b2tzIHJlZHVuZGFudCwgZG9lc24ndCBpdD8NCj4gPiBUaGlzIGlzIGEgYml0IG1hc2sgZm9yIFJU SVRfQ1RMIE1TUiBhbmQgaXQgd2lsbCBtYWtlICYgd2l0aCB0aGUgdmFsdWUgb2YgUlRJVF9DTFQg ZnJvbSBndWVzdC4NCj4gPiBUaGUgcmVzZXJ2ZWQgYml0cyB3aWxsIGJlIDEgaW4gdGhpcyBiaXQg bWFzayBhbmQgdGhlIHNldGFibGUgIGJpdHMgYXJlIDAuDQo+ID4NCj4gPj4+ICsJdm14LT5wdF9k ZXNjLmN0bF9iaXRtYXNrID0gfihSVElUX0NUTF9UUkFDRUVOIHwgUlRJVF9DVExfT1MgfA0KPiA+ Pj4gKwkJCVJUSVRfQ1RMX1VTUiB8IFJUSVRfQ1RMX1RTQ19FTiB8DQo+ID4+IFJUSVRfQ1RMX0RJ U1JFVEMpOw0KPiANCj4gQnV0IGl0J3Mgc2V0IHR3aWNlLCBzbyB0aGUgZmlyc3QgYXNzaWdubWVu dCBpcyBzdXBlcmZsdW91cy4NCg0KT2gsIEkgc2VlLiBXaWxsIHJlbW92ZSBpdC4NCg0KVGhhbmtz LA0KTHV3ZWkgS2FuZw0K