Received: by 10.223.176.46 with SMTP id f43csp1847586wra; Sun, 21 Jan 2018 05:53:38 -0800 (PST) X-Google-Smtp-Source: AH8x225rWL43f7Fh7+JI9hkV4UzwYmT2Xf6nI5bR17yIc3ThNGEJGDsJlTZ7Hj5krKZ2qb4N70+w X-Received: by 10.98.189.8 with SMTP id a8mr5308361pff.125.1516542818553; Sun, 21 Jan 2018 05:53:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516542818; cv=none; d=google.com; s=arc-20160816; b=nExxIvMJV0ZHmoz4sdggxhcvgZkjtYv5Rn8OQ1O2h0chsB9RH8nakm8VhzsHEdK1Gn /K+xSW6zJB2DaF7i9497lPkRCyIE+VcRjiJSrm7QHLOvFQvyTF88xb7R8UUTBLftMkNI 4WTT2Xeb1/dciFDwYlHgZquNhDVUorYxcPjwO/2Q/akY1yEKw17fqzNGuR1G/WZXkSgJ vW+K4w35fuPvsOuR/H2a//SATyx8K8QTnWDbbl+ayXoyAy5014TypT4N31GuWRks55Xg gBd0iGzGxF3pePLHPlCj1q84YTh23yRUqV/nLvCn4ZJnZ57xWY9V6uo+W6NMhpdITyGq d3wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=SkQ68nQJAJLXlO2E5z++OGpXmBclqgzEmXez4C4Jbh0=; b=FK9kTXlLkTdfayaCov1/6FJyTkx3GhPrISSeRDeXW3oCUJiI6bchftCVWiRC7nrJa0 iMmAOrJuT+V4BKEE+/n3VIgsnzSb5ETjm5MRy0+WRZQF0HdBEpBlbQ1nGFJyC77VXaIV fezA7XJc0O2vN/mVpGSwWTq/3WTFuXsFfTfx1PiQUjfOqR9Dp8fhbsNcRHOcoxVCDmuu +4/jTfLRRWhrZPmDM1hSrHHGIc7wFkVJyKm1ayYKk+FJO/DAPOcgQlSi7AbnhD5xxOM3 gg2hwbiQEyxx3RwmsFdNxqsozRFeGfBpXokZw2m409fxxx6pTmrsgI7wgWdby00xBSk0 hV8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=TulkUl0+; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b187si7214141pgc.283.2018.01.21.05.53.12; Sun, 21 Jan 2018 05:53:38 -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=@oracle.com header.s=corp-2017-10-26 header.b=TulkUl0+; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751243AbeAUNwk (ORCPT + 99 others); Sun, 21 Jan 2018 08:52:40 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:41206 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750748AbeAUNwi (ORCPT ); Sun, 21 Jan 2018 08:52:38 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w0LDpnf9083988; Sun, 21 Jan 2018 13:51:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=SkQ68nQJAJLXlO2E5z++OGpXmBclqgzEmXez4C4Jbh0=; b=TulkUl0+sEMixUZYNr45yxwAcU36nSnX6VPMkEoaehNSuavYFalgkJANFoGo2jcbjaSJ i6HoUZg6ghtSuAEN4M7zEN7qcOVrH4Dhk3dV+1q6gmpfrRkHb/98s3BRRO0P8wl4LiZf HZeuc2uHibsqYgzhrY9XXHPxvmjDxRIioUb+paQ7s0ws0p4p+h4t+E5+jREDsKKtx5C7 o8Dh6Q82zKpityGbKb6swUeY7icigRiyhVoiU7xepPwYrAdlDeZoY7ag4iOCRKr5nqQO cr1Q8VNnckodl0FteGR4XUXo5MEmw+cxkv+hVxxvHS1FLPv4N+1ooK0gqIR1/0EGM7fO 5A== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2fmtskr465-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 21 Jan 2018 13:51:50 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w0LDoZxY020291 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 21 Jan 2018 13:50:35 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w0LDoWF7026486; Sun, 21 Jan 2018 13:50:32 GMT Received: from char.us.oracle.com (/10.137.176.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 21 Jan 2018 05:50:32 -0800 Received: by char.us.oracle.com (Postfix, from userid 1000) id B20B86A0180; Sun, 21 Jan 2018 08:50:29 -0500 (EST) Date: Sun, 21 Jan 2018 08:50:29 -0500 From: Konrad Rzeszutek Wilk To: KarimAllah Ahmed Cc: linux-kernel@vger.kernel.org, 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 , Radim =?utf-8?B?S3LEjW3DocWZ?= , Thomas Gleixner , Tim Chen , Tom Lendacky , kvm@vger.kernel.org, x86@kernel.org, Arjan Van De Ven Subject: Re: [RFC 10/10] x86/enter: Use IBRS on syscall and interrupts Message-ID: <20180121135029.GM10086@char.us.oracle.com> References: <1516476182-5153-1-git-send-email-karahmed@amazon.de> <1516476182-5153-11-git-send-email-karahmed@amazon.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1516476182-5153-11-git-send-email-karahmed@amazon.de> User-Agent: Mutt/1.8.3 (2017-05-23) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8780 signatures=668655 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=356 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801210203 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 20, 2018 at 08:23:01PM +0100, KarimAllah Ahmed wrote: > From: Tim Chen > > Stop Indirect Branch Speculation on every user space to kernel space > transition and reenable it when returning to user space./ How about interrupts? That is should .macro interrupt have the same treatment?