[PATCH] clk: Really fix deadlock with mmap_sem
Thomas Gleixner
tglx at linutronix.de
Fri Dec 12 16:13:36 PST 2014
On Fri, 12 Dec 2014, Stephen Boyd wrote:
> Commit 6314b6796e3c (clk: Don't hold prepare_lock across debugfs
> creation, 2014-09-04) forgot to update one place where we hold
> the prepare_lock while creating debugfs directories. This means
> we still have the chance of a deadlock that the commit was trying
> to fix. Actually fix it by moving the debugfs creation outside
> the prepare_lock.
>
> Reported-by: Russell King - ARM Linux <linux at arm.linux.org.uk>
> Fixes: 6314b6796e3c "clk: Don't hold prepare_lock across debugfs creation"
> Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>
> + lockdep_assert_held(clk_debug_lock);
That change is not mentioned in the changelog and seems to be
unrelated to the issue at hand.
Other than that:
Reviewed-by: Thomas Gleixner <tglx at linutronix.de>
More information about the linux-arm-kernel
mailing list