<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - nouveau bug crashes kernel 4.4.6 on warm boot"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94803#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - nouveau bug crashes kernel 4.4.6 on warm boot"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94803">bug 94803</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>