From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 92961] Xorg freezes (only mouse and ssh are still
working)
Date: Sun, 02 Dec 2018 23:25:13 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0396836175=="
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: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
List-Id: nouveau.vger.kernel.org
--===============0396836175==
Content-Type: multipart/alternative; boundary="15437931131.77F8C2b.26355"
Content-Transfer-Encoding: 7bit
--15437931131.77F8C2b.26355
Date: Sun, 2 Dec 2018 23:25:13 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D92961
--- Comment #20 from Ilia Mirkin ---
(In reply to Nic Soud=C3=A9e from comment #19)
> Created attachment 142692 [details] [review]
> Handle INTR 0x00800000 in gf100_fifo_intr
>=20
> Attached is a patch I applied to kernel 4.19.5 to desperately thwart my D=
ELL
> E6420 from randomly getting its video busted (very similar symptons as
> Comment #3 of this ticket, and is why I'm posting here). I don't have any
> experience with such low-level programming but I just pretended I knew wh=
at
> I was doing and cut and pasted a condition for that INTR 0x00800000 error
> which pops up every time that catastrophic random event happens.
>=20
> So far, my E6420 is working great despite receiving some of those INTRs,
> thanks to this patch. I am posting this in hopes it might be on the right
> track towards getting this fixed by someone who knows what they're doing.=
..
That's a little surprising. The existing logic will mask out further interr=
upts
by writing a 0 into the relevant bit of 2140 (which is the INTR_EN register,
which controls which intr's get surfaced).
Your logic removes that, which means that you'll keep getting the unknown
intr's, and also you add a read from 258c. That's unlikely to matter though.
However now if we *do* ever get an interrupt for that bit in 2100 after
disabling the bit in 2140, then it'll be stuck forever. I suspect that the =
"&
mask" should be removed at the beginning of that function [and thus the read
from 2140].
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15437931131.77F8C2b.26355
Date: Sun, 2 Dec 2018 23:25:13 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Commen=
t # 20
on bug 92961<=
/a>
from Ilia Mirkin
(In reply to Nic Soud=C3=A9e from comment #19)
> Created attachment 142692 [de=
tails] [review] [review]
> Handle INTR 0x00800000 in gf100_fifo_intr
>=20
> Attached is a patch I applied to kernel 4.19.5 to desperately thwart m=
y DELL
> E6420 from randomly getting its video busted (very similar symptons as
> Comment #3 of this ticket, =
and is why I'm posting here). I don't have any
> experience with such low-level programming but I just pretended I knew=
what
> I was doing and cut and pasted a condition for that INTR 0x00800000 er=
ror
> which pops up every time that catastrophic random event happens.
>=20
> So far, my E6420 is working great despite receiving some of those INTR=
s,
> thanks to this patch. I am posting this in hopes it might be on the ri=
ght
> track towards getting this fixed by someone who knows what they're doi=
ng...
That's a little surprising. The existing logic will mask out further interr=
upts
by writing a 0 into the relevant bit of 2140 (which is the INTR_EN register,
which controls which intr's get surfaced).
Your logic removes that, which means that you'll keep getting the unknown
intr's, and also you add a read from 258c. That's unlikely to matter though.
However now if we *do* ever get an interrupt for that bit in 2100 after
disabling the bit in 2140, then it'll be stuck forever. I suspect that the =
"&
mask" should be removed at the beginning of that function [and thus th=
e read
from 2140].
You are receiving this mail because:
- You are the assignee for the bug.
=
--15437931131.77F8C2b.26355--
--===============0396836175==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m
cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg==
--===============0396836175==--