Received: by 10.223.185.111 with SMTP id b44csp935247wrg; Fri, 9 Mar 2018 17:15:56 -0800 (PST) X-Google-Smtp-Source: AG47ELv6jk0ua9m8qReaTVbvEwNF+7ajb0mDGirGYq3DxRy6wh8e+XlE6q6P/iXprT59MEyoEZdj X-Received: by 2002:a17:902:7c11:: with SMTP id x17-v6mr424061pll.59.1520644556523; Fri, 09 Mar 2018 17:15:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520644556; cv=none; d=google.com; s=arc-20160816; b=N34SpLpEMRLe6JLfMM2rq0ajc7Dx228biTDNLqKM+qnLF7Oxk5tuTqtxgcvDYWdXSx 9RpLNp5Ns1lY+skMRhvdxAbNjOdn82oVS128lcCJPrLwEkSkhXBawGiyRt2enzaVnA1g tu5VBAxatkFkDMLTmCgEA+IjgXHF84MAMTsd9bEA6RfSlzcgKKvajUBlVVLiS/zylNCl cIEp64TWCSStTIhQo/waMDEeBYltqGaLiE9cC8DRQWFQDOiZlX68/dcx8CKyVEqWNQ4u JEYnSHV8HoIsc/O3o2for4tnZVa25dMVRMvZ3b5fVaxuzWu6G2qEzrJOGEYz8IGk7FMH rIwg== 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:arc-authentication-results; bh=aVnr9njBPUmdVOyIdMYeXx0sMgpwQDFCqffNRoGHk7Y=; b=SVOLwZ+mgZL+xk3pSkaSA9o5OSxTFQUMdWCrGsFs10frSBmAFdUJI2CzgZJ/VXy3/D EMtYnnwIZaDOvo5h2cjBVKI5nj/72oEGewSG+C8eKz76EnbdeudzzYY5Pf7jdm9btjO0 JF/KNrLbQcuRdUx87CILwO/bIdUHecFf/F1zFQeNxhdJbR95jiSZmEdhHCIoBvdrN7pN Ck9OaCwRScBkd+TuvfOS7hhBrWmuE3HvndMqTgEKW7W28E1jtn2TqdEikxlA43sgQn6W p6RxT1fxK8i7wBZRJOCT7zB0DYsBO8lzxzjRvc0BfCsmPm3zN65PgyKGn+EOdm3PieR1 dvPg== 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 c19-v6si1796643plo.652.2018.03.09.17.15.39; Fri, 09 Mar 2018 17:15:56 -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; 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 S932369AbeCJBOk (ORCPT + 99 others); Fri, 9 Mar 2018 20:14:40 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:57288 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751211AbeCJBOj (ORCPT ); Fri, 9 Mar 2018 20:14:39 -0500 Received: from localhost (unknown [185.236.200.248]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id DE582FF9; Sat, 10 Mar 2018 01:14:38 +0000 (UTC) Date: Fri, 9 Mar 2018 17:14:35 -0800 From: Greg Kroah-Hartman To: Tim Chen Cc: stable@vger.kernel.org, Andy Lutomirski , Nadav Amit , Thomas Gleixner , Andrew Morton , Arjan van de Ven , Borislav Petkov , Dave Hansen , Linus Torvalds , Mel Gorman , Peter Zijlstra , Rik van Riel , Ingo Molnar , David Woodhouse , ak@linux.intel.com, karahmed@amazon.de, pbonzini@redhat.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] x86/mm: Give each mm a unique ID Message-ID: <20180310011435.GA27284@kroah.com> References: <3351ba53a3b570ba08f2a0f5a59d01b7d80a8955.1520026221.git.tim.c.chen@linux.intel.com> <20180307173036.GJ7097@kroah.com> <9b0d1195-23bd-5bf9-0dd8-b2ca29165bbb@linux.intel.com> <8322b21f-5ee7-41a6-7897-d73faa0ece27@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8322b21f-5ee7-41a6-7897-d73faa0ece27@linux.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 09, 2018 at 05:04:39PM -0800, Tim Chen wrote: > On 03/08/2018 10:23 AM, Tim Chen wrote: > > On 03/07/2018 09:30 AM, Greg Kroah-Hartman wrote: > >> On Fri, Mar 02, 2018 at 01:32:09PM -0800, Tim Chen wrote: > >>> From: Andy Lutomirski > >>> commit: f39681ed0f48498b80455095376f11535feea332 > >>> > >>> This adds a new variable to mmu_context_t: ctx_id. > >>> ctx_id uniquely identifies the mm_struct and will never be reused. > >>> > >>> Signed-off-by: Andy Lutomirski > >>> Reviewed-by: Nadav Amit > >>> Reviewed-by: Thomas Gleixner > >>> Cc: Andrew Morton > >>> Cc: Arjan van de Ven > >>> Cc: Borislav Petkov > >>> Cc: Dave Hansen > >>> Cc: Linus Torvalds > >>> Cc: Mel Gorman > >>> Cc: Peter Zijlstra > >>> Cc: Rik van Riel > >>> Cc: linux-mm@kvack.org > >>> Link: http://lkml.kernel.org/r/413a91c24dab3ed0caa5f4e4d017d87b0857f920.1498751203.git.luto@kernel.org > >>> Signed-off-by: Ingo Molnar > >>> Signed-off-by: Tim Chen > >>> --- > >>> arch/x86/include/asm/mmu.h | 15 +++++++++++++-- > >>> arch/x86/include/asm/mmu_context.h | 5 +++++ > >>> arch/x86/mm/tlb.c | 2 ++ > >>> 3 files changed, 20 insertions(+), 2 deletions(-) > >>> > >> > >> Does not apply to 4.4.y :( > >> > >> Can you provide a working backport for that tree? > >> > > > > Okay. Will do. Thanks. > > > > > Greg, > > I actually found that there are a number of dependent IBPB related patches that haven't been > backported yet to 4.4: > > x86/cpufeatures: Add AMD feature bits for Speculation Control > (cherry picked from commit 5d10cbc91d9eb5537998b65608441b592eec65e7) > > x86/msr: Add definitions for new speculation control MSRs > (cherry picked from commit 1e340c60d0dd3ae07b5bedc16a0469c14b9f3410) > > x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support > (cherry picked from commit 20ffa1caecca4db8f79fe665acdeaa5af815a24d) > > x86/cpufeatures: Clean up Spectre v2 related CPUID flags > (cherry picked from commit 2961298efe1ea1b6fc0d7ee8b76018fa6c0bcef2) > > And probably and a few more. > You have plans to backport these patches? I don't, but I think someone from Amazon was looking into it, but I haven't heard from them in a few weeks. I'll gladly take patches if you have them, or at the worse case, a list like above of the git commits that are missing. thanks, greg k-h