DMA handle is passed in an RPC call. When call reaches DSP,the fd is added to DSP user process fd list. To unmap any DMA handle, DSP request for unmap of fd and add it to fdlist which is then freed by driver when call is returned from DSP. Jeya R (2): misc: fastrpc: Add fdlist implementation misc: fastrpc: Add dma handle implementation drivers/misc/fastrpc.c | 97 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 75 insertions(+), 22 deletions(-) -- 2.7.4