From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (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 116AE40682A for ; Tue, 30 Jun 2026 11:50:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.20 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782820237; cv=none; b=XX7AjbXWp5/z0lrbmPH1rC8ySxQImwB23q9/Q1iicqxWXSED1IcvzLn3tb4OMMk7xrI9pv8YorgZFoM08dYNLwlMf/z0htqbNryO6nSJovO1kAwQBm1EXiGc17dgzz8V6FUDc54l9MIOAvikU0X4QQBxF4Tm4BTD9SCbkVdHbzc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782820237; c=relaxed/simple; bh=Q62f07SbwkgKGBg+I3Ip6MjJhwO1ctHYM8PsIAqG6fA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=U8QzbeJFVjkAx8e2HU6z8K2v9OR9ockB6N3/o7GE00F9ZD2eUza3cw0X80n2sxkrKD/+NfI9hCfChOH3WRYq/Tu+0TtERH+8YPwN7rTZwhh1inH1bRHLZ560WN44uqPVaM4DGRolOxoJJYJ6R/mFER04S4aL9bYcCP+RdRqQoNQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=PdrJTnYm; arc=none smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="PdrJTnYm" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1782820236; x=1814356236; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Q62f07SbwkgKGBg+I3Ip6MjJhwO1ctHYM8PsIAqG6fA=; b=PdrJTnYmQxDvmKhkjhzToMjjyOf8Jjo2TRfudDsotaNaeXj4yvsD3OSF 8oRODnHADSfDnyzklor321kQa2ioq4biwxUooT4s0CWdrjuQp4fIYpWs4 Efd+pAra8xLzsg1CnxTgap2kzRiiZQeiCTr1LY/Q2YG9rSoVCsRM59sdY e9uWjNpwoKisIDO5Sh0EnRV9W9QnRNWo5pZ6xAMGVEt7amlDRqba8ELOU b4QNWjLmpj2Ch1romgxOeGwIyyEWGas+JupyX/BcYx6+d+LEb1bvZprpQ 6JaGuuZq6bR335/wwVkQ35NxOVsSVG0ppJZKbTCAu6mjjaFb09n+mTrEh g==; X-CSE-ConnectionGUID: ATXIKDnYRWOMMycAUCymJA== X-CSE-MsgGUID: j3KmT+o3QT6kH+xuKzGldg== X-IronPort-AV: E=McAfee;i="6800,10657,11832"; a="83307021" X-IronPort-AV: E=Sophos;i="6.24,233,1774335600"; d="scan'208";a="83307021" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2026 04:50:35 -0700 X-CSE-ConnectionGUID: jT0KX4JNRZy9+wdOUWGUVw== X-CSE-MsgGUID: TLe8MUBAQRWusE0sQDirjg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,233,1774335600"; d="scan'208";a="248263524" Received: from kniemiec-mobl1.ger.corp.intel.com (HELO localhost) ([10.245.245.96]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2026 04:50:31 -0700 Date: Tue, 30 Jun 2026 14:50:28 +0300 From: Andy Shevchenko To: Lyude Paul Cc: nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Timur Tabi , Dave Airlie , Maarten Lankhorst , Ben Skeggs , Kees Cook , Simona Vetter , David Airlie , Thomas Zimmermann , Maxime Ripard , Mel Henning , Danilo Krummrich Subject: Re: [PATCH v2 0/4] drm/nouveau/gsp/r570: Fix runtime PM Message-ID: References: <20260629224350.2870201-1-lyude@redhat.com> 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: <20260629224350.2870201-1-lyude@redhat.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Mon, Jun 29, 2026 at 06:42:32PM -0400, Lyude Paul wrote: > Runtime PM has been kind of unreliable with GSP for a while. It works > well enough to shut the GPU off and turn it back on, but more often then > not it ends up leaving the GPU in a broken state on resume - which makes > it impossible to really do anything else with it. > > Recently however, I discovered that it's been failing much harder on > some ampere systems. This lead me down a rabbit hole that lead me to > figure out one of our previous fixes for runtime PM wasn't correct. > After fixing that and combining it with some fixes we had tried in the > past without success, I finally managed to get nouveau to handle runtime > PM with the GSP perfectly. These are those fixes. > > Tested on a Lenovo P16 G1 (100 runtime PM cycles!), and RTX4000. This is v2, and no changelog. What's going on? -- With Best Regards, Andy Shevchenko