From: Mar Mel Subject: Re: NOUVEAU_LEGACY_CTX_SUPPORT Fan Speed Date: Sat, 22 Jun 2019 12:37:52 +0000 (UTC) Message-ID: <1145494713.437238.1561207073010@mail.yahoo.com> References: <1119631907.971876.1560439165339.ref@mail.yahoo.com> <1119631907.971876.1560439165339@mail.yahoo.com> <495587496.1966749.1560615436420@mail.yahoo.com> <2129174013.254112.1561148899599@mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1432174693==" Return-path: In-Reply-To: <2129174013.254112.1561148899599-sAHhhX/85wgbqTNvkayDYw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: Ilia Mirkin , Emil Velikov Cc: nouveau List-Id: nouveau.vger.kernel.org --===============1432174693== Content-Type: multipart/alternative; boundary="----=_Part_437237_741748351.1561207073008" ------=_Part_437237_741748351.1561207073008 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I can confirm that reverting just this commit fixes the fan speed regressi= on using kernel 5.1.12. How do we go about getting this reverted from stable kernels?=20 CCing the author. On Friday, June 21, 2019, 4:28:19 PM EDT, Mar Mel wrote: =20 =20 Thanks for finding this Emil! The change you point out also landed on 4.1= 9.49 and I am able to reproduce the fan speed issue with that kernel as wel= l, whereas previous 4.19.x series kernels were fine. I'll attempt to build both the latest 4.19.x and 5.1.x stable kernels with = that patch reverted and see if it's the sole culprit. On Friday, June 21, 2019, 1:32:19 PM EDT, Emil Velikov wrote: =20 =20 Some weird interaction with disabling the i2c access, in the following pat= ch perhaps? commit cd68344b283174a9b38e9488d5a929464e1f417c Author: Lyude Paul Date: =C2=A0 Tue Apr 9 16:23:30 2019 -0400 =C2=A0 =C2=A0 drm/nouveau/i2c: Disable i2c bus access after ->fini() On Sun, 16 Jun 2019 at 15:28, Ilia Mirkin wrote: I don't really see anything between v5.0..v5.1 which would account for this= . Could have been a subtle change to the i2c logic somewhere. The fastest w= ay to identify the problem would be to do a bisect on the kernel to identif= y the commit that caused this. There are many guides for this online. On Sat, Jun 15, 2019 at 12:17 PM Mar Mel wrote: Unfortunately, even with this change now reverted in kernel 5.1.10, the fa= n speed issue persists. If someone could point me in the direction of a relevant commit(s) I'll hap= pily file a bug report. On Thursday, June 13, 2019, 11:19:25 AM EDT, Mar Mel wrote: =20 =20 As of kernel 5.1.9, on resume from suspend, my NV50 fan runs at full speed= .=20 Not sure if it has to do with this new config option (NOUVEAU_LEGACY_CTX_SU= PPORT)? This issue is not present using kernel 5.0.21. Years ago I filed a similar issue: 60704 =E2=80=93 [nouveau, git regression] - I2C PWM fan control broken on n= v50 adt7475 on kernels 3.3.x+ Thanks. |=20 |=20 | |=20 60704 =E2=80=93 [nouveau, git regression] - I2C PWM fan control broken on n= v50 a... | | | _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org https://lists.freedesktop.org/mailman/listinfo/nouveau _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org https://lists.freedesktop.org/mailman/listinfo/nouveau =20 ------=_Part_437237_741748351.1561207073008 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I can confirm that reverting just this commit fixes the fan sp= eed regression using kernel 5.1.12.

How do we go a= bout getting this reverted from stable kernels?

CCing the author.

=20
=20
On Friday, June 21, 2019, 4:28:19 PM EDT, Mar Mel <m= armel6942-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:


Thanks for finding this Emil! The change you point out also la= nded on 4.19.49 and I am able to reproduce the fan speed issue with that ke= rnel as well, whereas previous 4.19.x series kernels were fine.
<= br clear=3D"none">
I'll attempt to build both the latest 4.19.x a= nd 5.1.x stable kernels with that patch reverted and see if it's the sole c= ulprit.

=20
=20
On Friday, June 21, 2019, 1:32:19 PM EDT, Emil Velikov = <emil.l.velikov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:


Some weird interaction with disabling the= i2c access, in the following patch perhaps?

commit cd68344b283174a9b38e9488d5a929464e= 1f417c
Author: Lyude Paul <lyude-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org= >
Date:   Tue Apr 9 16:23:30 2019 -0400

    drm/nouveau/i2c: Disable i2c = bus access after ->fini()

On Sun, 16 Jun 2019 at 15:28, Ilia Mirkin <imirk= in-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> wrote:
I don't really see anything between v5.0..v5.1 which w= ould account for this. Could have been a subtle change to the i2c logic som= ewhere. The fastest way to identify the problem would be to do a bisect on = the kernel to identify the commit that caused this. There are many guides f= or this online.

On Sat, Jun 15, 2019 at = 12:17 PM Mar Mel <marmel6942-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:
Unfortunately, even with this change now reverted in kernel 5.= 1.10, the fan speed issue persists.

If someone could point me in the direction of a relevant commit(s) I'll ha= ppily file a bug report.

=20