From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] ARM: OMAP: Fix sleep under spinlock for cpufreq Date: Fri, 31 Aug 2007 10:14:57 -0700 Message-ID: <20070831171456.GG12350@atomide.com> References: <11884671992065-git-send-email-Hiroshi.DOYU@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <11884671992065-git-send-email-Hiroshi.DOYU@nokia.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: Hiroshi.DOYU@nokia.com Cc: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org * Hiroshi.DOYU@nokia.com [070830 02:48]: > From: Hiroshi DOYU > > [ 10.523437] BUG: sleeping function called from invalid context at kernel/mut6 > [ 10.523437] in_atomic():0, irqs_disabled():128 > [ 10.523437] [] (dump_stack+0x0/0x14) from [] (__might_sl) > [ 10.523437] [] (__might_sleep+0x0/0xd4) from [] (mutex_l) > [ 10.523437] r5 = C02F0DE8 r4 = C02F0DF0 > [ 10.523437] [] (mutex_lock+0x0/0x44) from [] (clk_get+0x) > [ 10.523437] r4 = 00000000 > [ 10.523437] [] (clk_get+0x0/0x128) from [] (omap_getspee) > [ 10.523437] r8 = 00000002 r7 = 00000000 r6 = C031DAF8 r5 = C0473980 > [ 10.523437] r4 = 00000000 > [ 10.523437] [] (omap_getspeed+0x0/0x5c) from [] (cpufreq) > [ 10.523437] r5 = C0473980 r4 = 00000002 Thanks pushing today. Hmmm, it was really doing clk_get every time, how inefficient... Tony