From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v6 11/13] kvm, x86: update spectre-v1 mitigation Date: Wed, 31 Jan 2018 08:49:16 -0500 Message-ID: <376a8a99-db4f-09ec-7c1b-a35ced6209c5@redhat.com> References: <151727412964.33451.17213780323040673404.stgit@dwillia2-desk3.amr.corp.intel.com> <151727419015.33451.13762926723789552997.stgit@dwillia2-desk3.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Thomas Gleixner , Dan Williams Cc: Ingo Molnar , linux-arch , Kernel Hardening , Andrew Honig , Linux Kernel Mailing List , Greg KH , Alan Cox , Linus Torvalds , Jim Mattson List-Id: linux-arch.vger.kernel.org On 31/01/2018 03:07, Thomas Gleixner wrote: >> Hi Thomas, >> >> I notice this one missing from -tip, I suspect because of the >> collision with the raw 'lfence' that is in current mainline? No >> worries, I'll send a rebased fixup to Paolo directly once >> array_idx_nospec() goes upstream. Fine by me. Also, now that x86/pti has been rebased, a version that replaces the lfence with array_idx_nospec() would apply to both tip and 4.14. Paolo > It did not apply for that reason and I'm still trying to keep x86/pti as > clean as it goes to keep GregKHs backporting hell somehow under control. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:55256 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751447AbeAaNtW (ORCPT ); Wed, 31 Jan 2018 08:49:22 -0500 Subject: Re: [PATCH v6 11/13] kvm, x86: update spectre-v1 mitigation References: <151727412964.33451.17213780323040673404.stgit@dwillia2-desk3.amr.corp.intel.com> <151727419015.33451.13762926723789552997.stgit@dwillia2-desk3.amr.corp.intel.com> From: Paolo Bonzini Message-ID: <376a8a99-db4f-09ec-7c1b-a35ced6209c5@redhat.com> Date: Wed, 31 Jan 2018 08:49:16 -0500 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Thomas Gleixner , Dan Williams Cc: Ingo Molnar , linux-arch , Kernel Hardening , Andrew Honig , Linux Kernel Mailing List , Greg KH , Alan Cox , Linus Torvalds , Jim Mattson Message-ID: <20180131134916.Rm2NR1LekiArRtwpnlz1Z7u76rqbWRp67MvCoqbiNaw@z> On 31/01/2018 03:07, Thomas Gleixner wrote: >> Hi Thomas, >> >> I notice this one missing from -tip, I suspect because of the >> collision with the raw 'lfence' that is in current mainline? No >> worries, I'll send a rebased fixup to Paolo directly once >> array_idx_nospec() goes upstream. Fine by me. Also, now that x86/pti has been rebased, a version that replaces the lfence with array_idx_nospec() would apply to both tip and 4.14. Paolo > It did not apply for that reason and I'm still trying to keep x86/pti as > clean as it goes to keep GregKHs backporting hell somehow under control.