https://github.com/torvalds/linux
Revision c9d120b0b2b5069cb2ae62f8eac0cef31c8544be authored by Haggai Eran on 17 July 2015, 23:24:06 UTC, committed by Linus Torvalds on 17 July 2015, 23:39:53 UTC
If dma-debug is disabled due to a memory error, DMA unmaps do not affect
the dma_active_cacheline radix tree anymore, and debug_dma_assert_idle()
can print false warnings.

Disable debug_dma_assert_idle() when dma_debug_disabled() is true.

Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Fixes: 0abdd7a81b7e ("dma-debug: introduce debug_dma_assert_idle()")
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: James Bottomley <JBottomley@Parallels.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Sebastian Ott <sebott@linux.vnet.ibm.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Horia Geanta <horia.geanta@freescale.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 0f70fe6
History
Tip revision: c9d120b0b2b5069cb2ae62f8eac0cef31c8544be authored by Haggai Eran on 17 July 2015, 23:24:06 UTC
dma-debug: skip debug_dma_assert_idle() when disabled
Tip revision: c9d120b
File Mode Size
1200.bin.ihex -rw-r--r-- 14.4 KB
9600.bin.ihex -rw-r--r-- 14.4 KB

back to top