Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp377795imu; Tue, 27 Nov 2018 13:54:13 -0800 (PST) X-Google-Smtp-Source: AFSGD/UzUpjTn1XVcZgvJDhTBLn6fVDUGN3AUFJS2N3oIG4uYDNe+4oLXu9NtbdxdmEYpK0tcbC6 X-Received: by 2002:a65:50c1:: with SMTP id s1mr29973607pgp.350.1543355653578; Tue, 27 Nov 2018 13:54:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543355653; cv=none; d=google.com; s=arc-20160816; b=OUIeIYHrNlxpaQvlNbex8I6UnKW+1itev2xFFIO1LLk3CWj1X0CBg+eOVMi1T3SMcl 7p69pRyrCb4QmY+OSPZk8k1KShF3vIJRJ/yFlk3lsloh0eqhe2vYB+oMKDK0BjbCW2ng Rhj5tUlg+C0cTqvvA3idFCN8iKH/U1ui73cHEIGyb9nEC45NLO7RP43Oec/QTlmnj/8a gydNhbmDHNNKbeFA2p8x1DIK6lR/qiawEqrODXOw0cAjSbzJHLep2z6UH4XapeQshSmr sl/9Pycq+MFaC7JRFdto/uIePH44VMBsgjR6QWey9DdjiSt9Ve7T7OgMT3OZ5C6hQ1gX /qvA== 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:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=2T8OxDTO52TU5+WLRG8YSCWbzbW8ObuJ0mCBT8Vx6BA=; b=F2OeSs2brkhGd/MFDPYvPVklOClft5uhN6AF/QFjDAK7PWHgoFqv0OlHBXEWaJnLfv jL0YTBxwLgDDMWlWeCl5757/J+WvA+KmAYtoT0PYhsVr2g43pPBL8xQWwOq9vCy6OSEb 45vl0OBk773ca0hrJ9x039K+QiMR13QgJB5PwugvFQ/ytWJJOj7Odz7P/F3sIVL5UsLE enNJTykCF0fW3V+AbPlRa5muwTMq+Pdw8OD1RzreU+cMtysH2ON1lBzDRDMBCx+2Sn9k IDKPv/zRw0O2MFG/Ng6h49Zzaduxzw1KdGPQPQFT1WE9LnuWpXuiYLgfrgkh1+1jiFU6 uBsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=gqXj1lh9; 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 f35si4282172pgf.449.2018.11.27.13.53.57; Tue, 27 Nov 2018 13:54:13 -0800 (PST) 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; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=gqXj1lh9; 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 S1726885AbeK1Iwg (ORCPT + 99 others); Wed, 28 Nov 2018 03:52:36 -0500 Received: from mail-eopbgr700068.outbound.protection.outlook.com ([40.107.70.68]:20112 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726277AbeK1Iwf (ORCPT ); Wed, 28 Nov 2018 03:52:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2T8OxDTO52TU5+WLRG8YSCWbzbW8ObuJ0mCBT8Vx6BA=; b=gqXj1lh9qedBg6mt1BDYb2I2Xnawj2fpO4eKZ27A3RbqGtP6C8i2XkJaN+N3XMEd0hEBuY2wDuSyfL7si/u1uCHzXYw8uNGoGcgC8acyFeBmnJ9rsMQv5yy9kX09wk5OZ3o9qosGFoWX4Mg6gpARdUqWA0SnLR2mFjCJX2rxIKQ= Received: from SN1PR12MB0175.namprd12.prod.outlook.com (10.162.3.15) by SN1PR12MB0384.namprd12.prod.outlook.com (10.162.4.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1361.14; Tue, 27 Nov 2018 21:52:34 +0000 Received: from SN1PR12MB0175.namprd12.prod.outlook.com ([fe80::bc0e:7f7f:ee65:e2d5]) by SN1PR12MB0175.namprd12.prod.outlook.com ([fe80::bc0e:7f7f:ee65:e2d5%6]) with mapi id 15.20.1361.019; Tue, 27 Nov 2018 21:52:34 +0000 From: "Lendacky, Thomas" To: Thomas Gleixner CC: LKML , "x86@kernel.org" , Peter Zijlstra , Andy Lutomirski , Linus Torvalds , Jiri Kosina , Josh Poimboeuf , Andrea Arcangeli , David Woodhouse , Tim Chen , Andi Kleen , Dave Hansen , Casey Schaufler , Asit Mallick , Arjan van de Ven , Jon Masters , Waiman Long , Greg KH , Dave Stewart , Kees Cook Subject: Re: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control Thread-Topic: [patch V2 18/28] x86/speculation: Prepare for per task indirect branch speculation control Thread-Index: AQHUhPC7rHYdSONo60ydeUeoiJQu3qVjfc+AgACa9wCAAADlAIAAE3GA Date: Tue, 27 Nov 2018 21:52:33 +0000 Message-ID: <0921f310-3c53-f001-50bd-bd70c1f38121@amd.com> References: <20181125183328.318175777@linutronix.de> <20181125185005.176917199@linutronix.de> <7ec59a1a-4caf-24f6-3466-ee1d01594861@amd.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0201CA0046.namprd02.prod.outlook.com (2603:10b6:803:2e::32) To SN1PR12MB0175.namprd12.prod.outlook.com (2a01:111:e400:5143::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Lendacky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.77.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SN1PR12MB0384;20:Swpt6VWhdMTlWKbpRSBf/LtZRi1xjVYcvB0NdWJxOlgl/gk1vbBQ3A35OtskddqLQ3ZoDsOoH/bWcNovd+uYobM+mMSXRFUdaGkcoPkim2NSCOdanqqN8UhUgNHYfOhxuVkBXPfIHEA8STkxrDT6/x9wpLqGsF0fPAnT2Ig/Qksn5aNmrRy6y0CUWvVsTu1jD+TA688XxFR0w90Bj/bzrVMyx2ARuJEiaElcBKQY/WQrdmeW6UXDjvwKk0BFPu+e x-ms-office365-filtering-correlation-id: 3020465b-daa3-42bd-93ce-08d654b2a2e7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:SN1PR12MB0384; x-ms-traffictypediagnostic: SN1PR12MB0384: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231443)(944501410)(52105112)(3002001)(10201501046)(93006095)(93001095)(6055026)(148016)(149066)(150057)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(201708071742011)(7699051)(76991095);SRVR:SN1PR12MB0384;BCL:0;PCL:0;RULEID:;SRVR:SN1PR12MB0384; x-forefront-prvs: 086943A159 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(346002)(366004)(136003)(376002)(396003)(199004)(189003)(478600001)(386003)(6506007)(305945005)(6116002)(3846002)(53546011)(72206003)(26005)(106356001)(7736002)(6486002)(105586002)(6436002)(25786009)(316002)(54906003)(68736007)(31686004)(186003)(102836004)(2906002)(6916009)(7416002)(6246003)(6512007)(446003)(93886005)(36756003)(76176011)(8676002)(11346002)(81166006)(14454004)(99286004)(4326008)(71200400001)(229853002)(31696002)(8936002)(53936002)(86362001)(486006)(476003)(71190400001)(5660300001)(39060400002)(52116002)(256004)(97736004)(2616005)(14444005)(66066001)(81156014);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR12MB0384;H:SN1PR12MB0175.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: B3TIfOK0r1keR2LJsIuHmhGe7iAWm1nUKUtUNXmq1D7V4Pf/KQ96XPPzd8GF5ing+jOnqhtdAZ4qAKnnFqatyqGID3e4IsrML9okdw1gbS+OEEPhfEaBVXrONwZ+1ySCIVkcR3gMin/OFuEe9+d40QToSEe8eJAWvBFCjBDwFjU/Hm/7uPS9Ea4mdcP14VWfojh9fhyq3Vd84rW5RVLzqUhtkmUTf1jgk32Hg4Qg+MVHUMk+9N2V2NNpjttZIqcrJNQI1C6sWkZwv5EqVIrznZAsv2Jd0Dmzn1+l8+HMJWcZ2icDvuW+2L1bmWIA+9pHGWn2feF5HLUQWKiT63v1PMi2+Cq2i1k9KD5TOtFHsQ4= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <699A97FCDBBDE54D9AF651EB282599A5@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3020465b-daa3-42bd-93ce-08d654b2a2e7 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2018 21:52:33.8813 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0384 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTEvMjcvMjAxOCAwMjo0MiBQTSwgVGhvbWFzIEdsZWl4bmVyIHdyb3RlOg0KPiBPbiBUdWUs IDI3IE5vdiAyMDE4LCBUaG9tYXMgR2xlaXhuZXIgd3JvdGU6DQo+PiBPbiBUdWUsIDI3IE5vdiAy MDE4LCBMZW5kYWNreSwgVGhvbWFzIHdyb3RlOg0KPj4+IE9uIDExLzI1LzIwMTggMTI6MzMgUE0s IFRob21hcyBHbGVpeG5lciB3cm90ZToNCj4+Pj4gLS0tIGEvYXJjaC94ODYva2VybmVsL3Byb2Nl c3MuYw0KPj4+PiArKysgYi9hcmNoL3g4Ni9rZXJuZWwvcHJvY2Vzcy5jDQo+Pj4+IEBAIC00MDYs NiArNDA2LDExIEBAIHN0YXRpYyBfX2Fsd2F5c19pbmxpbmUgdm9pZCBzcGVjX2N0cmxfdXANCj4+ Pj4gIAlpZiAoc3RhdGljX2NwdV9oYXMoWDg2X0ZFQVRVUkVfU1NCRCkpDQo+Pj4+ICAJCW1zciB8 PSBzc2JkX3RpZl90b19zcGVjX2N0cmwodGlmbik7DQo+Pj4NCj4+PiBJIGRpZCBzb21lIHF1aWNr IHRlc3RpbmcgYW5kIGZvdW5kIG15IG9yaWdpbmFsIGxvZ2ljIHdhcyBmbGF3ZWQuIFNpbmNlDQo+ Pj4gc3BlY19jdHJsX3VwZGF0ZV9tc3IoKSBjYW4gbm93IGJlIGNhbGxlZCBmb3IgU1RJQlAsIGFu IGFkZGl0aW9uYWwgY2hlY2sNCj4+PiBpcyBuZWVkZWQgdG8gc2V0IHRoZSBTU0JEIE1TUiBiaXQu DQo+Pj4NCj4+PiBCb3RoIFg4Nl9GRUFUVVJFX1ZJUlR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