On Thu, 22 Feb 2018 23:12:58 +0100
Oliver Heid wrote:
> Problem solved: To enable MSI -> eventfd signalling we had to set the
> bus master enable bit in PCI config space (bit 2 at offset 4).
Yes, an MSI is simply a DMA write from the device, without BM the
device cannot
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 <oliver.h...@h-next.de> wrote:
After registering e.g. MSI 0 with
__s32
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, 2 and 4 seem to be the three BAR regions. Is that so? Always?
> What do the other regions do?
This is all answered in the API:
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 <oliver.h...@h-next.de> wrote:
So the userspace -> IOVA mapping is not done automatically?
No, see the API, user provides an IOVA.
How do I get
the MMU e
> *To:* Heid, Oliver <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 Tue, 30 Jan 2018 12:02:32 +0100
> Oliver Heid <oliver.h...@h-next.de>
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!