Hi,
I want to user VFIO for direct streaming between user space and a PCIe
device (FPGA). Device isolation works, but how do I re-assign the PCIe
BARs to my user space memory and handle the IOMMU TLB remapping? Or is
there some other/better way to do that?
Many thanks!
__
t.com>
*Subject:* Re: [vfio-users] VFIO for PCIe streaming from/to user space
On Tue, 30 Jan 2018 21:41:30 +0100
Oliver Heid wrote:
So the userspace -> IOVA mapping is not done automatically?
No, see the API, user provides an IOVA.
How do I get
the MMU entries of user's pages fro
t;mailto:oliver.h...@h-next.de>
*Cc:* Vfio-users <mailto:vfio-users@redhat.com>
*Subject:* Re: [vfio-users] VFIO for PCIe streaming from/to user space
On Wed, 14 Feb 2018 22:06:35 +0100
Oliver Heid wrote:
Regarding the vfio_device_info struct: I get 9 device regions, of which
region 0,
Thursday, February 22, 2018 10:03PM
*To:* Heid, Oliver <mailto:oliver.h...@h-next.de>
*Subject:* Re: [vfio-users] VFIO for PCIe streaming from/to user space
On Thu, 22 Feb 2018 21:44:44 +0100
Oliver Heid wrote:
After registering e.g. MSI 0 with
__s32 msifd = eventfd(0, 0);
stru
Do I miss something here? I want to allow RW access of a peripheral
device to a memory region via
struct vfio_iommu_type1_dma_map dma_map = { .argsz = sizeof(dma_map) };
__u32* mem = (__u32*)mmap(NULL,size,PROT_READ|PROT_WRITE,
MAP_SHARED|MAP_ANONYMOUS|MAP_LOCKED, -1, 0);
dma_map
Does VFIO somehow limit PCIe TLP size to 128 bytes on virtualized
devices? In our case MaxPayload = MaxReadReq = 256 bytes in PCI config,
and we use 4k aligned base addresses and do not cross 4k boundaries, but
actual package size is only 128B. Any idea how to get 256 byte TLPs?
Thanks!
__
ect:* Re: [vfio-users] VFIO_IOMMU_MAP_DMA succeeds only on second try?
On Mon, 5 Mar 2018 12:37:24 +0100
Oliver Heid wrote:
Do I miss something here? I want to allow RW access of a peripheral
device to a memory region via
struct vfio_iommu_type1_dma_map dma_map = { .argsz = sizeof(dma_map)