Re: [PATCH v4] virtio: new feature to detect IOMMU device quirk

2016-07-28 Thread Michael S. Tsirkin
On Wed, Jul 27, 2016 at 11:59:18PM -0700, Christoph Hellwig wrote: > Again, this is still the wrong way around. A "noiommu" feature is a > quirk and should not be the default. Christoph, I'm not sure what you mean by the default here. We read a register from the device (bit 33 in the feature qwo

Re: [PATCH v4] virtio: new feature to detect IOMMU device quirk

2016-07-28 Thread Christoph Hellwig
Again, this is still the wrong way around. A "noiommu" feature is a quirk and should not be the default. ___ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization

[PATCH v4] virtio: new feature to detect IOMMU device quirk

2016-07-27 Thread Michael S. Tsirkin
The interaction between virtio and IOMMUs is messy. On most systems with virtio, physical addresses match bus addresses, and it doesn't particularly matter which one we use to program the device. On some systems, including Xen and any system with a physical device that speaks virtio behind a phys