Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp222849rdb; Fri, 5 Jan 2024 07:51:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFefeKddBmWs6qOprv54a2seVl9wnbkQIFYySv2fPPlxnPbb/sOKcKdk6xToKhtWfIhbHAG X-Received: by 2002:a05:6a20:da8d:b0:196:690f:b49a with SMTP id iy13-20020a056a20da8d00b00196690fb49amr2097489pzb.104.1704469877815; Fri, 05 Jan 2024 07:51:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704469877; cv=none; d=google.com; s=arc-20160816; b=Petrl0klIzQ/qZonlczpOv+xEBtk5nyo72CLGE9rP482HntDlJwHIWDNjA4rKglbzA nu3lERMsf01yqYkv0MfBi+1naiAMvJF79WJsqkLubYsHZ7Z0yR+Rcz/YqK5ZMjeNVkTC HQLREkaPb7vm5+Vguh9IberQw5Wd0ZZKdj3P0aYHMUiGu+zOYpgTK5evxsiNariQphFi UJdKWAruKLy2ghUnTsN5jzKiD3rbF7WAdjUkTArLwRwuwItCy9u5rvy0/8LAMEdc4rdR NJmkxRJ33/rWrkOlEi3bO660bJgtdQH8TeJ2aAk85f/mv1Xams1kIKfgIa14qCetcj2B 2Auw== ARC-Message-Signature: i=1; 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=MQmabTaukK4aLMWpcNjFiwpSZ94rytHxPfPvQzqmOg8=; fh=cFo4OuesXpbNb7K5wtpJyjlCU4Ir2mZA5wqFbiNwka0=; b=XK11Jwrezi7DYhBzXmLTnqeDx0VW9l6dF5F7IeTzeaMlcMGw/w1qVJfkyYDZFmcP8D Gl5aHd4+1qVbvFPYo9tEvSNwnFhymIWJOiYeMJ1QSli9eM6C6tZDhKrZT/maQq5WmnP+ 0expBCJATx64bhC9mRrPiYfeUx/LHnHOBRnj7H0q+oL4B5KNZTs7/zHYtyqGLnq0AP2P rjiLTdZK1EWYPFTL3A2MoSDbP9FFJfzL2wm+HDCLy9PYVxZ6ghoSoMXD7X7Q9q0MLXWc hKByCZkOZu2sH28nha2FdNnSbF4blc3aDy/RkcLd2TgJeorvUJapabNYyy3c21r0yq20 jUUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uLhiE6Mf; spf=pass (google.com: domain of linux-kernel+bounces-18013-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b73-20020a63344c000000b005ced2a6b8absi1515866pga.99.2024.01.05.07.51.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Jan 2024 07:51:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18013-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uLhiE6Mf; spf=pass (google.com: domain of linux-kernel+bounces-18013-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18013-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 778EFB23383 for ; Fri, 5 Jan 2024 15:51:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3CCC12E40E; Fri, 5 Jan 2024 15:51:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uLhiE6Mf" X-Original-To: linux-kernel@vger.kernel.org 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 6EF262E634; Fri, 5 Jan 2024 15:51:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACBD1C433CA; Fri, 5 Jan 2024 15:51:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704469862; bh=n231lDFtC1PQZJ6m2SX0PpmC/fNZapwiRnhDq0AcIcc=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=uLhiE6MfNuVf6SHhUxaQVY2mw+jq0fPsfzb6nmD7w/qPgUasARdwHMR6wWizw4IFB UN4o7prHaliVIhiQLo0n0ZVhiEqxbl+DppSYDdtRZVsHypb2FVmMzolmzpnB7r+3c8 4xO+APtPR8i/f9XWAlY39TzDghGimHZGMo+KtDYIT0aKCJQKxEzbyU4sM8cX0Nmo6X 5MwrVWlUtu+cuzKUTXq6iDDDxVcwVAJe4BRJPXCOjo8NNfmglq2cH/Rvh6p9FSq78P S6gvMIZzrWfzq1bcgZt1rmg/GGEsHdbMfWIbKEMFecMY6FN+RhTBqVNzSYT3Snjgx6 fOVxmkZShRH2g== Date: Fri, 5 Jan 2024 09:51:00 -0600 From: Bjorn Helgaas To: Michael Schaller Cc: Kai-Heng Feng , bhelgaas@google.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, regressions@lists.linux.dev, macro@orcam.me.uk, ajayagarwal@google.com, sathyanarayanan.kuppuswamy@linux.intel.com, gregkh@linuxfoundation.org, hkallweit1@gmail.com, michael.a.bottini@linux.intel.com, johan+linaro@kernel.org Subject: Re: [Regression] [PCI/ASPM] [ASUS PN51] Reboot on resume attempt (bisect done; commit found) Message-ID: <20240105155100.GA1861423@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: <954f0b86-dd9e-4d84-8d67-fba7e80bc94e@5challer.de> On Fri, Jan 05, 2024 at 12:18:32PM +0100, Michael Schaller wrote: > On 05.01.24 04:25, Kai-Heng Feng wrote: > > Just wondering, does `echo 0 > /sys/power/pm_asysnc` help? > > Yes, `echo 0 | sudo tee /sys/power/pm_async` does indeed also result in a > working resume. I've tested this on kernel 6.6.9 (which still has commit > 08d0cc5f3426). I've also attached the relevant dmesg output of the > suspend/resume cycle in case this helps. Thanks for testing that! > Furthermore does this mean that commit 08d0cc5f3426 isn't at fault but > rather that we are dealing with a timing issue? PCI does have a few software timing requirements, mostly related to reset and power state (D0/D3cold). ASPM has some timing parameters, too, but I think they're all requirements on the hardware, not on software. Adding an arbitrary delay anywhere shouldn't break anything, and other than those few required situations, it shouldn't fix anything either. Bjorn