Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1183303imu; Tue, 11 Dec 2018 14:18:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/Us0tC4sP0x7ogeDLP4QLE83aCnqZvHiUg67t0dtlFIX0i+exgGtpDGOpU6nYVEacTboLQF X-Received: by 2002:a63:6445:: with SMTP id y66mr16666905pgb.250.1544566722134; Tue, 11 Dec 2018 14:18:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544566722; cv=none; d=google.com; s=arc-20160816; b=uGFK0S3G1CQZXx0vw0f4vC1OBqL7aDVnEb0RgsSuviPCwP52MM3hbRnfzuFJbnn8RQ Pq07uPCp4SnInKz6xs0g24R8lpJM00eacxoFJE6vAdoa1RNDsWhSe6tfQpdaXWcQvSqA g3LoXYaog5qdLW8478+ulHSChDy2UT5lU5T+4e8SUfaYrXO4OzsTS02fvEkYgUeQOmYs wRF3c1K2PUSN89ae5orq3ZxssFJ1cUiey9qH0Ss6poyoPhVItMUrIwpGRsfmtqcJTYCx w/Xn0z0xuA05Rh7t7scw4+77wAvGanBZJi2ALcrVbUpdAOB1vue4ehcX+99+IOcb7/31 CHmA== 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=hpQzmwVikPnf2RwcbsU0/0KgaQNoCfB7LknbNQI8AxM=; b=rdldNGL5ua46dJoj5Y98k+hbIbJAd+rZzBMXfAZRFp6HdIekvpGOp6o3QvPeFY/caU DoX/nFRuWaspiw9WzH8BbPpPrhsWpbCNYemNuLacCy81dciMFn4hRrX0BGnpj+BXP5l2 Wu/P9zEKWSWSl2QjsvUNBsE1fxjpa/fs9lDhz9V5Ps4cd8WgYntf9INi+5jhmw/oOK79 JM5Jj07Ra7BcVkiOEXqVu/s1s0DiNC/kg4hDGnJwlbogbMG3Ct1wSXrqfOJr9vbIQDFl M9Gwn4x6REhASUBrO+SXycD/enQR8K6V8o3Vs+RHv2DiOhtMORRoJxBSGN+aQCKcFRDw 1ktw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b="M/r+trmb"; 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 m33si13216225pgl.379.2018.12.11.14.18.27; Tue, 11 Dec 2018 14:18:42 -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="M/r+trmb"; 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 S1726273AbeLKWRi (ORCPT + 99 others); Tue, 11 Dec 2018 17:17:38 -0500 Received: from mail-eopbgr770059.outbound.protection.outlook.com ([40.107.77.59]:15088 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726211AbeLKWRh (ORCPT ); Tue, 11 Dec 2018 17:17:37 -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=hpQzmwVikPnf2RwcbsU0/0KgaQNoCfB7LknbNQI8AxM=; b=M/r+trmbOHAoaaeauYbshx9XjeSIN4WFJAmbpxQPmlvsYUzmEqNrcPukusSlOmbO4lVUtVfvhBmFxodp/DyKU7D7PntvA389yPTnBLx+tRHi/lQS81EY1FJwCHW/wFrbfaXEUCIlweQCa1t+PLPXE9whSWezElEm7KDPbJ89R2s= Received: from SN1PR12MB0175.namprd12.prod.outlook.com (10.162.3.15) by SN1PR12MB0238.namprd12.prod.outlook.com (10.162.3.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.18; Tue, 11 Dec 2018 22:17:31 +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.1425.016; Tue, 11 Dec 2018 22:17:31 +0000 From: "Lendacky, Thomas" To: Borislav Petkov CC: "x86@kernel.org" , "linux-kernel@vger.kernel.org" , Andrea Arcangeli , Konrad Rzeszutek Wilk , Jiri Kosina , Ingo Molnar , Thomas Gleixner , Tim Chen , David Woodhouse Subject: Re: [PATCH] x86/speculation: Add support for STIBP always-on preferred mode Thread-Topic: [PATCH] x86/speculation: Add support for STIBP always-on preferred mode Thread-Index: AQHUkYUdUUqHSw55jUaGOaWlduXUMaV5hSQAgACGSgCAABAjgA== Date: Tue, 11 Dec 2018 22:17:30 +0000 Message-ID: References: <20181211190959.28321.56433.stgit@tlendack-t1.amdoffice.net> <3308b5d2-0c59-fa33-472b-f56633d39575@amd.com> <20181211211944.GT27375@zn.tnic> In-Reply-To: <20181211211944.GT27375@zn.tnic> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN6PR06CA0032.namprd06.prod.outlook.com (2603:10b6:805:8e::45) 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;SN1PR12MB0238;20:ZwRg3cJdzTtHXN+DpwMdeOoIJ+2vq0kANC7oyjs2uen5GfkpVC3tdZsPxCsIlURKsr1pEze3UH3Ch1YQ9WY5v/uQLuZ4M976ae2rTP0ooBI5TAnQeS3GpV8jNZugKs+xwuA3EV7qCDD29D7JTJqVbcEqZtcbyzdFVCULQVRAeL5nVOTBx2bKtqoh+IN3ytdBOmWM40dIFqZnlaA5kyX75oyAGKLIjGKNrUous/11QTshINMfxWVDlwcUqwiTpqXA x-ms-office365-filtering-correlation-id: cb60a0b4-ee79-45bd-ac06-08d65fb67110 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:SN1PR12MB0238; x-ms-traffictypediagnostic: SN1PR12MB0238: 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)(3231455)(999002)(944501520)(52105112)(3002001)(93006095)(93001095)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:SN1PR12MB0238;BCL:0;PCL:0;RULEID:;SRVR:SN1PR12MB0238; x-forefront-prvs: 08831F51DC x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(366004)(39860400002)(376002)(346002)(136003)(199004)(189003)(99286004)(478600001)(305945005)(8936002)(53936002)(86362001)(66066001)(2906002)(7736002)(26005)(102836004)(6916009)(186003)(106356001)(5660300001)(53546011)(6506007)(386003)(4326008)(31696002)(7416002)(6512007)(6246003)(229853002)(256004)(316002)(6436002)(105586002)(8676002)(97736004)(486006)(71190400001)(71200400001)(52116002)(476003)(6486002)(3846002)(72206003)(6116002)(54906003)(81156014)(11346002)(25786009)(81166006)(76176011)(31686004)(36756003)(68736007)(2616005)(446003)(14454004);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR12MB0238;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: C7ltUSdCJYD6AVKqKPUGY/Zs58Bv0UQiS61jhg0bVZzkKkF99kIND0w4q/Cn/Ggoma53jhf+jEPlZcEhZCsOFVXYckJfJU0RTGH8f4ntDPxWpGSgDAIVfIwRBFMZKRc30BO7IdQAr8aBi/GQG8yiwlG5tKldfINuRs99Y5vgtF/H0nb61mYCkJfNuADZaS+vXycAfWpu1+nLCN7EjRFjfrYnh/CnnRsmRAzW6tHTDkSq3Pq9OnnaKRhx5aIhgDHWkrrCj6kx90g3PrL1+Bx8BL4DTIVuBZSgjyBNg+Me7FKY/ISLVxcCLBhU2Uu9vFx1 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <42DEA73DD3428C4684C1C176EA5A5AA9@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb60a0b4-ee79-45bd-ac06-08d65fb67110 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Dec 2018 22:17:31.1013 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0238 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMTIvMTEv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