🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #5895

Bug#1146033: [PATCH] Revert "nouveau: pci: quiesce GPU on shutdown"

#5895
From: ole.carlsen
Date: Tue, 24 Nov 2026 08:30
71 lines
6374 bytes
On Mon, 23 Nov 2026 17:36:26 +0100 Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= 
<ukleinek@debian.org> wrote:
 > 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
 >

hi, i really would like to help but i'm simply not familiar with how to 
patch files and i also would need to know which build i should  to 
reference to (checkout 7.x.x)

--
Ole
Technical Details
Message-ID: <O2U4y-dQjx-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <O2Ffb-dHzf-21@gated-at.bofh.it> <O2Ffb-dHzf-3@gated-at.bofh.it> <O2Ffb-dHzf-3@gated-at.bofh.it> <NxotX-dWLB-5@gated-at.bofh.it> <O2Ffb-dHzf-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: ole.carlsen@tutamail.com
Newsgroups: linux.debian.bugs.dist,linux.debian.kernel
Subject: Bug#1146033: [PATCH] Revert "nouveau: pci: quiesce GPU on shutdown"
Date: Tue, 24 Nov 2026 09:30:02 +0100
Message-ID: <O2U4y-dQjx-5@gated-at.bofh.it>
References: <O2Ffb-dHzf-21@gated-at.bofh.it> <O2Ffb-dHzf-3@gated-at.bofh.it> <O2Ffb-dHzf-3@gated-at.bofh.it> <NxotX-dWLB-5@gated-at.bofh.it> <O2Ffb-dHzf-3@gated-at.bofh.it>
X-Original-To: 1146033@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Tue Nov 24 08:27:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: ole.carlsen@tutamail.com, 1146033@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-kernel@lists.debian.org
X-Debian-Pr-Message: followup 1146033
X-Debian-Pr-Package: src:linux
X-Debian-Pr-Keywords: upstream
X-Debian-Pr-Source: linux
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Get-Message-Sender-Via: whm03.yayhosting.dk: authenticated_id: ole@carlsen-web.dk
X-Authenticated-Sender: whm03.yayhosting.dk: ole@carlsen-web.dk
X-Originating-IP: 195.242.131.29
X-Spamexperts-Domain: smtp1.yayhosting.dk
X-Spamexperts-Username: 195.242.131.29
Authentication-Results: spamfri.dk; auth=pass smtp.auth=195.242.131.29@smtp1.yayhosting.dk
X-Spamexperts-Outgoing-Class: ham
X-Spamexperts-Outgoing-Evidence: Combined (0.05)
X-Recommended-Action: accept
X-Filter-ID: 9kzQTOBWQUFZTohSKvQbgI7ZDo5ubYELi59AwcWUnuVdV/Idco1+hj3bmpDtUtKERL4+RY838tnl
 pVbodJTUBSu2SmbhJN1U9FKs8X3+Nt0Ne5oMpk/N8UfeBdXBgE7pytSROFNKERvL1WpfqT7tOVlv
 AqzwkCViFZF9kFJCk5SQ3GPo/2jLNX0FlGG83XvHm4o6+OOHG41bxJ7WNm9w/bHsMNslPCFjpAg9
 IRecn+1GBJ86iz33Qh+Mzy03o7NoihvvnqgLhQpTB3GZvTtWEhJ0kS9aLmWk9Ci/w3KzvJ9hRfnk
 qEMtEnYRUdYXWUcP10JiByCvzfnJWMpBkDqEkgO+ILdrN8Wu8lCeyfoB8x9LCxe/kHASpASB4Jqm
 OHLQ7yqeeI5+Rl7EMeeJ/dab4KYkKPorzaj90qQygCBize8wRgK7hFrEvko1iVAUP+TldbGO3S9t
 z7nbnNxRWEQ3kAdvWVe/Q4mXPvgCQTlRFw1UXD7036SCGN+yf9WCXlXIi8X8e29RNo3YQj5p8zsV
 1to605hwxyp5NdIXD+C4Y74gr/U0flMcy2Vi/IcBgY4aprZ+Lk129dsUj/YiBp8S0roCC3jYVEiC
 pY7smZFInX+2hqhBsdscWoVOINOq4IOJB+3hp9FaeTQPSTTZdV8Y1aOJIJOPxbnrIAwvu7zRPb8h
 XhE4A5dz8Cr1wh5Q5fzsrW9/eYaHDeCvltC2Xs97Vl9S6sAvz7hplciNW+Y4PH+BYMnJCEa9PzH7
 xmvIXqwZlHz8jAF7JZuEtPRZWl9vywX36ZGRAOgaC+O+addWVzdy7NaKuk3gK62rTpnngIGd4EsI
 2ZxNJhGkJ5RK578bymbjO41FyBEqIaDudcVplPFx7pn/GUaq0EiYLYNuTR89d6od/k3E2oiP7EEl
 2ysMjibyFTl91+BC/2FnGmOwq7o/Ej2K7pxY83enJZPI5t7O3jR5NeVaJQBh0uawl0Cg8oU/sO1H
 9qu734UnHAOV3M9qkk7j93SeYAnbmHvuiyenpU29jDGHYqVOno55t/CiFnoxB4y9w1k2MIz13n8m
 Ou8=
X-Report-Abuse-To: spam@mx1.spamfri.dk
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2004630
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 71
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 24 Nov 2026 09:25:02 +0100
X-Original-Message-ID: <fd6d6c90-81a5-4cd6-a22b-66adb83b0bba@tutamail.com>
X-Original-References: <20261025213027.842978-1-marex@nabladev.com> <awRoqijawLNEkKEE@monoceros> <awRoqijawLNEkKEE@monoceros> <178799847899.2859.5297711830353292990.reportbug@TWIKE3> <awRoqijawLNEkKEE@monoceros>
X-Original-X-Complaints-To: abuse@mx1.spamfri.dk