From mboxrd@z Thu Jan 1 00:00:00 1970 From: kuninori.morimoto.gx@renesas.com Date: Tue, 12 Jul 2011 10:51:54 +0000 Subject: Re: [PATCH v2] mmc: tmio: fix recursive spinlock, don't schedule with interrupts disabled Message-Id: <87y603g4al.wl%kuninori.morimoto.gx@renesas.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Guennadi Liakhovetski Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org, Ian Molton , Chris Ball , Magnus Damm > Calling mmc_request_done() under a spinlock with interrupts disabled > leads to a recursive spin-lock on request retry path and to > scheduling in atomic context. This patch fixes both these problems > by moving mmc_request_done() to the scheduler workqueue. > > Signed-off-by: Guennadi Liakhovetski > --- I tested this patch, and it solved boot hungup issue on Ecovec board. Thanks Guennadi. (and sorry for the extended delay) Tested-by: Kuninori Morimoto From mboxrd@z Thu Jan 1 00:00:00 1970 From: kuninori.morimoto.gx@renesas.com Subject: Re: [PATCH v2] mmc: tmio: fix recursive spinlock, don't schedule with interrupts disabled Date: Tue, 12 Jul 2011 03:51:54 -0700 (PDT) Message-ID: <87y603g4al.wl%kuninori.morimoto.gx@renesas.com> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: linux-sh-owner@vger.kernel.org To: Guennadi Liakhovetski Cc: linux-mmc@vger.kernel.org, linux-sh@vger.kernel.org, Ian Molton , Chris Ball , Magnus Damm List-Id: linux-mmc@vger.kernel.org > Calling mmc_request_done() under a spinlock with interrupts disabled > leads to a recursive spin-lock on request retry path and to > scheduling in atomic context. This patch fixes both these problems > by moving mmc_request_done() to the scheduler workqueue. > > Signed-off-by: Guennadi Liakhovetski > --- I tested this patch, and it solved boot hungup issue on Ecovec board. Thanks Guennadi. (and sorry for the extended delay) Tested-by: Kuninori Morimoto