From: "Uwe Kleine-König" <ukleinek@debian.org>
To: Li Chen <me@linux.beauty>, Dave Airlie <airlied@redhat.com>
Cc: Marek Vasut <marex@nabladev.com>,
dri-devel@lists.freedesktop.org,
Danilo Krummrich <dakr@kernel.org>,
David Airlie <airlied@gmail.com>, Lyude Paul <lyude@redhat.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Ole Carlsen <ole.carlsen@tutamail.com>,
Simona Vetter <simona@ffwll.ch>,
Thomas Zimmermann <tzimmermann@suse.de>,
linux-kernel@vger.kernel.org, 1146033@bugs.debian.org
Subject: Re: [PATCH] Revert "nouveau: pci: quiesce GPU on shutdown"
Date: Mon, 23 Nov 2026 17:36:26 +0100 [thread overview]
Message-ID: <awRoqijawLNEkKEE@monoceros> (raw)
In-Reply-To: <20261025213027.842978-1-marex@nabladev.com>
[-- Attachment #1: Type: text/plain, Size: 2495 bytes --]
Control: forwarded 1146033 https://lore.kernel.org/20261025213027.842978-1-marex@nabladev.com
#regzbot ^introduced: 310326bb7df4bba094a3fc60364c641c547fd923
Hello,
On Sun, Oct 25, 2026 at 10:30:06PM +0100, Marek Vasut wrote:
> This reverts commit 310326bb7df4bba094a3fc60364c641c547fd923.
>
> This breaks shutdown on ThinkPad W510, without the offending commit
> the system normally powers off, with the offending commit the system
> ends up spinning indefinitely and the CPU fan goes full throttle on
> shutdown.
>
> The behavior was already reported in debian bugtracker multiple times
> for various other computers too, and git bisect lands as this commit.
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141969
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146033
>
> I tested the revert with Linux 7.2.12 from debian unstable, not next
> or drm trees, mainly because it was easier with debian test-patches
> script on that machine.
>
> Signed-off-by: Marek Vasut <marex@nabladev.com>
Quoting the documentation:
Try to fix regressions quickly once the culprit has been identified;
fixes for most regressions should be merged within two weeks.
In the meantime this report is more than 4 weeks old with no signal that
someone looks into it. :-\
Can someone with the problem test the following patch please?:
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c
index 30311688618c..fd3518d4407e 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drm.c
+++ b/drivers/gpu/drm/nouveau/nouveau_drm.c
@@ -1111,19 +1111,6 @@ nouveau_drm_shutdown(struct pci_dev *pdev)
ret = nouveau_do_suspend(drm, false);
if (ret)
NV_ERROR(drm, "shutdown suspend failed with: %d\n", ret);
-
- pci_save_state(pdev);
- pci_disable_device(pdev);
- pci_set_power_state(pdev, PCI_D3hot);
- /*
- * This is just to give the pci power transition time to settle
- * before an immediate kexec jump. it’s mirroring the existing
- * nouveau_pmops_suspend() behavior, which already does
- * udelay(200) right after pci_set_power_state(..., pci_d3hot). In
- * ->shutdown() we’re allowed to sleep, so I used usleep_range()
- * instead of a busy-wait udelay().
- */
- usleep_range(200, 400);
}
static int
Bonus points to bisect further in that function (that is, readd lines if
the above patch fixes the issue or remove further lines from the end if
it doesn't).
Best regards
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
prev parent reply other threads:[~2026-11-23 16:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-25 21:30 Marek Vasut
2026-11-14 16:20 ` Uwe Kleine-König
2026-11-14 16:37 ` Marek Vasut
2026-11-23 16:36 ` Uwe Kleine-König [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awRoqijawLNEkKEE@monoceros \
--to=ukleinek@debian.org \
--cc=1146033@bugs.debian.org \
--cc=airlied@gmail.com \
--cc=airlied@redhat.com \
--cc=dakr@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lyude@redhat.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marex@nabladev.com \
--cc=me@linux.beauty \
--cc=mripard@kernel.org \
--cc=ole.carlsen@tutamail.com \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®