Re: [Qemu-devel] PCI iommu issues

2015-01-31 Thread Knut Omang
On Fri, 2015-01-30 at 08:40 +0100, Jan Kiszka wrote: Adding Knut to CC as he particularly looked into and fixed the bridging issues or the vtd emulation. I will have to refresh my memories first. Thanks for cc'ing me, Jan - Yes I did some work specifically to serve my need of being able to use

Re: [Qemu-devel] PCI iommu issues

2015-01-31 Thread Benjamin Herrenschmidt
On Sat, 2015-01-31 at 15:42 +0100, Knut Omang wrote: I agree with you that they are two distinct problems, with perhaps a 3rd problem of how to generalize this to other devices than PCI devices? Right now the handling of requester IDs across bridges seems very rudimentary in the QEMU

[Qemu-devel] PCI iommu issues

2015-01-29 Thread Benjamin Herrenschmidt
Hi folks ! I've looked at the intel iommu code to try to figure out how to properly implement a Power8 native iommu model and encountered some issues. Today pseries ppc machine is paravirtualized and so uses a pretty simplistic iommu model that essentially has one address space per host bridge.

Re: [Qemu-devel] PCI iommu issues

2015-01-29 Thread Jan Kiszka
Adding Knut to CC as he particularly looked into and fixed the bridging issues or the vtd emulation. I will have to refresh my memories first. Jan On 2015-01-30 06:45, Benjamin Herrenschmidt wrote: Hi folks ! I've looked at the intel iommu code to try to figure out how to properly