From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 94803] nouveau bug crashes kernel 4.4.6 on warm boot
Date: Sat, 02 Apr 2016 23:36:31 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1901603598=="
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
--===============1901603598==
Content-Type: multipart/alternative; boundary="14596401910.F20E53.19919";
charset="UTF-8"
--14596401910.F20E53.19919
Date: Sat, 2 Apr 2016 23:36:31 +0000
MIME-Version: 1.0
Content-Type: text/plain
https://bugs.freedesktop.org/show_bug.cgi?id=94803
--- Comment #2 from Ilia Mirkin ---
0x80c (2060) looks like this:
0xffffffff814daf32 <+2050>: xor %edx,%edx
0xffffffff814daf34 <+2052>: mov %rax,%rdi
0xffffffff814daf37 <+2055>: mov $0xc,%eax
0xffffffff814daf3c <+2060>: divl -0x88(%rbp)
which has gotta come from
nv50_disp_intr_unk20_2_dp(...) {
u32 dpctrl = nvkm_rd32(device, 0x61c10c + loff);
link_nr = hweight32(dpctrl & 0x000f0000);
...
value = value - (3 * !!(dpctrl & 0x00004000)) - (12 / link_nr);
Which means that on boot link_nr is 0. Michael, if you're up for some kernel
patching, can you just add a
if (!link_nr) {
nvkm_error(subdev, "link_nr = 0; dpctrl: %08x\n", dpctrl);
return;
}
right after the link_nr assignment in that function?
--
You are receiving this mail because:
You are the assignee for the bug.
--14596401910.F20E53.19919
Date: Sat, 2 Apr 2016 23:36:31 +0000
MIME-Version: 1.0
Content-Type: text/html
Comment # 2
on bug 94803
from Ilia Mirkin
0x80c (2060) looks like this:
0xffffffff814daf32 <+2050>: xor %edx,%edx
0xffffffff814daf34 <+2052>: mov %rax,%rdi
0xffffffff814daf37 <+2055>: mov $0xc,%eax
0xffffffff814daf3c <+2060>: divl -0x88(%rbp)
which has gotta come from
nv50_disp_intr_unk20_2_dp(...) {
u32 dpctrl = nvkm_rd32(device, 0x61c10c + loff);
link_nr = hweight32(dpctrl & 0x000f0000);
...
value = value - (3 * !!(dpctrl & 0x00004000)) - (12 / link_nr);
Which means that on boot link_nr is 0. Michael, if you're up for some kernel
patching, can you just add a
if (!link_nr) {
nvkm_error(subdev, "link_nr = 0; dpctrl: %08x\n", dpctrl);
return;
}
right after the link_nr assignment in that function?
You are receiving this mail because:
- You are the assignee for the bug.
--14596401910.F20E53.19919--
--===============1901603598==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt
YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m
cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg==
--===============1901603598==--