[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4C67D074.6080107@redhat.com>
Date: Sun, 15 Aug 2010 14:33:08 +0300
From: Avi Kivity <avi@...hat.com>
To: Leon Woestenberg <leon.woestenberg@...il.com>
CC: Tom Lyon <pugs@...co.com>, mst@...hat.com, hjk@...utronix.de,
gregkh@...e.de, chrisw@...s-sol.org, joro@...tes.org,
linux-kernel@...r.kernel.org
Subject: Re: UIO DMA to userspace question
On 08/07/2010 09:38 PM, Leon Woestenberg wrote:
> Hello all,
>
> can I use the UIO framework for the following?
>
> The userspace portion of the driver allocates memory in user-space
> using malloc() - usually resulting in a scatter pages in physical
> memory.
> The UIO kernel portion of the driver maps those using pci_map_sg().
>
> Is this possible, or does the UIO framework assume memory for DMA is
> allocated in kernel space?
Look at the new VFIO driver, which can do DMA if you have an IOMMU.
--
error compiling committee.c: too many arguments to function
--
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