Thread (11 messages) 11 messages, 5 authors, 2014-01-15
STALE4560d

[PATCH 1/1] mmc: sdhci: fix lockdep error on tunning routine

From: peterz@infradead.org (Peter Zijlstra)
Date: 2014-01-13 12:04:35
Also in: linux-mmc

On Thu, Dec 26, 2013 at 03:58:20PM +0800, Dong Aisheng wrote:
quoted
It's strange that this issue did not happen on kernel 3.10.17 with the same
code. And looking at the code, before call spin_lock we already disable the mmc
controller irq, per on my understanding, the deadlock given by lockdep may not
be able to happen(pls fix me if wrong).
May the lockdep not track the specific irq disable?
Copy lockdep guy to comment.
No, lockdep also doesn't know only that one line can take this lock.
Lockdep only knows a lock is taken from IRQ context, and disabling one
line still allows IRQs to happen and therefore it yells.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help