Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp713718imc; Sun, 10 Mar 2019 19:32:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyjnYqmNxb7f+DVdBDV3ehCYLOwsoz1UQUkjFOUj4J61Dt27sHvaL8chkuw0I0QPD+1lPyz X-Received: by 2002:a62:1752:: with SMTP id 79mr30657956pfx.127.1552271556509; Sun, 10 Mar 2019 19:32:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552271556; cv=none; d=google.com; s=arc-20160816; b=Nf6RMzK00uHgKIdpRlAmsYI6o8cukOk+2S0wmZNHsxgrrgbCiCLA5hx0T1sMyVrszO hDw8mRxXMmKH9gGQvopUSiyEHLfRY9HzjvdmyaDsBvsL+IjLBRxyMKn0XXb5wwTBQ8uj 6m24CvP1uYzvll5eEaMPKSV8gsxaThwVCUuNf1TwnP53SLsT34zcwgevXfz+y3Ed3oFz vp3s0hM8LY622j5rv2CKnI/Iptxvs582KhT9+Pn/gJ4gvX+9k1bQoIxJ9dFxUWqMklXl HqQThE7IDK/nYFRwhQiVOkrg98taHBrLwOc8uMIK7DAZwVGVmbZ+3xj/neSw/2ZWo2vc Ec5g== 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=zmZ9kAolSFwj13Hqn4Xdt99z4cqBQm8KYlPUABT0jb0=; b=LNdr5FbIh1Qz47dVNxoarfZD0UB7NdmWTCxHGdqyyUakGXLbWfVBLQCXw7yNodGlEW RPdkMQ3GMsQp8cfT0t2Hzqnq83x0CB5UFn75qv5V/9EzLBD6phi1u62aZX52uj/y1BI6 5OoaNrHkX4+OaeZA8FuCBD2bAkC4HAP2nZLb0sWtO78PoaMiVxvoZ+tw9BwI+q4K+L0R HIAX+gnuaJAGQYr8ZVLh4uG+mU7iRzW9O96qkm8yAz+qSAlzQzumACOG2zwAk6obvgY+ CEPxtAxJnrirM2RSOR07GLDFxZPy18EeG/Vav1msE4VTROHQePfk9/Joj9AOkYvoqIUK DQAw== 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 y10si4224359pll.142.2019.03.10.19.31.48; Sun, 10 Mar 2019 19:32:36 -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 S1727038AbfCKB3l (ORCPT + 99 others); Sun, 10 Mar 2019 21:29:41 -0400 Received: from mga18.intel.com ([134.134.136.126]:20500 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726687AbfCKB3l (ORCPT ); Sun, 10 Mar 2019 21:29:41 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2019 18:29:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,466,1544515200"; d="scan'208";a="281478558" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga004.jf.intel.com with ESMTP; 10 Mar 2019 18:29:40 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 10 Mar 2019 18:29:39 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.408.0; Sun, 10 Mar 2019 18:29:39 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.26]) with mapi id 14.03.0415.000; Mon, 11 Mar 2019 09:29:15 +0800 From: "Kang, Luwei" To: Paolo Bonzini , "Yang, Weijiang" , "rkrcmar@redhat.com" , "Christopherson, Sean J" , "jmattson@google.com" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "mst@redhat.com" , "Yu, Yu-cheng" CC: Zhang Yi Z Subject: RE: [PATCH v3 7/8] KVM:X86: Add XSS bit 11 and 12 support for CET xsaves/xrstors. Thread-Topic: [PATCH v3 7/8] KVM:X86: Add XSS bit 11 and 12 support for CET xsaves/xrstors. Thread-Index: AQHUzZ0zOJhj9UImbUKmOc6EWitiSaYBF9CAgASf7tA= Date: Mon, 11 Mar 2019 01:29:15 +0000 Message-ID: <82D7661F83C1A047AF7DC287873BF1E172D0CBA3@SHSMSX101.ccr.corp.intel.com> References: <20190225132716.6982-1-weijiang.yang@intel.com> <20190225132716.6982-8-weijiang.yang@intel.com> <8643d7bf-15dd-858e-7973-c8796d6e9a92@redhat.com> In-Reply-To: <8643d7bf-15dd-858e-7973-c8796d6e9a92@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiY2NmYjYzOTEtMWQ4OC00ZGNiLTgxNmItNGU4NTk1ODQzODU2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibDdQaWtsWUJvbXJ0VlF4UmRMS0xZTjVrNnkxTTBxODVJXC96Z1pjYlNqRytEVlA4eUNaKzV4dmluQm5KazAya2MifQ== 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+IEZvciBHdWVzdCBYU1MsIHJpZ2h0IG5vdywgb25seSBiaXQgMTEodXNlciBzdGF0ZXMpIGFu ZCBiaXQgMTINCj4gPiAoc3VwZXJ2aXNvciBzdGF0ZXMpIGFyZSBzdXBwb3J0ZWQsIGlmIG90aGVy IGJpdHMgYXJlIGJlaW5nIHNldCwgbmVlZA0KPiA+IHRvIG1vZGlmeSBLVk1fU1VQUE9SVEVEX1hT UyBtYWNybyB0byBoYXZlIHN1cHBvcnQuDQo+ID4NCj4gPiBTaWduZWQtb2ZmLWJ5OiBaaGFuZyBZ aSBaIDx5aS56LnpoYW5nQGxpbnV4LmludGVsLmNvbT4NCj4gPiBTaWduZWQtb2ZmLWJ5OiBZYW5n IFdlaWppYW5nIDx3ZWlqaWFuZy55YW5nQGludGVsLmNvbT4NCj4gPiAtLS0NCj4gPiAgYXJjaC94 ODYva3ZtL3ZteC5jIHwgOCArKysrKy0tLQ0KPiA+ICAxIGZpbGUgY2hhbmdlZCwgNSBpbnNlcnRp b25zKCspLCAzIGRlbGV0aW9ucygtKQ0KPiA+DQo+ID4gZG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