[PATCH] drm: fb helper should avoid sleeping in panic context

2014-12-15 Thread Luck, Tony
From: Rui Wang There are still some places in the fb helper that need to avoid sleeping in panic context. Here's an example: [ 65.615496] bad: scheduling from the idle thread! [ 65.620747] CPU: 92 PID: 0 Comm: swapper/92 Tainted: G ME 3.18.0-rc4-7-default+ #20 [ 65.630364] Har

Re: [PATCH] drm: fb helper should avoid sleeping in panic context

2014-12-10 Thread Borislav Petkov
On Tue, Dec 09, 2014 at 08:05:21PM -0500, Rob Clark wrote: > oh, whoops.. gmail hiding quoted text.. > > yeah, that looks sane, > > Reviewed-by: Rob Clark > > On Tue, Dec 9, 2014 at 7:55 PM, rui wang wrote: > > Hi Rob, > > Yes it's exactly what I'm doing. Please scroll down and review my patch

Re: [PATCH] drm: fb helper should avoid sleeping in panic context

2014-12-09 Thread Rob Clark
better idea how this should be fixed? >>> >>> Regards, >>> Rui >>> >>> ------ Forwarded message -- >>> From: ruiv.w...@gmail.com >>> Date: Thu, 4 Dec 2014 22:11:35 +0800 >>> Subject: [PATCH] drm: fb helper should avoid sleep

Re: [PATCH] drm: fb helper should avoid sleeping in panic context

2014-12-09 Thread rui wang
PM, rui wang wrote: >> Hi All, >> >> Any comment ? Or any better idea how this should be fixed? >> >> Regards, >> Rui >> >> -- Forwarded message -- >> From: ruiv.w...@gmail.com >> Date: Thu, 4 Dec 2014 22:11:35 +0800 >>

Re: [PATCH] drm: fb helper should avoid sleeping in panic context

2014-12-09 Thread Rob Clark
- > From: ruiv.w...@gmail.com > Date: Thu, 4 Dec 2014 22:11:35 +0800 > Subject: [PATCH] drm: fb helper should avoid sleeping in panic context > To: airl...@redhat.com, daniel.vet...@ffwll.ch, tony.l...@intel.com, > b...@alien8.de, a...@redhat.com, rui.y.w...@intel.com > Cc:

[PATCH] drm: fb helper should avoid sleeping in panic context

2014-12-09 Thread rui wang
Hi All, Any comment ? Or any better idea how this should be fixed? Regards, Rui -- Forwarded message -- From: ruiv.w...@gmail.com Date: Thu, 4 Dec 2014 22:11:35 +0800 Subject: [PATCH] drm: fb helper should avoid sleeping in panic context To: airl...@redhat.com, daniel.vet

Re: [PATCH] drm: fb helper should avoid sleeping in panic context

2014-12-05 Thread rui wang
BTW, the impact of this bug is that the panic cannot reboot the machine and it prints an infinite stream of the error messages. The panic goes on forever because there's a for(;;) loop in __mutex_lock_common(), so we enter __schedule() again and again. Thanks Rui On 12/4/14, ruiv.w...@gmail.com

[PATCH] drm: fb helper should avoid sleeping in panic context

2014-12-04 Thread ruiv . wang
From: Rui Wang There are still some places in the fb helper that need to avoid sleeping in panic context. Here's an example: [ 65.615496] bad: scheduling from the idle thread! [ 65.620747] CPU: 92 PID: 0 Comm: swapper/92 Tainted: G ME 3.18.0-rc4-7-default+ #20 [ 65.630364] Har