Received: by 10.223.176.5 with SMTP id f5csp3670908wra; Mon, 29 Jan 2018 17:21:36 -0800 (PST) X-Google-Smtp-Source: AH8x226M+jcEF3p1GpfVAsJ824nphhDd2Mz/KlEBNsrhEKNwgHYqvs1HMcwik2ep3FPvh4//rqpS X-Received: by 10.98.207.6 with SMTP id b6mr29061400pfg.187.1517275296557; Mon, 29 Jan 2018 17:21:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517275296; cv=none; d=google.com; s=arc-20160816; b=JZLFTq3FUlwD2Dli1WeaiZrq4T+dRXsEJCvyfM8tIKKKUSA7y1KckBlSYiojT7m3JG OqRxVg+So/12eIjbCJSiQB+vw6vMkH1tv9PP0uzZ5jzD9yIePmK/mNqInvr+xvi/XRWo BDT0mr4ofN68CZlSiwGq7X7WbVwhyqZxByXenZbyJL0jg3huNqbv6oVP6y0To2x0l4vK KLBfA9bbrTBzukaRqjVfzzXGtU7+Qjk89gpqGy5X3g5mXg3Sxyy1wGFudpjYjcZVO6xI ix0FJ/rFL5lQzGFeR5NGv9yFSDoCZzbtbd36lpAXJh2dr8IEZ/uv9mHOFfikGE/4cYyd tKDw== 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 :arc-authentication-results; bh=h9yNru/2WURf4DMivJE2KeaiK/W5Muj80WRnDJSbSUU=; b=EV3sswr4e6Z/eFXIGhMnvRaRrnG2psXJdmCmc1zJiifpYLNFBQO9gSeD1zrfRVQZJL +C24VAY7eNjtw6+A680Djs17YaUOyYv3SN1rPOd3VWPm9WQjuzCHwgNGVX0JbozDibpy JtpqMdj0kywBdNYd4C/ixSTUV+SMp/qaChd0v8Lsqie+i/rMHHiThcDAXax6HECm8JXU RRgLQ/KbszOH6u7z81aATjQJfAcGj22erJ7J0WjACii5iCszruUZAlXx+TYbZoQguPew m3oNhFVG2zRDz1KvLZ/MdhHplhOd52jMxgPv2C8au1+b+uQIfS4UF5BQQt+krMpI6m7h QJKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@onevmw.onmicrosoft.com header.s=selector1-vmware-com header.b=AINXWPH8; 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 g13si261490pgu.229.2018.01.29.17.21.20; Mon, 29 Jan 2018 17:21:36 -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=@onevmw.onmicrosoft.com header.s=selector1-vmware-com header.b=AINXWPH8; 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 S1752251AbeA3BU6 (ORCPT + 99 others); Mon, 29 Jan 2018 20:20:58 -0500 Received: from mail-sn1nam02on0068.outbound.protection.outlook.com ([104.47.36.68]:46464 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751448AbeA3BUz (ORCPT ); Mon, 29 Jan 2018 20:20:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=h9yNru/2WURf4DMivJE2KeaiK/W5Muj80WRnDJSbSUU=; b=AINXWPH8g3wZB3CyiYb35sv7m6mH4aNllQn2XWdYj5CAbTd+VL8z+F35G9bzpNAK2LIiIbJ7g/Vj4PfX1TjRBn+Da2Q+Jbt7RtoDpoEFZ6z1cDaolu4JbOmyAOmg/a7p5P44qcug43jzSSH0ewKgpXtd5g1jow5njMEuJJWvjW8= Received: from BN6PR05MB3458.namprd05.prod.outlook.com (10.174.232.34) by BN6PR05MB3457.namprd05.prod.outlook.com (10.174.232.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.464.6; Tue, 30 Jan 2018 01:20:52 +0000 Received: from BN6PR05MB3458.namprd05.prod.outlook.com ([10.174.232.34]) by BN6PR05MB3458.namprd05.prod.outlook.com ([10.174.232.34]) with mapi id 15.20.0464.008; Tue, 30 Jan 2018 01:20:52 +0000 From: David Dunn To: Eduardo Habkost , Jim Mattson CC: Andi Kleen , Arjan van de Ven , KarimAllah Ahmed , "Wilson, Matt" , "linux-kernel@vger.kernel.org" , "Andrea Arcangeli" , Andy Lutomirski , Ashok Raj , Asit Mallick , "Borislav Petkov" , Dan Williams , Dave Hansen , Greg Kroah-Hartman , "H . Peter Anvin" , Ingo Molnar , "Janakarajan Natarajan" , Joerg Roedel , Jun Nakajima , Laura Abbott , Linus Torvalds , Masami Hiramatsu , Paolo Bonzini , Peter Zijlstra , =?utf-8?B?UmFkaW0gS3LEjW3DocWZ?= , Thomas Gleixner , Tim Chen , Tom Lendacky , "Jorgensen, Bryan" , "kvm@vger.kernel.org" , "x86@kernel.org" , "Dr. David Alan Gilbert" , Fred Jacobs , "David Woodhouse" Subject: Re: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure Thread-Topic: [RFC,05/10] x86/speculation: Add basic IBRS support infrastructure Thread-Index: AQHTmVCgOXQhw5p0hkWXEZIqJN2wLaOLcfMAgAACXYCAACdugP//fKaA Date: Tue, 30 Jan 2018 01:20:52 +0000 Message-ID: <30A89AF5-51E6-4D7F-B669-63C2B3191302@vmware.com> References: <7EB9643C-D2DD-477A-90DE-05DC653D2D4B@vmware.com> <20180129224124.GU26209@tassilo.jf.intel.com> <20180130011059.GB21702@localhost.localdomain> In-Reply-To: <20180130011059.GB21702@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [67.148.5.86] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN6PR05MB3457;7:O44HFpsBGplQIAcEycBwaKErz2V+gkVXEczlf/pSQ2y3kCFVWUFNy09sqFIikJcy8Qofm5LCgq8A+spOwUG8uczs7ZuvzNFvFu12Px/QfMh6OVBCNzzdpYc0Yc12dKA2t5ZBTG8bIMXcWfL5LxYQzx4XI0BjTkNWp0oqDFsfHXWd9PwJft8n3PRjh2fwkSJhn8yl2iATrja8MZ+luxfu4mNNRnObUD4099ErrClO6YRgjuwRlbnJBh/6F7nUHn8A;20:d8ay2Wxcmf/DMpew6D4NcGHGQ2j01V/Eadz8bJTNyzyAvR2nl6kc2B7UAqlBVwdaCcdb0eFjxru4XtOTOnp3CRrT5Nu2oafGwihKucjXlfDe+I7rgbZmD3KqdnxZWbA6nGCMKIQbZ72NqdTLHdTXTg3MaL7NSu0OhOntpsRSKOk= x-ms-office365-filtering-correlation-id: b12df3a3-4b03-4458-f92f-08d5677fb40f x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:BN6PR05MB3457; x-ms-traffictypediagnostic: BN6PR05MB3457: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ddunn@vmware.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231101)(944501161)(10201501046)(3002001)(6041288)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(20161123564045)(6072148)(201708071742011);SRVR:BN6PR05MB3457;BCL:0;PCL:0;RULEID:;SRVR:BN6PR05MB3457; x-forefront-prvs: 0568F32D91 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39380400002)(39860400002)(366004)(396003)(376002)(346002)(199004)(189003)(106356001)(6486002)(3660700001)(6436002)(110136005)(54906003)(316002)(305945005)(33656002)(81156014)(8936002)(99286004)(81166006)(8676002)(97736004)(3280700002)(68736007)(6512007)(93886005)(7406005)(82746002)(7416002)(229853002)(7736002)(2900100001)(66066001)(53546011)(25786009)(4326008)(6246003)(105586002)(77096007)(36756003)(8666007)(5660300001)(102836004)(26005)(6506007)(86362001)(478600001)(3846002)(186003)(83716003)(6116002)(53936002)(2906002)(14454004)(76176011)(2950100002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR05MB3457;H:BN6PR05MB3458.namprd05.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: p4236YvwHJl+lfW/lOeHEyv+F8iPe4zvJMFeOruFXzhV+iyDdX0+OigmW/YuE18UzpZF2j4Vz9V5GKaJswzIMQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: b12df3a3-4b03-4458-f92f-08d5677fb40f X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2018 01:20:52.1777 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR05MB3457 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RWR1YXJkbywNCg0KVGhpcyBpcyB3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