Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1947450imu; Wed, 12 Dec 2018 07:05:20 -0800 (PST) X-Google-Smtp-Source: AFSGD/X2pcopM7MC5Ac+1UuHFNIkuDHwt+qRxdUJua+JEa+weXPZ66AwZNhB9l8Hhe/cA2/nslWW X-Received: by 2002:a62:15c3:: with SMTP id 186mr21281660pfv.240.1544627120639; Wed, 12 Dec 2018 07:05:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544627120; cv=none; d=google.com; s=arc-20160816; b=cBTCAgqi9/P1KHK/oXrZ06ZjO6d//46MEVoiHJzHuTuhGz7Cv9qRMHhDq00oNnSnwy yx/NKPm0c/9abcrzgcYzkY9sDhXlRb4s+jCVd/Ue1ikEcqJng/qH8fBr3UOOVMLu9grl jFf1fEFhd2lT34Nqjoi4vGZ5Yo935O/FnvkLTe42UdgjcyDKQlrkzw+wMe0ktxSAriq0 rvE2QhLEkIKDsV2R5v111kbgdN/hELbwQF80tGHpAoEtyL7JZuGsyASV45S2g3BtefiN SX+FDJLzQb1rwQrFUnQrD48zS8pyvGfN19MDSNwdfYFJMGntE3yQ+Udp8vhx3C0Khdqk 89nw== 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=vwgLYwYMOD120XWZcSCSItD5OLblTBtWUxuaAnH5lGE=; b=tfEVMfazesO+wbbaFTOG9fOUeNSgLIBkxHxWYtGZT9c5wW/A4JnMzAGdLu1l8Jd6TI s+bf93c69D+al2Q2TUACRc+yctT3iNRoXYNHC4VSkHp/f1xDqfb49sQA4Wx7MBudAVaT XUMzf7FKgImy9lz3SjP6Odx01wzqdpXnrY5M9M25oH9TerDXvDdA6t7GQsFswvf5WYB4 MCxPbAdfX5QvRv67ZkZPSaW+FCdQJsecavMZyH7rlwFh0UWtSDDZYQTKMFLhU4h4lJaT xpWlC7/5JsTlt6FWH2qVVAKU/sa53uQvget6krRhkTsgacnt1KOwiGr7XZuHgYbU0bre DEog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=UFfXdqyT; 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 e33si15533883pld.397.2018.12.12.07.05.01; Wed, 12 Dec 2018 07:05:20 -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=UFfXdqyT; 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 S1727710AbeLLPBz (ORCPT + 99 others); Wed, 12 Dec 2018 10:01:55 -0500 Received: from mail-eopbgr740042.outbound.protection.outlook.com ([40.107.74.42]:37152 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727636AbeLLPBy (ORCPT ); Wed, 12 Dec 2018 10:01:54 -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=vwgLYwYMOD120XWZcSCSItD5OLblTBtWUxuaAnH5lGE=; b=UFfXdqyTCTLgpSrfxhQBzV2sPf0M3aodvWAuaFRcooVyILur+V+RH3pIe67ZdWUA/8B9UuitbTjpFtyRDrDq11i2BwgaRphtu5whP8wt7hlht8KbCrJ++wSD4SkmU8lPjDlo7v0YQS/vYyjglu5x3P4H8ox561mFR5jSsfbHC6o= Received: from SN1PR12MB0175.namprd12.prod.outlook.com (10.162.3.15) by SN1PR12MB2415.namprd12.prod.outlook.com (52.132.195.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.19; Wed, 12 Dec 2018 15:01:51 +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; Wed, 12 Dec 2018 15:01:51 +0000 From: "Lendacky, Thomas" To: Boris Petkov , Thomas Gleixner CC: "x86@kernel.org" , "linux-kernel@vger.kernel.org" , Andrea Arcangeli , Konrad Rzeszutek Wilk , Jiri Kosina , Ingo Molnar , Tim Chen , David Woodhouse Subject: Re: [PATCH v2] x86/speculation: Add support for STIBP always-on preferred mode Thread-Topic: [PATCH v2] x86/speculation: Add support for STIBP always-on preferred mode Thread-Index: AQHUkaNTNctPywnCTEqVxIZjhKo+laV6OXQAgAA7RQCAAGrJAP//39mAgABsbICAAAgoAA== Date: Wed, 12 Dec 2018 15:01:50 +0000 Message-ID: <5b183bfd-8ef7-2e83-3b2e-c2d889f56b38@amd.com> References: <20181211224615.5373.65736.stgit@tlendack-t1.amdoffice.net> <20181212000518.GX27375@zn.tnic> <20181212095938.GA6653@zn.tnic> <8B17355F-0AE0-4E3A-BFF5-120AB739DB8C@alien8.de> In-Reply-To: <8B17355F-0AE0-4E3A-BFF5-120AB739DB8C@alien8.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN2PR01CA0048.prod.exchangelabs.com (2603:10b6:800::16) 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;SN1PR12MB2415;20:2Jz1AB3X0Xq2yO/N8cAocJvrdeJKrNN/GPdhJW+zKn2bz7CEaIG6po1x8ta6yJZxkk+4NS/DTFprQq4cUHWoLt87AsvERMQuLjCOS0z5g9VtspYBp9LZAyGsbGudKDSW407Cq6wqkeGKBD854HYfmA5Z7TRPS4PKL/jIYBxqNfl4w+H4J7rJFe7MuNgt7sqUZukGXJiYBheIajY4kjQHWePpPOFDRlww1Eoa6l1evODfV+zQ0h52Ze55rIOO4G2j x-ms-office365-filtering-correlation-id: 98a3c880-e70f-47f6-a390-08d66042bec1 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:SN1PR12MB2415; x-ms-traffictypediagnostic: SN1PR12MB2415: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(3230017)(999002)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231472)(944501520)(52105112)(3002001)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095);SRVR:SN1PR12MB2415;BCL:0;PCL:0;RULEID:;SRVR:SN1PR12MB2415; x-forefront-prvs: 0884AAA693 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(39860400002)(396003)(346002)(136003)(366004)(189003)(199004)(53546011)(305945005)(36756003)(3846002)(6246003)(8936002)(6512007)(7416002)(4326008)(5660300001)(53936002)(14454004)(81166006)(8676002)(81156014)(256004)(14444005)(486006)(93886005)(316002)(476003)(25786009)(11346002)(2616005)(97736004)(6436002)(71190400001)(105586002)(66066001)(71200400001)(54906003)(106356001)(68736007)(6486002)(110136005)(7736002)(31686004)(478600001)(72206003)(229853002)(99286004)(31696002)(86362001)(186003)(386003)(102836004)(2906002)(76176011)(446003)(6506007)(52116002)(26005)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR12MB2415;H:SN1PR12MB0175.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: kDqSTBzGdFlqkuY4ZngpmjVaARrl4JqVeCS3+OFGUO52nHgRWXDddwDD5g4b2aIXwSXtql8yHuyCSvezXF0itsMh9BkHPlALSn4fMlC3AOxRBAfcJ1mpGncJOVp9/x1Ak0j7P7lQq4pwWjkj99wm5BiLCG9YShUo7iJoy5LSvFEZCZtcwIoifuiMsQaNAmIQSy/+K196oTpW35FxBaXvVJnrvO3URicb2lIeEUwXLvKtEs6dYS8JvaEvQBTsCPoimjoGwprmbb35a0hfgFoaehhFCisF+G/kYz6fi8LU6Xhuv57XgCEWwvzcreEebhEi spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98a3c880-e70f-47f6-a390-08d66042bec1 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2018 15:01:50.8286 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB2415 Sender: linux-kernel-owner@vger.kernel.org Precedence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