Re: [Intel-gfx] [PATCH] drm/dp/mst: Remove port after removing connector.

2015-08-15 Thread Daniel Vetter
On Sat, Aug 15, 2015 at 02:56:57PM +1000, Dave Airlie wrote: > On 11 August 2015 at 17:54, Maarten Lankhorst > wrote: > > The port is removed synchronously, but the connector delayed. > > This causes a use after free which can cause a kernel BUG with > > slug_debug=FPZU. This is fixed by freeing t

Re: [Intel-gfx] [PATCH] drm/dp/mst: Remove port after removing connector.

2015-08-14 Thread Dave Airlie
On 11 August 2015 at 17:54, Maarten Lankhorst wrote: > The port is removed synchronously, but the connector delayed. > This causes a use after free which can cause a kernel BUG with > slug_debug=FPZU. This is fixed by freeing the port after the > connector. Where is the use after free btw? I'm no

Re: [Intel-gfx] [PATCH] drm/dp/mst: Remove port after removing connector.

2015-08-14 Thread shuang . he
Tested-By: Intel Graphics QA PRTS (Patch Regression Test System Contact: shuang...@intel.com) Task id: 7141 -Summary- Platform Delta drm-intel-nightly Series Applied ILK

Re: [Intel-gfx] [PATCH] drm/dp/mst: Remove port after removing connector.

2015-08-11 Thread Jani Nikula
On Tue, 11 Aug 2015, Daniel Vetter wrote: > On Tue, Aug 11, 2015 at 09:54:29AM +0200, Maarten Lankhorst wrote: >> The port is removed synchronously, but the connector delayed. >> This causes a use after free which can cause a kernel BUG with >> slug_debug=FPZU. This is fixed by freeing the port af

Re: [Intel-gfx] [PATCH] drm/dp/mst: Remove port after removing connector.

2015-08-11 Thread Daniel Vetter
On Tue, Aug 11, 2015 at 09:54:29AM +0200, Maarten Lankhorst wrote: > The port is removed synchronously, but the connector delayed. > This causes a use after free which can cause a kernel BUG with > slug_debug=FPZU. This is fixed by freeing the port after the > connector. > > This fixes a regressio

[Intel-gfx] [PATCH] drm/dp/mst: Remove port after removing connector.

2015-08-11 Thread Maarten Lankhorst
The port is removed synchronously, but the connector delayed. This causes a use after free which can cause a kernel BUG with slug_debug=FPZU. This is fixed by freeing the port after the connector. This fixes a regression introduced with 6b8eeca65b18ae77e175cc2b6571731f0ee413bf "drm/dp/mst: close d