Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2515499yba; Mon, 15 Apr 2019 13:20:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqv27YSPxX8YQ8uv7UOmsiXKZWcw3SvkYbYqkIqQAFWkO4VmM/EhwCiFnmvA/bNgWxRxoQ X-Received: by 2002:a17:902:b181:: with SMTP id s1mr69839456plr.9.1555359615788; Mon, 15 Apr 2019 13:20:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555359615; cv=none; d=google.com; s=arc-20160816; b=p5T31zZjNon3M3ejN8aNLq/QMVdSUEMAwUClaAcg5N8Gh6eoVK6ZksSJ8tY3yntbHD UC8xDe1s2hlMhL1Mum1/t7lEtmR9dbqzcUbO4KPItHkl6eivaEKcIDLxxlKv9YFEGyew AXcYMDcmCn+pQ1hqQSZImDuwT+ABt8DNclB2MzWls/SjSggnNhLB3M+aPVC+0WJV128r Aa+hUkpRqWrSbd39MAF1o4OcEy2to786AHP4brw8uCP+/mdjGrpZK2KUua0gwEXpntZf W6LhSYpnDV7BbndAi9SD1cjYhD28Mdk1O2LCJq5i59PmJSdklNAk8HSG+DUrZa5KgXCw lUDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7l+UDQQYjf30ljXPwRRK0EU1ow796mstAwb4LLHhFB8=; b=SdYj4eOqI9GpieIcEFJEtkKcdMqzaj27q7vB3+9BiFXcA0rcVXv+WwWleUkCjP2/o3 SMrTokX48NytrO/7vZr2iUswVYVXggo8JgmunLumgRi0c/9/jurzV5/1G68PCHFEAsvw OfeI3mFb0NV61jV82Hgn0oX9bWjmq9lXcvGfyCRtb2g+1vYxpePKq2c8Rrs78M6DEw7X PIAKw9CJ3HxWcn3d8NbDceCtFIl8AmxXimTSHhkeoPtpWiNp+8uPko7q0ZO0IL1zNw44 wvd2kNizaJzzDT1yzG8zxR5DPTIHNdekUUjgJihDWkGVFdIeV7rlsnItxDsEkHq26jyB kbeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=G+M4PDu4; 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 j187si28711753pge.507.2019.04.15.13.19.59; Mon, 15 Apr 2019 13:20:15 -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=G+M4PDu4; 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 S1728976AbfDOUTK (ORCPT + 99 others); Mon, 15 Apr 2019 16:19:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:37968 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728292AbfDOUTK (ORCPT ); Mon, 15 Apr 2019 16:19:10 -0400 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5817C218FF for ; Mon, 15 Apr 2019 20:19:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555359549; bh=wvktTMWEEtjKHS6GEsVhpKDC8rfR3zBfhNlN4gzQv6o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=G+M4PDu4En58IAUFetL/yyP1RRPkr9v8vyYZzcfMiKRobRYDHKUsMONecmGTCpgG7 7HkfJGSKtLwyhnGDylyeB43Pqcqd4DPWOd0Iy122R96VXe9hBn2YjyBZ0M8p+Jf7uQ +u82mlfdHk2MXceJ/WCYGc+eIzp2z8BERO2sjYEA= Received: by mail-wr1-f50.google.com with SMTP id p10so23650273wrq.1 for ; Mon, 15 Apr 2019 13:19:09 -0700 (PDT) X-Gm-Message-State: APjAAAU4FErFrzadU0VEJH13fszMjY/loFVOH15w+mVfEYq1aDG9/Iu7 Tt6epfBWlNiXSAn928Yr4OTg70g1qEUu42oRZdZSgg== X-Received: by 2002:adf:fd46:: with SMTP id h6mr50713558wrs.139.1555359547852; Mon, 15 Apr 2019 13:19:07 -0700 (PDT) MIME-Version: 1.0 References: <20190415183726.036654568@linuxfoundation.org> <20190415183727.581656002@linuxfoundation.org> <20190415200452.GA25908@amd> In-Reply-To: <20190415200452.GA25908@amd> From: Andy Lutomirski Date: Mon, 15 Apr 2019 13:18:56 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4.14 05/69] x86/power: Make restore_processor_context() sane To: Pavel Machek Cc: Greg Kroah-Hartman , LKML , stable , Jarkko Nikula , Andy Lutomirski , "Rafael J. Wysocki" , Thomas Gleixner , Borislav Petkov , Josh Poimboeuf , Peter Zijlstra , "Rafael J. Wysocki" , Zhang Rui , Ingo Molnar , Sasha Levin , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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_context(): > > > > 5b06bbcfc2c6 ("x86/power: Fix some ordering bugs in __restore_processor_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. Are you sure about that? The bug was reported by real users who had their systems really crash: https://lore.kernel.org/lkml/?q=0fede9f9-88b0-a6e7-1027-dfb2019b8ef2%40linux.intel.com https://lore.kernel.org/lkml/CA+55aFwsMuHUBQz5kDNwRf17JnasXMWjvmLq5qXGH-694yeq1w@mail.gmail.com/ And we had a report that the bug got backported: https://lore.kernel.org/stable/20190407160005.djiw4reapwvbxmgo@debian/ 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. --Andy https://lore.kernel.org/stable/20190407160005.djiw4reapwvbxmgo@debian/