From: bugzilla-daemon@freedesktop.org Subject: [Bug 91481] [Patch?] DisplayPort MST (Multistream Transport) hotplug kernel memory fault Date: Sat, 05 Sep 2015 03:03:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0361350327==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 352F76EC56 for ; Fri, 4 Sep 2015 20:03:59 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0361350327== Content-Type: multipart/alternative; boundary="1441422239.611e1cc30.9823"; charset="UTF-8" --1441422239.611e1cc30.9823 Date: Sat, 5 Sep 2015 03:03:59 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=91481 --- Comment #1 from Adam J. Richter --- Thank you, Dave Arlie, and anyone else involved, for the DisplayPort MultiStream Transport fixes in Linux 4.1.6 and 4.2 (and a few of the subreleases and release candidates leading up to these versions). However, I think that some change along the lines of the patch that I mentioned may still be necessary. I cannot be sure, because when I try to boot linux-4.1.6, I get a other kernels bugs either before I get a chance to test this or while I am testing it. I am pretty sure I tried Linux-4.2 and observed the kernel getting fault that would go away when I would apply the attached patch. It looks to me like, toward the end of drm_dp_add_port in Linux-4.2, I still see the following code: drm_dp_send_link_address(mstb->mgr, port->mstb); port->mstb->link_address_sent = true; ...and drm_dp_send_link_address has this line, which I think can call a function that can change port->mstb: (*mgr->cbs->hotplug)(mgr); -- You are receiving this mail because: You are the assignee for the bug. --1441422239.611e1cc30.9823 Date: Sat, 5 Sep 2015 03:03:59 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 91481 from
Thank you, Dave Arlie, and anyone else involved, for the DisplayPort
MultiStream Transport fixes in Linux 4.1.6 and 4.2 (and a few of the
subreleases and release candidates leading up to these versions).

However, I think that some change along the lines of the patch that I mentioned
may still be necessary.  I cannot be sure, because when I try to boot
linux-4.1.6, I get a other kernels bugs either before I get a chance to test
this or while I am testing it.  I am pretty sure I tried Linux-4.2 and observed
the kernel getting fault that would go away when I would apply the attached
patch.

It looks to me like, toward the end of drm_dp_add_port in Linux-4.2, I still
see the following code:

                       drm_dp_send_link_address(mstb->mgr, port->mstb);
                       port->mstb->link_address_sent = true;

...and drm_dp_send_link_address has this line, which I think can call a
function that can change port->mstb:

                       (*mgr->cbs->hotplug)(mgr);


You are receiving this mail because:
  • You are the assignee for the bug.
--1441422239.611e1cc30.9823-- --===============0361350327== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHA6Ly9saXN0 cy5mcmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9kcmktZGV2ZWwK --===============0361350327==--