Received: by 10.213.65.68 with SMTP id h4csp560849imn; Tue, 20 Mar 2018 09:37:54 -0700 (PDT) X-Google-Smtp-Source: AG47ELsp08wG4vK2QrcZUnE/MEddmdwSTeH6RFG91mZ4ttf/8/PFlAFP2J9KAxNp7xJGDHBA3dhD X-Received: by 2002:a17:902:bf03:: with SMTP id bi3-v6mr17163706plb.343.1521563874537; Tue, 20 Mar 2018 09:37:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521563874; cv=none; d=google.com; s=arc-20160816; b=sLTZs0t+lgWA4dL92Rl7P1w8ioZr+vPIMtntYeXhHEexdz665Xs73UXU3AO52WyJic 1DZfaGRGhZ7PBT9EdpZLYQKW30iOnnlPgK8VS1IlXkUNHC8s2Gt3g+Qn0ye74AiTyNjh tMuEtU04rW0Qlue3o5apKYM6PQJ1MP+Mw9R2D5xnfZhplMQ1wlV7PT2yzvqf+qkb7cGR BnsI8bxhbVyvOvgi6REs+yNwtye7mgxNMpfs7goMXW0D+XIp2W+beQSw1YWjS6UUsZW5 wmP7qSTOFNhjHtQZIKrNsfjyxf0YhBprWeglppc+U0xX1iKM+/TiZMTiUW6CSE4Crjfl B6uQ== 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-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:arc-authentication-results; bh=oCizF++8mpu5n9zLYoDczrJ8jI6nhKBZkn0dWyT1J5Y=; b=H48TJW0OR5F1kiZpx9Sq4r+tkvPHD/9isM312eW0QJCHpwh9E0PWRALZUssroI3wfb nctPHmPCetRhIYyy9hpba77+FuzqYUcy0qqCEucfXgn6qKaCfj8KIAMWDP1YMwzkRgRi QuHRKefxEZka0tcQDWITxrqdCdv6e9Pw71F+E/FaKnpruVc9KsjP4hjpcnKBk3Bl5Wlh a3JDri/Wcr9FkcZfHsf01NAa0vUdMYTzWrnrGHwrhqD43tTIEGH/j8KsnljY4YZ+sRNh 9NgJlIQlYhMJUcGyoIy7NFp+K1TAElX/EGgVRxNZLJDBkfAKf1LpLb+peg2WkCRqnig6 2aAg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r76si1370910pgr.794.2018.03.20.09.37.40; Tue, 20 Mar 2018 09:37:54 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751864AbeCTQea (ORCPT + 99 others); Tue, 20 Mar 2018 12:34:30 -0400 Received: from mga05.intel.com ([192.55.52.43]:56147 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751310AbeCTQdr (ORCPT ); Tue, 20 Mar 2018 12:33:47 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Mar 2018 09:33:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,336,1517904000"; d="scan'208";a="35388159" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by FMSMGA003.fm.intel.com with ESMTP; 20 Mar 2018 09:33:39 -0700 Received: from crsmsx104.amr.corp.intel.com (172.18.63.32) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 20 Mar 2018 09:33:38 -0700 Received: from crsmsx101.amr.corp.intel.com ([169.254.1.143]) by CRSMSX104.amr.corp.intel.com ([169.254.6.15]) with mapi id 14.03.0319.002; Tue, 20 Mar 2018 10:33:37 -0600 From: "Bae, Chang Seok" To: Andy Lutomirski CC: X86 ML , Andi Kleen , "H. Peter Anvin" , "Metzger, Markus T" , "Luck, Tony" , "Shankar, Ravi V" , LKML Subject: Re: [PATCH 14/15] x86/fsgsbase/64: Support legacy behavior when FS/GS updated by ptracer Thread-Topic: [PATCH 14/15] x86/fsgsbase/64: Support legacy behavior when FS/GS updated by ptracer Thread-Index: AQHTv61cgKpKrSnds0atXlLhYuaZSaPZns+A//+jdIA= Date: Tue, 20 Mar 2018 16:33:35 +0000 Message-ID: References: <1521481767-22113-1-git-send-email-chang.seok.bae@intel.com> <1521481767-22113-15-git-send-email-chang.seok.bae@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/10.b.0.180311 x-originating-ip: [10.254.178.80] Content-Type: text/plain; charset="utf-8" Content-ID: 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 T24gMy8yMC8xOCwgMDg6MDUsICJBbmR5IEx1dG9taXJza2kiIDxsdXRvQGtlcm5lbC5vcmc+IHdy b3RlOg0KPiBJJ3ZlIGFsc28gc3VnZ2VzdGVkIHNvbWV0aGluZyBsaWtlIHRoaXMgbXlzZWxmLCBi dXQgdGhpcyBhcHByb2FjaCBpcw0KPiBmYXIgbW9yZSBjb21wbGljYXRlZCB0aGFuIHRoZSBvbGRl ciBhcHByb2FjaC4gIFdhcyB0aGVyZSBzb21ldGhpbmcNCj4gdGhhdCB0aGUgb2xkIGFwcHJvYWNo IHdvdWxkIGJyZWFrPyAgSWYgc28sIHdoYXQ/DQpTb3JyeSwgSSB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