[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1505218705.31322.108.camel@infinera.com>
Date: Tue, 12 Sep 2017 12:18:27 +0000
From: Joakim Tjernlund <Joakim.Tjernlund@...inera.com>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>
Subject: uio_dmem_genirq.c and DMA mapping to user space ?
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 cannot
figure out how to mmap this memory to User space as well so I can share this
memory with the PCI device and my user space driver.
What am I missing?
Jocke
Powered by blists - more mailing lists