Enable DMA for the daVinci SPI using the SPI framework DMA mapping function. Add fixes caused by large numer of SG entries and VIVT cache. Also, add some extra options to the spi-loopback-test module to catch errors caused by many SG entries. This has been tested using spidev_test, spi-loopback-test and mounting and read/write UBIFS volume over SPI flash. v2 changes: - Use SPI_MASTER_MUST_ flag(s) for dummy buffer allocation (thanks Mark Brown). - For rx-only transfers, use rx buffer as dummy tx buffer to avoid errors with more than 20 SG entries. - Improved comments and use #define for contants. - Abandon patches to set loopback and limit transfer size in spi-loopback-test. Thanks, Frode -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html