[vfio-users] PLX switch report a UR when EP tries to DMA to VM's memory

Wuzongyong (Euler Dept) cordius.wu at huawei.com
Thu Sep 13 08:20:53 UTC 2018


Hi,

I notice a problem with a PCIe endpoint, which is behind a PLX switch, assigned to a VM by VFIO.
The problem is switch report a UR error when the EP tries to DMA to a memory zone inside VM's address space.
Assume that the DMA destination address is between in the VM's ram address space, and unfortunately that
address value in host's point of view just hit the PLX switch  upstream port BAR0 memory-mapped IO range.
In a result, the DMA will failed because SW think this memory request is invalid if the destination address hit
its UP's bar.
Is this a hardware bug or qemu/seabios doesn't maintain a proper address space for VM?

Thanks,
Zongyong Wu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20180913/cf625cc4/attachment.htm>


More information about the vfio-users mailing list