Re: uio_dmem_genirq.c and DMA mapping to user space ?

2017-09-12 Thread Joakim Tjernlund
On Tue, 2017-09-12 at 05:37 -0700, gre...@linuxfoundation.org wrote: > On Tue, Sep 12, 2017 at 12:18:27PM +, Joakim Tjernlund wrote: > > Hi > > > > I am trying to use the uio_dmem_genirq.c driver for allocating DMA memory > > to a PCI device > > using the uio_pci_generic.c driver. > > > > I

Re: uio_dmem_genirq.c and DMA mapping to user space ?

2017-09-12 Thread gre...@linuxfoundation.org
On Tue, Sep 12, 2017 at 12:18:27PM +, Joakim Tjernlund wrote: > Hi > > I am trying to use the uio_dmem_genirq.c driver for allocating DMA memory to > a PCI device > using the uio_pci_generic.c driver. > > I got as far as defining an UIO dev containing only Dynamic DMA memory and > now I am s

uio_dmem_genirq.c and DMA mapping to user space ?

2017-09-12 Thread Joakim Tjernlund
Hi I am trying to use the uio_dmem_genirq.c driver for allocating DMA memory to a PCI device using the uio_pci_generic.c driver. I got as far as defining an UIO dev containing only Dynamic DMA memory and now I am stuck. I can see how DMA memory is allocated when opening the /dev/uio device but I