Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753366AbeADPcw (ORCPT + 1 other); Thu, 4 Jan 2018 10:32:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44050 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbeADPcv (ORCPT ); Thu, 4 Jan 2018 10:32:51 -0500 Subject: Re: Avoid speculative indirect calls in kernel To: "Woodhouse, David" , "pavel@ucw.cz" , "andrew.cooper3@citrix.com" Cc: "linux-kernel@vger.kernel.org" , "tim.c.chen@linux.intel.com" , "torvalds@linux-foundation.org" , "tglx@linutronix.de" , "andi@firstfloor.org" , "aarcange@redhat.com" , "gnomes@lxorguk.ukuu.org.uk" , "dave.hansen@intel.com" , "gregkh@linux-foundation.org" References: <20180103230934.15788-1-andi@firstfloor.org> <20180104114231.GB1702@amd> <1515066469.12987.112.camel@amazon.co.uk> <94b12025-b27c-04d2-8726-c07a3af6b265@redhat.com> <7a3584c6-0c00-d807-5130-13d1f4b34102@citrix.com> <1515079777.12987.149.camel@amazon.co.uk> From: Paolo Bonzini Message-ID: Date: Thu, 4 Jan 2018 16:32:47 +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: <1515079777.12987.149.camel@amazon.co.uk> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 04 Jan 2018 15:32:51 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 04/01/2018 16:29, Woodhouse, David wrote: > Adding that for KVM is in the Linux IBRS patch set that I've seen. > Didn't we already have a conversation about how the Linux patch set > does it as an atomically-switched MSR while you've done it manually in > Xen because it's faster? I'm also doing it manually in the RHEL versions of the KVM patches, for what it's worth. Paolo