Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp588674lqo; Wed, 8 May 2024 08:50:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW7vXrdxR03Xpy6Q5kR0N42r0dmahfO5UqZAAURMGCJQbi5Mr1OSSuzvOh4U9lW75Pad/Luv0Z1s8WKi1WQR8rx4O6znUDdSSFZnR1Zsw== X-Google-Smtp-Source: AGHT+IFSCld+rq/rrDhFi8OLhNZoh6SFVqnLu/mENyyw+Q0RubYywVK7usJNn9SIQ3wi2JzStjgs X-Received: by 2002:a92:ca0e:0:b0:36c:4aba:10be with SMTP id e9e14a558f8ab-36caecd8abdmr36577695ab.10.1715183435624; Wed, 08 May 2024 08:50:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715183435; cv=pass; d=google.com; s=arc-20160816; b=nzqsbTR+e/9EuZRumBGtu5rSCUr5Rkq5pEXlX9TuVO1GBKXO9mqGyWcZgZb0Vd5ugf 3zNMnkD/ZxGJuribqfNONFZAJVtm+DY0qPFeYk13sOOMTsKYcwmvC97HpGSTX3IfI/al oEt984EaEx7CJX8KG9gRYpAElnxjsaFNPy2CEdL9PjBsw2PzAcsc9MHWSa3q5KFGDKsL CFmVE8WLvC17OGO6a38m3vkzkHN7t0bRjXfRCFfOyoIX68XV3BmpS7uIfnD8p6YD12oM ZLH+iDESIs9ix4LgUW2e2amEMSytcB+ZQulouWzM4kPeFhlqUGnVMBBNJmr9xuAZCvkL c9Hg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=Z0hSXrwJs04RatGvoAlABFE9l0i24ot8zqw4TJzqQz8=; fh=JakBI3JidlQFsCYa9VlEybntEgJEjI9bP8awGcqZC84=; b=XVZy5ezLXFdinC1R4YlomSoIl/V+3sQNZ/TeNee0QdY6bQjJ5BjnVlaDxdosQURGRl /nYso0V3Hz+OwWLNkHJj8a5RBbxojGzcgFzaE8Kbg0PPSr5veApMXguJ5cPuCeYT3Up9 lovx1Yc1PFqRgraM0U29E04YH0X3Bae/WCv1LrU/6ZU5ybGsGBicy6G1FozAxu2Mkxrx x+xa+UQGfSKie/JM7eCqEftYoPAru/ABXduJRRbkBm/2FrIgNc2b/f08xXz9hrkAzY55 n34UTGMdKZVLkMuOrHvirEIHv0/I603i1EmIomrAtZpFfc637yNaz/gxTgR7mYK428d0 GHWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G9yWQCUu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173509-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p23-20020a634f57000000b005f41aef11c5si382042pgl.528.2024.05.08.08.50.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 08:50:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173509-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G9yWQCUu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173509-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173509-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8086A2875DC for ; Wed, 8 May 2024 15:49:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F4B8128365; Wed, 8 May 2024 15:49:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="G9yWQCUu" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80AC71A2C05; Wed, 8 May 2024 15:49:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715183392; cv=none; b=saU1g2zaoOVSpKfGCZoq6zYnscG8+zTIsLb1yz462/SBZIPJZKIHlw/yG7w725q0I60ADa8ulf3RNTS2oc05xIHWfeQtyhDBqIMHNHIeBF8fKNu3le1eEVhyxszQgOSzfKj/WJivrj/7htvjZIv/AfG0NGAYaD1hGNv4qWdDFTU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715183392; c=relaxed/simple; bh=r5zbc1G8htKO/feOFFIuiqq8DEmaTRKGEMJpyhghid4=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=JYSUfoMchYCnVK0yBwpJUxwBXhh6syyf0+YibTokREts1SzyMJKXyyQzOO7r0Fq5DQbXRcnbW4MfwGKGQJfuzNdgr64h+iQKscN2uepkgPNebDGW38/4pVdpw1QgOMNqTmo59JngrWu5CfxgajVHNGPEqMtYHDKe9TDKZqJR5Fk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=G9yWQCUu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E77EDC113CC; Wed, 8 May 2024 15:49:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715183392; bh=r5zbc1G8htKO/feOFFIuiqq8DEmaTRKGEMJpyhghid4=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=G9yWQCUuZvJqlikdQWGQ2GpyZ8bG1ZwF0Y4YtacLg/7xIod/D9DlNODVPYmwysjR9 z8MDQWpgRekgvcxzOapXNcglceBVwR7z0kKzqFnts1+R09IK7WSeTTf9qqt3xS43OA tfYua92rJmB5MjWmpfT/mFcO3B/cBBjYpxdgfbKMyH6lyyVSseNPyty1euMEoPHVGO 2Dp2fFVHWVRL66J9kIhYX2PCeETvdNStWVs6SxWGByZJt5zNuXWfN1VBkyYYEL34jb EKWnd/Yq5oVH1Xqy8gOTFVnaK7UGBbc3Iiezh1jiMYNlO+MOeNwfUiolplHuE0i7aE mDnjPRDuojzbA== Date: Wed, 8 May 2024 10:49:50 -0500 From: Bjorn Helgaas To: Bagas Sanjaya Cc: Linux Kernel Mailing List , Linux Regressions , Linux NVMe , Bjorn Helgaas , Chaitanya Kulkarni , Christoph Hellwig , gloriouseggroll@gmail.com Subject: Re: Fwd: Regression: Kernel 6.4 rc1 and higher causes Steam Deck to fail to wake from suspend (bisected) Message-ID: <20240508154950.GA1768252@bhelgaas> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0e784280-02bb-4e0e-a5ae-4e0a40ea4c51@gmail.com> On Tue, Oct 31, 2023 at 03:21:20PM +0700, Bagas Sanjaya wrote: > Hi, > > I notice a regression report on Bugzilla [1]. Quoting from it: > > > On Kernel 6.4 rc1 and higher if you put the Steam Deck into suspend then press the power button again it will not wake up. > > > > I don't have a clue as to -why- this commit breaks wake from suspend on steam deck, but it does. Bisected to: > > > > ``` > > 1ad11eafc63ac16e667853bee4273879226d2d1b is the first bad commit > > commit 1ad11eafc63ac16e667853bee4273879226d2d1b > > Author: Bjorn Helgaas > > Date: Tue Mar 7 14:32:43 2023 -0600 > > > > nvme-pci: drop redundant pci_enable_pcie_error_reporting() > > > > pci_enable_pcie_error_reporting() enables the device to send ERR_* > > Messages. Since f26e58bf6f54 ("PCI/AER: Enable error reporting when AER is > > native"), the PCI core does this for all devices during enumeration, so the > > driver doesn't need to do it itself. > > > > Remove the redundant pci_enable_pcie_error_reporting() call from the > > driver. Also remove the corresponding pci_disable_pcie_error_reporting() > > from the driver .remove() path. > > > > Note that this only controls ERR_* Messages from the device. An ERR_* > > Message may cause the Root Port to generate an interrupt, depending on the > > AER Root Error Command register managed by the AER service driver. > > > > Signed-off-by: Bjorn Helgaas > > Reviewed-by: Chaitanya Kulkarni > > Signed-off-by: Christoph Hellwig > > > > drivers/nvme/host/pci.c | 6 +----- > > 1 file changed, 1 insertion(+), 5 deletions(-) > > ``` > > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.4.y&id=1ad11eafc63ac16e667853bee4273879226d2d1b > > > > Reverting that commit by itself on top of 6.5.9 (stable) allows it to wake from suspend properly. > > See Bugzilla for the full thread. > > Anyway, I'm adding this regression to regzbot: > > #regression introduced: 1ad11eafc63ac1 https://bugzilla.kernel.org/show_bug.cgi?id=218090 > #regression title: Steam Deck fails to wake from suspend due to pci_enable_pcie_error_reporting() removal I don't think regzbot picked this up, so trying again since this is still open: #regzbot introduced: 1ad11eafc63ac1 https://bugzilla.kernel.org/show_bug.cgi?id=218090 #regzbot title: Steam Deck fails to wake from suspend due to pci_enable_pcie_error_reporting() removal > [1]: https://bugzilla.kernel.org/show_bug.cgi?id=218090 > > -- > An old man doll... just what I always wanted! - Clara