[<prev] [next>] [day] [month] [year] [list]
Message-ID: <438397970908011436o29aad583p84ae40dc1df78756@mail.gmail.com>
Date: Sat, 1 Aug 2009 14:36:23 -0700
From: Kallol Biswas <nucleodyne@...il.com>
To: linux-kernel@...r.kernel.org
Subject: Fwd: DMA sync operation on user space address
---------- Forwarded message ----------
From: Kallol Biswas <nucleodyne@...il.com>
Date: Fri, Jul 31, 2009 at 10:47 AM
Subject: DMA sync operation on user space address
To: linux-arm@...r.kernel.org
I need to implement a DMA sync (flush and invalidate) operation on
user space address.
It seems that the routine blk_dma_flush_range() that is defined in
arch/arm/mm/blockops.c can do the sync operation. Also the function
takes virtual address.
Need to consult an ARM acrh manual to find out if the processor uses
virtual addresses to access the cache. It seems so.
The question is will there be protection or any other issue calling
the above routine from kernel space while the address used as argument
is a user space address?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists