Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1351895pxb; Fri, 22 Jan 2021 13:32:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzU39Oi0+zMm3n8bCL+Xjva9BsZGYtyJSyhRyLY4Mpwnp5Y8Pd0m+ahU2Bhw9SOE6R1oLd7 X-Received: by 2002:a05:6402:1549:: with SMTP id p9mr4819473edx.387.1611351133238; Fri, 22 Jan 2021 13:32:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611351133; cv=none; d=google.com; s=arc-20160816; b=cX8Gg0cMcVx+pIkn03AtUQLsApzscsfQS3LbXEy328W4Vl/W5B3FxPljD5twUSZiSA c0LOtQsvu0jL7tb5J4o3aYirUGBS/6KNeMxmo3fFpgeBRzTFjrbQVwvB9mUXQvguMWua 0bAX4H2SRU0E/FHv1foOfOu2DEa+DcrwjdGvz2B5MPQRNFCfXu5lYHVoWqx5zfAElsKL fcRqEqVt6c0CnDcFkoYhwz4QiLhDPaPJxqctlsdhQ+X/8zAePYm4vb3EZOEmLllq24FO 6A3H35Ri6vFzgcBFpW1LiYqj8n71dYsXxtsmpastAyvOxgcKRPAsJFeIfFpxNXzlx8k2 zI0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:reply-to:from:date:dkim-signature; bh=av5zg+49FZi8s7m/hwcm8LncrwDtt9POxWCPQVQfUjQ=; b=VKTPqhoUJoeOqJkX9A4oUy7gPgSoSEsiUJ3eQ69EHQBNk7f2apehCriM96VL9lZ2H1 PMBkPA/IcyC+YeYZGvoj8lyl9eBcEzKSt2KsX+Yy5TKBNtzE6NTgDfMaQMqtemyCSl5j 8YTufzU3yToHvQJVEfG72TWtHfip9Ki5TE+csqFSjoPEieGpkLdtyfRdpKmxmpBai7Qq PuujTeuFgbQmX0cZ0h2Gw+Vy7r/hSVqdC3WRq7vHxJ1UGqpVQCuzdtE5PC9Jnvt4+z6R vRnqJuq0nXd8ccL0w9FEvuHVOgu6tE6h+3Y4HS/x6qGfGF7x3GBrsdfaK0HpKhs1dk7i CbYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@panix.com header.s=panix header.b=kvu5oBL8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cs10si3331189ejc.200.2021.01.22.13.31.49; Fri, 22 Jan 2021 13:32:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@panix.com header.s=panix header.b=kvu5oBL8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728531AbhAVVat (ORCPT + 99 others); Fri, 22 Jan 2021 16:30:49 -0500 Received: from mailbackend.panix.com ([166.84.1.89]:29390 "EHLO mailbackend.panix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730948AbhAVUL7 (ORCPT ); Fri, 22 Jan 2021 15:11:59 -0500 Received: from xps-7390 (unknown [172.58.172.248]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4DMr4F58VMzPkQ; Fri, 22 Jan 2021 15:11:09 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=panix.com; s=panix; t=1611346270; bh=f9Z+x3/4G/BuKC+VE3eAdur1W1Sy+IC+m8mfccnT14o=; h=Date:From:Reply-To:To:cc:Subject:In-Reply-To:References; b=kvu5oBL8cJUh/DOaT4hlGdwX1X/9Tu53Dqpv24Wkwqp9CKuHI5iekhtp6dWGeNoKx iIZnf8KvSKyukuh3j3/07jehKPc4VGBFBx4uvwUDhBAOXDayLLX97j58LZRzkZeneT bc89MJaUCvkXrptrZnFw8+eVt3nWFW/53DXk76Us= Date: Fri, 22 Jan 2021 12:11:08 -0800 (PST) From: "Kenneth R. Crudup" Reply-To: "Kenneth R. Crudup" To: Bjorn Helgaas cc: Vidya Sagar , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Commit 4257f7e0 ("PCI/ASPM: Save/restore L1SS Capability for suspend/resume") causing hibernate resume failures In-Reply-To: <20201228040513.GA611645@bjorn-Precision-5520> Message-ID: <2563ba4a-81bc-d27-2670-cae48690db5e@panix.com> References: <20201228040513.GA611645@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > From: Kenneth R. Crudup > > I've been running Linus' master branch on my laptop (Dell XPS 13 > > 2-in-1). With this commit in place, after resuming from hibernate > > my machine is essentially useless, with a torrent of disk I/O errors > > on my NVMe device (at least, and possibly other devices affected) > > until a reboot. > > > > I do use tlp to set the PCIe ASPM to "performance" on AC and > > "powersupersave" on battery. On Sun, 27 Dec 2020, Bjorn Helgaas wrote: > Thanks a lot for the report, and sorry for the breakage. > 4257f7e008ea restores PCI_L1SS_CTL1, then PCI_L1SS_CTL2. I think it > should do those in the reverse order, since the Enable bits are in > PCI_L1SS_CTL1. It also restores L1SS state (potentially enabling > L1.x) before we restore the PCIe Capability (potentially enabling ASPM > as a whole). Those probably should also be in the other order. Any new news on this? Disabling "tlp" (which just shifts the problem around on my machine) shouldn't be a solution for this issue. I'd thought it may have been tied to some of the PM regressions of the last week of December, but all of those have been fixed but this still remains. Thanks, -Kenny -- Kenneth R. Crudup Sr. SW Engineer, Scott County Consulting, Orange County CA