On Wed, Oct 28, 2015 at 05:36:53PM +0900, Benjamin Herrenschmidt wrote:> On Wed, 2015-10-28 at 16:40 +0900, Christian Borntraeger wrote: > > We have discussed that at kernel summit. I will try to implement a dummy dma_ops for > > s390 that does 1:1 mapping and Ben will look into doing some quirk to handle "old" > > code in addition to also make it possible to mark devices as iommu bypass (IIRC, > > via device tree, Ben?) > > Something like that yes. I'll look into it when I'm back home. > > Cheers, > Ben.OK so I guess that means we should prefer a transport-specific interface in virtio-pci then. -- MST
On Wed, 2015-10-28 at 13:23 +0200, Michael S. Tsirkin wrote:> On Wed, Oct 28, 2015 at 05:36:53PM +0900, Benjamin Herrenschmidt > wrote: > > On Wed, 2015-10-28 at 16:40 +0900, Christian Borntraeger wrote: > > > We have discussed that at kernel summit. I will try to implement > > > a dummy dma_ops for > > > s390 that does 1:1 mapping and Ben will look into doing some > > > quirk to handle "old" > > > code in addition to also make it possible to mark devices as > > > iommu bypass (IIRC, > > > via device tree, Ben?) > > > > Something like that yes. I'll look into it when I'm back home. > > > > Cheers, > > Ben. > > OK so I guess that means we should prefer a transport-specific > interface in virtio-pci then.Why? -- dwmw2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 5691 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20151028/b5c5662e/attachment.bin>
On Wed, Oct 28, 2015 at 10:37:56PM +0900, David Woodhouse wrote:> On Wed, 2015-10-28 at 13:23 +0200, Michael S. Tsirkin wrote: > > On Wed, Oct 28, 2015 at 05:36:53PM +0900, Benjamin Herrenschmidt > > wrote: > > > On Wed, 2015-10-28 at 16:40 +0900, Christian Borntraeger wrote: > > > > We have discussed that at kernel summit. I will try to implement > > > > a dummy dma_ops for > > > > s390 that does 1:1 mapping and Ben will look into doing some > > > > quirk to handle "old" > > > > code in addition to also make it possible to mark devices as > > > > iommu bypass (IIRC, > > > > via device tree, Ben?) > > > > > > Something like that yes. I'll look into it when I'm back home. > > > > > > Cheers, > > > Ben. > > > > OK so I guess that means we should prefer a transport-specific > > interface in virtio-pci then. > > Why?Because you said you are doing something device tree specific for ARM, aren't you? -- MST