Kanigeri, Hari had written, on 04/16/2010 06:46 AM, the following: > Ivan, > >> In the commit 702b94bff3c50542a6e4ab9a4f4cef093262fe65 (2.6.34) the >> functions >> dmac_inv_range and dmac_clean_range were removed. >> >> I'm wondering how to fix this in order to rebase to 2.6.34. >> >> Thanks > Sharing with a wider audience my experiments: > 2 options: > > 1. Replace dmac_inv_range and dmac_clean_range functions with the new dma map >and unmap functions. These are supposed to be the new functions to do the same > functionality, but in our limited testing some time ago, the dma_unmap function > wasn't invalidating the cache. You can check this at your end. I tried doing this with pm-wip-opp(.34-rc4) branch in kevin's tree with the attached patch on SDP3430. result log.txt - test results using just the userspace from http://dev.omapzoom.org/?p=tidspbridge/userspace-dspbridge.git;a=summary short story: ping - pass dmmcopy - fail - this is inline with what Hari mentioned - in short, using map/unmap as a direct replacement is a no-go, > > 2. Revert the patch that deprecated these APIs to unblock you temporarily. git revert 702b94bff3c50542a6e4ab9a4f4cef093262fe65 works.. but ofcourse would be a temporary hack for those interested in moving on.. Will leave Hari/Omar to summarize some of the ideas they have. -- Regards, Nishanth Menon