Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: i915 hangs after 201612251500Z changes



>>>>> "Jun" == Jun Ebihara <jun%soum.co.jp@localhost> writes:

    Jun> Hi Cherry!
    Jun> From: "Cherry G. Mathew" <cherry%zyx.in@localhost>
    Jun> Subject: Re: i915 hangs after 201612251500Z changes
    Jun> Date: Sun, 08 Jan 2017 13:02:34 +0530

    >> I'm trying to figure out if any of the assumptions that I've made are
    >> drastically different. Does your laptop have a peculiar RAM layout ? 
    >> Do you have an e820 map that can be shared ?

    Jun> boot up debian8 and put /proc/iomem

    Jun> https://github.com/ebijun/NetBSD/blob/master/dmesg/i386/iomem/Acer_AspireONE_ZG8/dmesg
    Jun> https://github.com/ebijun/NetBSD/blob/master/dmesg/i386/iomem/Acer_AspireONE_ZG8/iomem

    Jun> many thanx.

Hi,

Does the following patch solve your problem ?


-- 
~cherry

--- x86_machdep.c.~1.80.~       2017-01-02 21:20:21.682422476 +0530
+++ x86_machdep.c       2017-01-09 13:20:12.018133390 +0530
@@ -938,7 +938,7 @@
         msgbuf_p_seg[msgbuf_p_cnt++].paddr =
         ctob(uvm_physseg_get_avail_end(x));

        /* Now find where the new avail_end is. */
-       avail_end = ctob(uvm_physseg_get_avail_end(x));
+       avail_end = ctob(uvm_physseg_get_highest_frame());

        if (sz == reqsz)
                return;



Home | Main Index | Thread Index | Old Index