[Bug 59321] [hsw] S4 broken with Haswell

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Sep 15 07:43:01 PDT 2014


https://bugzilla.kernel.org/show_bug.cgi?id=59321

--- Comment #48 from Imre Deak <imre.deak at intel.com> ---
Thanks.

I can't say much about the network problem, I think the best would be opening a
new bug for it.

Afaics, the console crash happens because i915 switches to the dummy console
and then userspace tries to change the font mapping, but the dummy console
doesn't support this (its vc_uni_pagedir is never inited). Could you try the
following:

diff --git a/drivers/tty/vt/consolemap.c b/drivers/tty/vt/consolemap.c
index 610b720..eb867fa 100644
--- a/drivers/tty/vt/consolemap.c
+++ b/drivers/tty/vt/consolemap.c
@@ -539,6 +539,9 @@ int con_set_unimap(struct vc_data *vc, ushort ct, struct
unipair __user *list)

     /* Save original vc_unipagdir_loc in case we allocate a new one */
     p = *vc->vc_uni_pagedir_loc;
+
+    if (!p)
+        return -EINVAL;

     if (p->refcount > 1) {
         int j, k;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the intel-gfx-bugs mailing list