From: Mar Mel Subject: Re: NOUVEAU_LEGACY_CTX_SUPPORT Fan Speed Date: Fri, 21 Jun 2019 20:28:19 +0000 (UTC) Message-ID: <2129174013.254112.1561148899599@mail.yahoo.com> References: <1119631907.971876.1560439165339.ref@mail.yahoo.com> <1119631907.971876.1560439165339@mail.yahoo.com> <495587496.1966749.1560615436420@mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0146715787==" Return-path: In-Reply-To: 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 --===============0146715787== Content-Type: multipart/alternative; boundary="----=_Part_254111_187813297.1561148899597" ------=_Part_254111_187813297.1561148899597 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks for finding this Emil! The change you point out also landed on 4.19= .49 and I am able to reproduce the fan speed issue with that kernel as well= , 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_254111_187813297.1561148899597 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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>
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.

=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 foll= owing patch perhaps?

commit cd68344b283174a9b38e9488d5a929464e1f417c
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 <i= mirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> wrote:
I don't really see anything between v5.0..v5.1 which would account for thi= s. Could have been a subtle change to the i2c logic somewhere. The fastest = way to identify the problem would be to do a bisect on the kernel to identi= fy the commit that caused this. There are many guides for this online.
On Sat, Jun 15, 2= 019 at 12:17 PM Mar Mel <marmel6942-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wro= te:
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
marmel6942-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:


As of kernel 5.1.9, on resume from suspend, = my NV50 fan runs at full speed.

Not sure if it has to do with this new config option (NOUVEAU_LEGACY_CTX_SUPPORT)?

This issue is not present using kernel 5.0.21.
<= div>
Years ago I filed a similar issue:


Thanks.=




_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
https://lists.freedesktop.org/mai= lman/listinfo/nouveau
_______________________________________________
------=_Part_254111_187813297.1561148899597-- --===============0146715787== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1 --===============0146715787==--