On Sat, 2007-05-12 at 11:12 +0200, Heiko Carstens wrote: > I hope that doesn't mean that each architecture is required to > implement all the DMA mapping stuff? Yes, it will require this ... or at least dma_map_sg() and dma_unmap_sg(). > s390 doesn't have any support > for DMA at all. Well ... it does, you just do it differently. You seem to construct this fsf thing from sbals that are programmed directly from the kernel vaddr. This would all work in the new scenario if you simply defined dma_map_sg() et al. to be a nop, wouldn't it? > The current workaround seems to be to sprinkle > a lot of BUG() statements in code that simply won't work on such > architectures but still compile it in. > Lately I introduced CONFIG_HAS_DMA and made building > drivers/base/dma-mapping.o and dmapool.o depend on that, > so we don't compile all the non working stuff on s390. Hope > all that can be sorted out if you go that direction. James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html