From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 1320737186F for ; Wed, 1 Jul 2026 18:05:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782929113; cv=none; b=eS7BzYApYKB9k+jRwOgNNpRqVDYJ6kYL/0R06P7sRQKVGfFv3ST+1Q+p15f6+1FqupDODnkKEuC7ranWl/uTZAxH6dVJ8hX6BJc37mob37qigwlyTTMeV5aK8akSOwbezv6gvBW22kL397viULvf1Rdo70fDZaRXaDLkQ2SSMpA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782929113; c=relaxed/simple; bh=OODTaDnvsDCSyQDqhi+9lLSiHjNYGjnSHMMEy2JQgew=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=uPpEHn25QRdNMcUUKy8Cx4rXPZNpQUJQLeoy+42WFqHIodCsL+UzMPiiyPRWFbyWrrjw0xTuit8NlsIUsexLfQIedHc4ZRBLS1WOuXdIH6WZb2gvuNie6h8ntOzEwCImAjCEksZYBg67L3eA6x2Y6+2gGp1k+Uq7OJoyXAGMCp4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=aQ42iYJa; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=LcwJt6h/; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="aQ42iYJa"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="LcwJt6h/" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1782929110; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=OODTaDnvsDCSyQDqhi+9lLSiHjNYGjnSHMMEy2JQgew=; b=aQ42iYJasLORRPAlrHV5QyFx9GLSVqs96Ungg/W2MtrCIqfkkdqfy243KE5wbvyVhdgOFV YgJ6Vn1zIxlGh1GRBOO6MZOB0VEvuGjd4BJI3U4giPpTGBy69D0oLl1l9e1stEl7RWbwin LyC552+fHxufV3P9yUhTZo5e8+zS8cw= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-50-ZL4Z0w9RM4ikXT9zekfwMg-1; Wed, 01 Jul 2026 14:05:09 -0400 X-MC-Unique: ZL4Z0w9RM4ikXT9zekfwMg-1 X-Mimecast-MFC-AGG-ID: ZL4Z0w9RM4ikXT9zekfwMg_1782929109 Received: by mail-ua1-f70.google.com with SMTP id a1e0cc1a2514c-9692ca167ddso90693241.2 for ; Wed, 01 Jul 2026 11:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1782929109; x=1783533909; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=OODTaDnvsDCSyQDqhi+9lLSiHjNYGjnSHMMEy2JQgew=; b=LcwJt6h/2qo5jERtadcJCKfGjHEhjtCf/+T27LX/q3/TtfLLjmVgOIjIbc/fUPA0dX UN309Aupo187dPlJzwZns/e2Hthtg6q4F5DEp2Rzj46JXOz1SIxt4Ri8VJxjDv6Gxvci HRpnV/Y0INyCUNzzzmWSvO6pflvNKaQPEvH9Ic81Lt0mJ/hG/7kHNuznOSBK7tY/w0JC pZItUgxQ58Qc/4ay74C4ZP44FZUfbEqpLe733TDYSCBaSEzPc4/wfZXoX1kui0KsNQjq O98zUiPoyqrkvTJLN+wxVDQYw1hK0/yHEbID3GVnbrio3QsEzCB5e4TBYoxBXYuN1xyG 05eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782929109; x=1783533909; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OODTaDnvsDCSyQDqhi+9lLSiHjNYGjnSHMMEy2JQgew=; b=hzZ07m3T+zct7vcynWEBBJ8iyogfvzF79GlzzkKv1mJba66mAlFyj+8P32Z+b91/Hy 1+lfVmeQfrEe+NtVTqT/+O+loEcHqCLBzdEI7OFOG6op97+gOhC4VXg5ThgjR3NUkFlJ Ku38OjcjXiuDI3D6kUJdaUycvxVoIqi+b6bJ+vrwaCRx5v9PZteP8RAZkd5s4lJdLgu3 WH6dyPqAEibAymAgo8LTKEkzZ3ud3x+a0JddIFd5IwrjIZB9zUuLHRWCE6JpLkC72VSU h3wU9vQcTrEaSQz5eph1d5WvV7kAxaFc7QXbkn/fd57BRs1/Mz76HivBhblddCwrJvtD OHNQ== X-Forwarded-Encrypted: i=1; AHgh+Rp5fJBSsGJUtgJ03VMBb82SEPZJPk9SF1aLAfegAJuHFFo0eI/iJEWFsJV/zUVs50EVYhiOvNO5965zgus=@vger.kernel.org X-Gm-Message-State: AOJu0Ywa2tYszEnvWL8tfJ11kCrFztJBMn0bm6BBkEcyfwAQyxKldmcu piNoXGObMTF+ItLSOUnA7fYgRH3k26J5mg4E+XEEwR+OtWTrpDpcnvo+INYMyTfwCUQLQ4KeVGw cLTNr/ItpoxPRn11FkvLNkJ5NkCBiyd/JGIfgCH7D9KuzH6yvkkLSsmLuEN+0UwZaDQ== X-Gm-Gg: AfdE7cnVdv9wic+xNgq+rlgOWdxNRoxdukPq5pS9U3vV5Z5cmSFjr4rhIQaPborpKuQ 2yTTdaAAR4Y7NZiMBN45i6MBefO8WsRmACiXodTpmGJbVf0/qTsU7nsIo3Hi9ajBiP5fOGFT4NL b1hz59oKgZxYVzg4gDmBvoxnm3c1zVzcRQY6jQ01imugraKTGRqSfhr780mpDo0o71mVXoXYtdd TnwykEBvFRWUFyMo3Q+v7MmairCrnl4N/Z6elYeUUAvI7st64u2qxMrp0T2HyUx4pNyMkGOYeDS AUnymDOJnnDLtxRkBepDPvx7TLOux9Y8boH9u18ZtQ6cyPjAlEloRDEBr5xQnphLQ9CoV3zYzZ1 HeGfmqLM= X-Received: by 2002:a05:6102:161e:b0:739:8c52:f2b with SMTP id ada2fe7eead31-73dab0e55b1mr1293963137.18.1782929109000; Wed, 01 Jul 2026 11:05:09 -0700 (PDT) X-Received: by 2002:a05:6102:161e:b0:739:8c52:f2b with SMTP id ada2fe7eead31-73dab0e55b1mr1293859137.18.1782929108349; Wed, 01 Jul 2026 11:05:08 -0700 (PDT) Received: from [192.168.8.4] ([100.0.180.93]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8f46e371bdfsm3587256d6.1.2026.07.01.11.05.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2026 11:05:07 -0700 (PDT) Message-ID: Subject: Re: [PATCH v2 0/4] drm/nouveau/gsp/r570: Fix runtime PM From: lyude@redhat.com To: Andy Shevchenko 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 Date: Wed, 01 Jul 2026 14:05:06 -0400 In-Reply-To: References: <20260629224350.2870201-1-lyude@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.58.3 (3.58.3-1.fc43) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 I forgot to link to the previous series: https://patchwork.freedesktop.org/series/169227/ I also thought i hadn't sent a cover letter for it, but apparently I did - I would have reused that if I realized, whoops. Regardless: I'll be sending out a V3 today, since after doing a lot of testing I came to the conclusion we should drop the change from LEVEL_3 to LEVEL_4 but keep pretty much everything else for now. On Tue, 2026-06-30 at 14:50 +0300, Andy Shevchenko wrote: > 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. > >=20 > > 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. > >=20 > > Tested on a Lenovo P16 G1 (100 runtime PM cycles!), and RTX4000. >=20 > This is v2, and no changelog. What's going on?