Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754263AbbGBRAR (ORCPT ); Thu, 2 Jul 2015 13:00:17 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:39525 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754258AbbGBQ7z (ORCPT ); Thu, 2 Jul 2015 12:59:55 -0400 Date: Thu, 2 Jul 2015 09:59:52 -0700 From: Stephen Boyd To: Gabriel Fernandez Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Srinivas Kandagatla , Maxime Coquelin , Patrice Chotard , Russell King , Michael Turquette , Peter Griffin , Pankaj Dev , Olivier Bideau , Javier Martinez Canillas , Geert Uytterhoeven , Fabian Frederick , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@stlinux.com, linux-clk@vger.kernel.org Subject: Re: [PATCH 5/9] drivers: clk: st: Fix flexgen lock init Message-ID: <20150702165952.GC4301@codeaurora.org> References: <1435068567-30995-1-git-send-email-gabriel.fernandez@linaro.org> <1435068567-30995-6-git-send-email-gabriel.fernandez@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435068567-30995-6-git-send-email-gabriel.fernandez@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2251 Lines: 41 On 06/23, Gabriel Fernandez wrote: > From: Giuseppe Cavallaro > > While proving lock, the following warning happens > and it is fixed after initializing lock in the setup > function > > INFO: trying to register non-static key. > the code is fine but needs lockdep annotation. > turning off the locking correctness validator. > CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.27-02861-g39df285-dirty #33 > [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14) > [] (show_stack+0x10/0x14) from [] (__lock_acquire+0x900/0xb14) > [] (__lock_acquire+0x900/0xb14) from [] (lock_acquire+0x68/0x7c) > [] (lock_acquire+0x68/0x7c) from [] (_raw_spin_lock_irqsave+0x48/0x5c) > [] (_raw_spin_lock_irqsave+0x48/0x5c) from [] (clk_gate_endisable+0x28/0x88) > [] (clk_gate_endisable+0x28/0x88) from [] (clk_gate_enable+0xc/0x14) > [] (clk_gate_enable+0xc/0x14) from [] (flexgen_enable+0x28/0x40) > [] (flexgen_enable+0x28/0x40) from [] (__clk_enable+0x5c/0x9c) > [] (__clk_enable+0x5c/0x9c) from [] (clk_enable+0x18/0x2c) > [] (clk_enable+0x18/0x2c) from [] (st_lpc_of_register+0xc0/0x248) > [] (st_lpc_of_register+0xc0/0x248) from [] (clocksource_of_init+0x34/0x58) > [] (clocksource_of_init+0x34/0x58) from [] (sti_timer_init+0x10/0x18) > [] (sti_timer_init+0x10/0x18) from [] (time_init+0x20/0x30) > [] (time_init+0x20/0x30) from [] (start_kernel+0x20c/0x2e8) > [] (start_kernel+0x20c/0x2e8) from [<40008074>] (0x40008074) > > Signed-off-by: Giuseppe Cavallaro > Signed-off-by: Gabriel Fernandez > --- Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/