[Nouveau] [Bug 94803] nouveau bug crashes kernel 4.4.6 on warm boot

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Apr 2 23:36:31 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94803

--- Comment #2 from Ilia Mirkin <imirkin at alum.mit.edu> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160402/f8baa111/attachment.html>


More information about the Nouveau mailing list