Received: by 10.223.176.46 with SMTP id f43csp1888712wra; Sun, 21 Jan 2018 06:41:24 -0800 (PST) X-Google-Smtp-Source: AH8x225pTCiUx6hPEkU6D0uDHaWGjHRY4FmvtXTqEwJHl9EJ24TtgYTCInyFshHmf6QUo6oaXJKU X-Received: by 10.99.140.72 with SMTP id q8mr4552731pgn.51.1516545684505; Sun, 21 Jan 2018 06:41:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516545684; cv=none; d=google.com; s=arc-20160816; b=yo5IToE5UNfrtlOcMh8cFXv+0llzTTnrVZF52cr9iX/4QxHaEO8qlnVK1+d8vFplwm TP0KR9KbRQOR2B97zxg0ZJOz5qffPxg/vSAATeI1s6LMKfl4Y6dcM2P77J4uHdJOdyCW 9jbGjmShtGA60qJEC1bjW4dGPR/426uPkUu1XP1FgSTqh6+naQAE9m1R0XHF0dMtTmXR 8odmhxKzd8Gyps+7Mr98h+9VT/EWVtBBjnKcdS0y0h9Iq6eG8wWx2X7TmEk9I6zzyrYd NAxp9bqpy/Q7fT+a5OWngJhLuMC8wHOAKmuX5iiyW+cJDjVMoVUAsvoKg68VdynL8lBk Kflg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=YkumGh3gRkU0KPIKrdKT9GdYVepnVHW+D7+giMSQSpw=; b=g5NwCAr4FPtWRYstm0SzWAfp9yZMv7grsFGIyeh2Sh9iZtHFguDzcDLU8uXQP5tik8 Fsnj+kbbcm8PF7VtJD0x0iJ68qby9Zy9lFQTJ7P3xrWJ+z+3jPw6naJeZcDJS1pb4I3E koVHMP/JfadwaZ8kJO24UU9+dioRWh5ejd0aKL9i025boFoRcgFnGjmhExV/xbBylIk+ 2W43V+I//mhE1Xmy1GIw/S2kqmnzIfvw6B1q1Mnch5NdNtpVQ+mNXdRvn344fGfyMiHX ZbKlp3y4745ECrH/LmoblgBzvtZfR9gbRA6RUVZOCtb1swU1BM6p2FLgaQ7sRXQ0TGRc 1AWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=XOfFpM4W; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8si12280676pgn.343.2018.01.21.06.41.10; Sun, 21 Jan 2018 06:41:24 -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=@amazon.com header.s=amazon201209 header.b=XOfFpM4W; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751178AbeAUOkt (ORCPT + 99 others); Sun, 21 Jan 2018 09:40:49 -0500 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:11325 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750941AbeAUOkr (ORCPT ); Sun, 21 Jan 2018 09:40:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1516545646; x=1548081646; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=YkumGh3gRkU0KPIKrdKT9GdYVepnVHW+D7+giMSQSpw=; b=XOfFpM4WYPNGAYLWwcGnKpm1qHCPl4hDwT/GqANCWzT58x8U7991/YF/ X8089yeaZuTRzBJoDfTIjYovHr/xhOquKuFMMIwURUzDHhd1oH+aWwr4u 5Lc2pBYme1245hrybwkGLSpIxcE+NEMuLn7LTZcsVepZ+TRBglGpRGi45 k=; X-IronPort-AV: E=Sophos;i="5.46,391,1511827200"; d="scan'208";a="328391971" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-2a-8549039f.us-west-2.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Jan 2018 14:40:36 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-2a-8549039f.us-west-2.amazon.com (8.14.7/8.14.7) with ESMTP id w0LEeTPL069210 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Sun, 21 Jan 2018 14:40:32 GMT Received: from EX13D01EUB003.ant.amazon.com (10.43.166.248) by EX13MTAUEA001.ant.amazon.com (10.43.61.243) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Sun, 21 Jan 2018 14:40:30 +0000 Received: from [10.85.91.157] (10.43.162.73) by EX13D01EUB003.ant.amazon.com (10.43.166.248) with Microsoft SMTP Server (TLS) id 15.0.1236.3; Sun, 21 Jan 2018 14:40:17 +0000 Subject: Re: [RFC 10/10] x86/enter: Use IBRS on syscall and interrupts To: Konrad Rzeszutek Wilk , KarimAllah Ahmed CC: , Andi Kleen , "Andrea Arcangeli" , Andy Lutomirski , "Arjan van de Ven" , Ashok Raj , Asit Mallick , Borislav Petkov , Dan Williams , Dave Hansen , "David Woodhouse" , 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 , , , Arjan Van De Ven References: <1516476182-5153-1-git-send-email-karahmed@amazon.de> <1516476182-5153-11-git-send-email-karahmed@amazon.de> <20180121135029.GM10086@char.us.oracle.com> From: KarimAllah Ahmed Message-ID: <243f14f6-940a-65fc-08b8-3fd54dac8c15@amazon.com> Date: Sun, 21 Jan 2018 15:40:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20180121135029.GM10086@char.us.oracle.com> Content-Language: en-US X-Originating-IP: [10.43.162.73] X-ClientProxiedBy: EX13D04UWB002.ant.amazon.com (10.43.161.133) To EX13D01EUB003.ant.amazon.com (10.43.166.248) Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDEvMjEvMjAxOCAwMjo1MCBQTSwgS29ucmFkIFJ6ZXN6dXRlayBXaWxrIHdyb3RlOgoKPiBP biBTYXQsIEphbiAyMCwgMjAxOCBhdCAwODoyMzowMVBNICswMTAwLCBLYXJpbUFsbGFoIEFobWVk IHdyb3RlOgo+PiBGcm9tOiBUaW0gQ2hlbiA8dGltLmMuY2hlbkBsaW51eC5pbnRlbC5jb20+Cj4+ Cj4+IFN0b3AgSW5kaXJlY3QgQnJhbmNoIFNwZWN1bGF0aW9uIG9uIGV2ZXJ5IHVzZXIgc3BhY2Ug dG8ga2VybmVsIHNwYWNlCj4+IHRyYW5zaXRpb24gYW5kIHJlZW5hYmxlIGl0IHdoZW4gcmV0dXJu aW5nIHRvIHVzZXIgc3BhY2UuLwo+IEhvdyBhYm91dCBpbnRlcnJ1cHRzPwo+Cj4gVGhhdCBpcyBz aG91bGQgLm1hY3JvIGludGVycnVwdCBoYXZlIHRoZSBzYW1lIHRyZWF0bWVud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