Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10429087ybi; Thu, 11 Jul 2019 05:12:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrepOhvW/0AE2MjSFrL2/S6SaKmZbii8sONB09iicmHpwe+CvUzO5FRmJIjQ3D3k0cxPpK X-Received: by 2002:a17:90a:db08:: with SMTP id g8mr4363302pjv.39.1562847163828; Thu, 11 Jul 2019 05:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562847163; cv=none; d=google.com; s=arc-20160816; b=rwvEHj7PqY3n8Wa62h9KDP5yNtkNi93MpfwCWj4csS+2o6BOVPB9iJSZJfUgw+dXvk LUvhYixvioCgwpv9r9gd6BLtNcaSguVXAGODJ4d6WSrahYSZwMjmIaXX+QWCicuTmQnD Twj8+w49D2F6hnZic/TPNp6uq7ffoVQUMiU89gyYdOrqmkyi/GdbegYp2KcFyNby1k+8 OLEDC0FGxY+sDQlqt/vp8rgJQ/Mph8XGYmKOLXpt+O/Z6ZDydiavb8pEDvawITQ3xLtp Y0MgSyH8v4DeU56Xp6TCWbeHBJsjtNDE5O9ZYB8TJKeo4xHZQsfQK2qJxwVxtoORE4A1 w8gA== 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; bh=/pqR0VRzUGdPI8l5DQW7GZM3wk0rpPgtRH4po/KZ+bg=; b=wSkJYquTZIjDOP/Bh6VsbBxAP9VbePZ/FL7xi+VCS3H3Qg+1+7m8OTGZulIPhYuuJY /yv3ZZa3M1NTQO2VytxVEvWVp8t8Xv+3hHGa7IkKPsiAg3JCChO/Gx7+6Z/Itvt6oX4o 3LPNtsAwKYW5k5YCk49hJDn6EvPMOJ4V8Au0ViKvnViPsiWL9zOfYVb5aFgSwQePTbb+ KzuthVOkJaXub3Qfx+Qk32nsPaMED9kRiQASw69PDS4CnGytxdnkfBBDF/7rTWOBi1Ym PvIELP1kmn/VC4V+f8g1EDgUydYK7PErcT1mvos6gjhYQckWKQdSPfE+Cfr9O50oeelc 5kyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=O2zT9mEX; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t191si5357798pgd.370.2019.07.11.05.12.28; Thu, 11 Jul 2019 05:12:43 -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; dkim=pass header.i=@kernel.org header.s=default header.b=O2zT9mEX; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728497AbfGKMMJ (ORCPT + 99 others); Thu, 11 Jul 2019 08:12:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:48130 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727974AbfGKMMI (ORCPT ); Thu, 11 Jul 2019 08:12:08 -0400 Received: from localhost (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5DC1220665; Thu, 11 Jul 2019 12:12:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562847127; bh=e/K/5AFD7ZJzrczehcbJ6cmCV0hihMHe4GYW1tV1PmQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O2zT9mEX1OCHyMkE4Wj//S23gqPeC+O209ffvro8jKhLFqkq21COMNMLo0TJ+y7vS tfo04K1nn/iFNAhPzjREayfcnBqPVsjarEtafP7fKdvBIbMyq1ED1HsNnA7STrFCDp PGKLAo2G6T6O4tXMNHk9Sc9/pLKkrd1OpmJES6Kw= Date: Thu, 11 Jul 2019 08:12:06 -0400 From: Sasha Levin To: Steven Rostedt Cc: Linus Torvalds , Andy Lutomirski , Peter Zijlstra , Thomas Gleixner , Borislav Petkov , Ingo Molnar , "H. Peter Anvin" , Dave Hansen , Juergen Gross , LKML , He Zhe , Joel Fernandes , devel@etsukata.com, stable , Greg Kroah-Hartman Subject: Re: [PATCH v2 5/7] x86/mm, tracing: Fix CR2 corruption Message-ID: <20190711121206.GY10104@sasha-vm> References: <20190704195555.580363209@infradead.org> <20190704200050.534802824@infradead.org> <20190710162709.1c306f8a@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20190710162709.1c306f8a@gandalf.local.home> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 10, 2019 at 04:27:09PM -0400, Steven Rostedt wrote: > >[ added stable folks ] > >On Sun, 7 Jul 2019 11:17:09 -0700 >Linus Torvalds wrote: > >> On Sun, Jul 7, 2019 at 8:11 AM Andy Lutomirski wrote: >> > >> > FWIW, I'm leaning toward suggesting that we apply the trivial tracing >> > fix and backport *that*. Then, in -tip, we could revert it and apply >> > this patch instead. >> >> You don't have to have the same fix in stable as in -tip. >> >> It's fine to send something to stable that says "Fixed differently by >> commit XYZ upstream". The main thing is to make sure that stable >> doesn't have fixes that then get lost upstream (which we used to have >> long long ago). >> > >But isn't it easier for them to just pull the quick fix in, if it is in >your tree? That is, it shouldn't be too hard to make the "quick fix" >that gets backported on your tree (and probably better testing), and >then add the proper fix on top of it. The stable folks will then just >use the commit sha to know what to take, and feel more confident about >taking it. I'd say that if the "final" fix is significantly different than what we'll end up with upstream then just do as Linus said and send us a separate backport. If we try doing the apply fix/revert etc games it'll just be more difficult later on to parse what has happened. On the other hand, if we have a clear explanation in the backported commit as to how it's different from upstream and the reasons for doing so it'll make future us happy when we try to apply fixes on top of it. -- Thanks, Sasha