Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3103631yba; Tue, 16 Apr 2019 04:57:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhfRvWe3+vzAliplGmrYfHOKJ2l+4lRKYQTW93fNvh48KQ33mArpWRmUY01ka//ZyHjrJw X-Received: by 2002:a17:902:26a:: with SMTP id 97mr41859847plc.263.1555415869150; Tue, 16 Apr 2019 04:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555415869; cv=none; d=google.com; s=arc-20160816; b=Uyunl1S8glC/uFeO3D4Zbp9DDALObeUwnYXUXLKGOCJRMZr1z9S2If5uJwcV0ZFXvQ TXE9y60jtYNzQrYyTu7f2x/asY8jJrXbexoPOraLxj2/DqlMwoNubA9Bch73cYhH4eaJ LZDxXY0CmBLhbtG/JGP0gzsrdpjjgdZiMC5EZM9uxsDbHATd8Aqdw1vi0owCblZ7u2qr 1YtkXf6ytzZTjnmG3so3YMIHqa1/ZKBcxNcsMsx+/OMwKfcBEawVOhPooBpV1ErTK8Lp Mofn3rBliXG2CesPyAmT9X26+xVI/eg3ep3o+jvevtukMAjyWRqFDXXry7/HxmM6HxYk xZsg== 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; bh=ordK58d1oopO/x815IVOsGl7jby3D8q1fP/55HaxsAk=; b=stEWqmi4a7Je3DvAM3wKha9RYd7tOzJS5P+tqE90LJ1yo5nIrAWhIkz5g/tdymdilJ nSKBQdGWIxZ4PS1mKnsqrm4pBdhsjzCLECnuabPwcJAsMWsYVRGudc4GEFq7Zsg2avRE LPaP2afXYwgSV8fGVSpwYW5XolOOwB/bdo/J1VxEU3xoH0Vcy4yqpt178noumpEc5vru thE5jpRWPaegub3xelciDXJqYDIp73lAkZhhyfttE5H51uqqWDoUEW8ndct2wx5353+o zrpVKxpYaRzvY0cuUCYNCjlykwQAos+wiFRMnXjpa+0817LzgNBBQdnui3QdOxHtX3gD NCRQ== 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 c10si49165806pfg.172.2019.04.16.04.57.32; Tue, 16 Apr 2019 04:57:49 -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 S1728939AbfDPL4r (ORCPT + 99 others); Tue, 16 Apr 2019 07:56:47 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:59859 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726408AbfDPL4q (ORCPT ); Tue, 16 Apr 2019 07:56:46 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 3C900803A9; Tue, 16 Apr 2019 13:56:36 +0200 (CEST) Date: Tue, 16 Apr 2019 13:56:44 +0200 From: Pavel Machek To: Andy Lutomirski Cc: Pavel Machek , Greg Kroah-Hartman , LKML , stable , Jarkko Nikula , "Rafael J. Wysocki" , Thomas Gleixner , Borislav Petkov , Josh Poimboeuf , Peter Zijlstra , "Rafael J. Wysocki" , Zhang Rui , Ingo Molnar , Sasha Levin , Linus Torvalds Subject: Re: [PATCH 4.14 05/69] x86/power: Make restore_processor_context() sane Message-ID: <20190416115644.GA7009@amd> References: <20190415183726.036654568@linuxfoundation.org> <20190415183727.581656002@linuxfoundation.org> <20190415200452.GA25908@amd> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2019-04-15 13:18:56, Andy Lutomirski wrote: > On Mon, Apr 15, 2019 at 1:04 PM Pavel Machek wrote: > > > > On Mon 2019-04-15 20:58:23, Greg Kroah-Hartman wrote: > > > [ Upstream commit 7ee18d677989e99635027cee04c878950e0752b9 ] > > > > > > My previous attempt to fix a couple of bugs in __restore_processor_co= ntext(): > > > > > > 5b06bbcfc2c6 ("x86/power: Fix some ordering bugs in __restore_proce= ssor_context()") > > > > > > ... introduced yet another bug, breaking suspend-resume. > > > > > > Rather than trying to come up with a minimal fix, let's try to clean = it up > > > for real. This patch fixes quite a few things: > > > > 5b06bbcfc2c6 fixed theoretical bug; rather than porting it to stable > > than fixing it up, it would be better not to port it to stable in the > > first place or simply revert it there. >=20 > Are you sure about that? The bug was reported by real users who had > their systems really crash: >=20 > https://lore.kernel.org/lkml/?q=3D0fede9f9-88b0-a6e7-1027-dfb2019b8ef2%40= linux.intel.com >=20 > https://lore.kernel.org/lkml/CA+55aFwsMuHUBQz5kDNwRf17JnasXMWjvmLq5qXGH-6= 94yeq1w@mail.gmail.com/ >=20 > And we had a report that the bug got backported: >=20 > https://lore.kernel.org/stable/20190407160005.djiw4reapwvbxmgo@debian/ >=20 > And if we're going to backport some of the fix, we should definitely > backport the whole set to avoid having the -stable kernels be in a > state that was never in any released kernel. I agree it should be all or nothing. And I may have been slightly confused. Anyway: 5b06bbcfc2c6 is fix for ca37e57bbe0cf, and that one is for "mostly harmless warning" (quoting changelog). ca37e57bbe0cf is not present in 4.4.178, I believe best solution is not to add that one in the first place, so we don't have to fix it up. Pavel --=20 DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAly1wvwACgkQMOfwapXb+vLxKQCfVrQmHdUqA4Xg4gNYlrIS2QA7 b4kAn1AGQybkO71SHNy/GRh69qnh3Qjt =gjmZ -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE--