Re: [PATCH 8/8] sparc: add CONFIG_DMA_API_DEBUG support

From: David Miller
Date: Thu Jul 16 2009 - 22:39:10 EST


From: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
Date: Mon, 13 Jul 2009 15:26:00 +0900

> All we need to do for CONFIG_DMA_API_DEBUG support is call
> dma_debug_init() in DMA code common for SPARC32 and SPARC64.
>
> Now SPARC32 uses two dma_map_ops structures for pci and sbus so there
> is not much dma stuff for SPARC32 in kernel/dma.c. kernel/ioport.c
> also includes dma stuff for SPARC32. So let's put all the dma stuff
> for SPARC32 in kernel/ioport.c and make kernel/dma.c common for
> SPARC32 and SPARC64.
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>

ACK, we just need to tweak that illegal DMA address check so
that it doesn't erroneously trigger on sparc32.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/