Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3892515imm; Mon, 30 Jul 2018 05:26:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpegZT7IIwfKwmEeBWTbEkM+1O6u6uw06vIrJooRE0to2PwBTr7rlpGnPb3FgMes7xLud2Wx X-Received: by 2002:a17:902:a24:: with SMTP id 33-v6mr16161520plo.88.1532953607985; Mon, 30 Jul 2018 05:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532953607; cv=none; d=google.com; s=arc-20160816; b=R4p9Ww9x+rO+BEz1AnS1JD6VnSDTTxd+uLElTRK3ZY9qJ9xaZkE7lTyyg4SK/2XOFd u36m8Jnn66luh8SLeZsNB5Zq7pcrsErd8PoW13Tz4v68SUXSX0ss/vBO1/Crji4QP/Ev hb3FrOSF/2u6jDqrv33aRaZ9ToVTOKf7EA3E8r+hNb8PrExNBSlWyk2oDwMq2aDh7qI9 KsR+6d9GPe2gOU8Vt2xdnDVPCszp7iPCslGKeZVfKR0GbJQyRsYgqxR1eWvhlaNB85mL QcLY8v5sBYxBKp82uPuP0c1HvVNJQiNp/atw8rvh4/L8b4tVYaT6mGx1cwV8iB4w0OPQ T+aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=TL9gbUEYlKHdavYWejRvQ/q42kZe4NXC+wMJ0+zRSdE=; b=RUUsF3DAJcXb50wW1G+KO4kHbPr9NTrCB6GA+f/xyDD+fCNYlUhhbAJaTqCu31Ndq2 CXyLTY0aq/tNQ8fe4uhSp3lyEjB3NeZ6wE+5R9JX/7IZ2YXz6j/QzRKbOukZZqF6PIG9 46MUCZd8bSHeMbL4OZTL2CL65MZy6b+Z3a39F+EGKaCyECPdlfq8PaI2tvKS0EJY7FVe JFHwlhDYYLlEO6SsGv1O/QvQI5eOgOHoAfQCfy/v3BIcAxmOF01A5yAQi56eHNnOUAvg WOpATU9wH+RzvQdLYlSKpquG5HiMDHRzqS3a9Qvip15hB6dg9/hS/qww97LmsxN16qzv kt9g== ARC-Authentication-Results: i=1; mx.google.com; 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 x32-v6si9780522pld.330.2018.07.30.05.26.33; Mon, 30 Jul 2018 05:26:47 -0700 (PDT) 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; 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 S1729188AbeG3OAU (ORCPT + 99 others); Mon, 30 Jul 2018 10:00:20 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:56104 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727770AbeG3OAU (ORCPT ); Mon, 30 Jul 2018 10:00:20 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fk7Et-0002Cr-GF; Mon, 30 Jul 2018 14:25:27 +0200 Date: Mon, 30 Jul 2018 14:25:27 +0200 (CEST) From: Thomas Gleixner To: Sai Praneeth Prakhya cc: x86@kernel.org, linux-kernel@vger.kernel.org, Tim C Chen , Dave Hansen , Ravi Shankar , Ingo Molnar Subject: Re: [PATCH] x86/speculation: Support Enhanced IBRS on future CPUs In-Reply-To: <1532465636-25240-1-git-send-email-sai.praneeth.prakhya@intel.com> Message-ID: References: <1532465636-25240-1-git-send-email-sai.praneeth.prakhya@intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Jul 2018, Sai Praneeth Prakhya wrote: > From: Sai Praneeth > > Some future Intel processors may support "Enhanced IBRS" which is an > "always on" mode i.e. IBRS bit in SPEC_CTRL MSR is enabled once and > never disabled. According to specification[1], this should simplify > software enabling and improve performance. SHOULD is not really helpful. The question is whether it does improve performance in practice or not. You really want to add numbers comparing retpoutine and enhanced IBRS. Thanks, tglx