Re: [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode

2019-03-04 Thread Peter Xu
On Tue, Mar 05, 2019 at 02:27:48PM +0800, Yi Sun wrote: > On 19-03-05 13:36:12, Peter Xu wrote: > > On Tue, Mar 05, 2019 at 01:15:53PM +0800, Yi Sun wrote: > > > > [...] > > > > > > > w/o passthr > > > > > -device intel-iommu \ > > > > > -netdev tap,id=net1,vhost=off|on \ > > > > > -d

Re: [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode

2019-03-04 Thread Yi Sun
On 19-03-05 13:36:12, Peter Xu wrote: > On Tue, Mar 05, 2019 at 01:15:53PM +0800, Yi Sun wrote: > > [...] > > > > > w/o passthr > > > > -device intel-iommu \ > > > > -netdev tap,id=net1,vhost=off|on \ > > > > -device virtio-net-pci,netdev=net1 \ > > > > > > Virtio devices require exp

Re: [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode

2019-03-04 Thread Peter Xu
On Tue, Mar 05, 2019 at 01:15:53PM +0800, Yi Sun wrote: [...] > > > w/o passthr > > > -device intel-iommu \ > > > -netdev tap,id=net1,vhost=off|on \ > > > -device virtio-net-pci,netdev=net1 \ > > > > Virtio devices require explicit enabling of DMAR: > > > > https://wiki.qemu.org/Fea

Re: [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode

2019-03-04 Thread Yi Sun
On 19-03-05 12:48:36, Peter Xu wrote: > On Tue, Mar 05, 2019 at 11:24:24AM +0800, Yi Sun wrote: > > On 19-03-05 11:09:34, Peter Xu wrote: > > > On Tue, Mar 05, 2019 at 10:34:52AM +0800, Yi Sun wrote: > > > > Intel vt-d rev3.0 [1] introduces a new translation mode called > > > > 'scalable mode', whi

Re: [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode

2019-03-04 Thread Peter Xu
On Tue, Mar 05, 2019 at 11:24:24AM +0800, Yi Sun wrote: > On 19-03-05 11:09:34, Peter Xu wrote: > > On Tue, Mar 05, 2019 at 10:34:52AM +0800, Yi Sun wrote: > > > Intel vt-d rev3.0 [1] introduces a new translation mode called > > > 'scalable mode', which enables PASID-granular translations for > > >

Re: [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode

2019-03-04 Thread Yi Sun
On 19-03-05 11:09:34, Peter Xu wrote: > On Tue, Mar 05, 2019 at 10:34:52AM +0800, Yi Sun wrote: > > Intel vt-d rev3.0 [1] introduces a new translation mode called > > 'scalable mode', which enables PASID-granular translations for > > first level, second level, nested and pass-through modes. The > >

Re: [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode

2019-03-04 Thread Michael S. Tsirkin
On Tue, Mar 05, 2019 at 11:09:34AM +0800, Peter Xu wrote: > On Tue, Mar 05, 2019 at 10:34:52AM +0800, Yi Sun wrote: > > Intel vt-d rev3.0 [1] introduces a new translation mode called > > 'scalable mode', which enables PASID-granular translations for > > first level, second level, nested and pass-th

Re: [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode

2019-03-04 Thread Peter Xu
On Tue, Mar 05, 2019 at 10:34:52AM +0800, Yi Sun wrote: > Intel vt-d rev3.0 [1] introduces a new translation mode called > 'scalable mode', which enables PASID-granular translations for > first level, second level, nested and pass-through modes. The > vt-d scalable mode is the key ingredient to ena

[Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode

2019-03-04 Thread Yi Sun
Intel vt-d rev3.0 [1] introduces a new translation mode called 'scalable mode', which enables PASID-granular translations for first level, second level, nested and pass-through modes. The vt-d scalable mode is the key ingredient to enable Scalable I/O Virtualization (Scalable IOV) [2] [3], which al