dbdma: add per-channel debugging enabled via DEBUG_DBDMA_CHANMASK
commit3e49c43940fa3e61911969dd7b60534d9ec7f00f
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 10 Jul 2016 18:08:54 +0000 (10 19:08 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 18 Jul 2016 00:40:27 +0000 (18 10:40 +1000)
tree49ab4d080437ee38d0c8f73024e6997f41f6ca1f
parentba0b17dd8f00bdc4d55d67046e4300d95ad5f3f2
dbdma: add per-channel debugging enabled via DEBUG_DBDMA_CHANMASK

By default large amounts of DBDMA debugging are produced when often it is just
1 or 2 channels that are of interest. Introduce DEBUG_DBDMA_CHANMASK to allow
the developer to select the channels of interest at compile time, and then
further add the extra channel information to each debug statement where
possible.

Also clearly mark the start/end of DBDMA_run_bh to allow tracking the bottom
half execution.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/misc/macio/mac_dbdma.c