RE: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-03-04 Thread Tian, Kevin
> From: Jean-Philippe Brucker > Sent: Thursday, March 5, 2020 3:34 PM > > On Thu, Mar 05, 2020 at 02:56:20AM +, Tian, Kevin wrote: > > > From: Jean-Philippe Brucker > > > Sent: Thursday, March 5, 2020 12:47 AM > > > > > [...] > > > > > > > > > > * We can't use DVM in nested mode unless the

Re: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-03-04 Thread Jean-Philippe Brucker
On Thu, Mar 05, 2020 at 02:56:20AM +, Tian, Kevin wrote: > > From: Jean-Philippe Brucker > > Sent: Thursday, March 5, 2020 12:47 AM > > > [...] > > > > > > > > * We can't use DVM in nested mode unless the VMID is shared with the > > > > CPU. For that we'll need the host SMMU driver to hook

RE: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-03-04 Thread Tian, Kevin
> From: Jean-Philippe Brucker > Sent: Thursday, March 5, 2020 12:47 AM > [...] > > > > > > * We can't use DVM in nested mode unless the VMID is shared with the > > > CPU. For that we'll need the host SMMU driver to hook into the KVM > VMID > > > allocator, just like we do for the ASID allocator.

Re: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-03-04 Thread Jean-Philippe Brucker
On Wed, Mar 04, 2020 at 09:41:44AM +0100, Auger Eric wrote: > >>> Could I ask one question? > >>> To support vSVA and pasid in guest, which direction you recommend, > >>> virtio-iommu or vSMMU (your nested paging) > >>> > >>> Do we still have any obstacles? > >> you can ask the question but not

Re: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-03-04 Thread Auger Eric
Hi Zhangfei, On 3/4/20 7:08 AM, Zhangfei Gao wrote: > On Tue, Mar 3, 2020 at 5:41 PM Auger Eric wrote: >> >> Hi Zhangfei, >> On 3/3/20 4:23 AM, Zhangfei Gao wrote: >>> Hi Eric >>> >>> On Thu, Feb 27, 2020 at 9:50 PM Auger Eric wrote: Hi Daniel, On 2/27/20 12:17 PM, Daniel P.

Re: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-03-03 Thread Zhangfei Gao
On Tue, Mar 3, 2020 at 5:41 PM Auger Eric wrote: > > Hi Zhangfei, > On 3/3/20 4:23 AM, Zhangfei Gao wrote: > > Hi Eric > > > > On Thu, Feb 27, 2020 at 9:50 PM Auger Eric wrote: > >> > >> Hi Daniel, > >> > >> On 2/27/20 12:17 PM, Daniel P. Berrangé wrote: > >>> On Fri, Feb 14, 2020 at 02:27:35PM

Re: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-03-03 Thread Auger Eric
Hi Zhangfei, On 3/3/20 4:23 AM, Zhangfei Gao wrote: > Hi Eric > > On Thu, Feb 27, 2020 at 9:50 PM Auger Eric wrote: >> >> Hi Daniel, >> >> On 2/27/20 12:17 PM, Daniel P. Berrangé wrote: >>> On Fri, Feb 14, 2020 at 02:27:35PM +0100, Eric Auger wrote: This series implements the QEMU

Re: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-03-02 Thread Zhangfei Gao
Hi Eric On Thu, Feb 27, 2020 at 9:50 PM Auger Eric wrote: > > Hi Daniel, > > On 2/27/20 12:17 PM, Daniel P. Berrangé wrote: > > On Fri, Feb 14, 2020 at 02:27:35PM +0100, Eric Auger wrote: > >> This series implements the QEMU virtio-iommu device. > >> > >> This matches the v0.12 spec (voted) and

Re: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-02-27 Thread Auger Eric
Hi Daniel, On 2/27/20 12:17 PM, Daniel P. Berrangé wrote: > On Fri, Feb 14, 2020 at 02:27:35PM +0100, Eric Auger wrote: >> This series implements the QEMU virtio-iommu device. >> >> This matches the v0.12 spec (voted) and the corresponding >> virtio-iommu driver upstreamed in 5.3. All kernel

Re: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-02-27 Thread Daniel P . Berrangé
On Fri, Feb 14, 2020 at 02:27:35PM +0100, Eric Auger wrote: > This series implements the QEMU virtio-iommu device. > > This matches the v0.12 spec (voted) and the corresponding > virtio-iommu driver upstreamed in 5.3. All kernel dependencies > are resolved for DT integration. The virtio-iommu can

Re: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-02-23 Thread Michael S. Tsirkin
On Fri, Feb 21, 2020 at 02:27:30PM +, Peter Maydell wrote: > On Fri, 14 Feb 2020 at 13:28, Eric Auger wrote: > > > > This series implements the QEMU virtio-iommu device. > > > > This matches the v0.12 spec (voted) and the corresponding > > virtio-iommu driver upstreamed in 5.3. All kernel

Re: [PATCH v16 00/10] VIRTIO-IOMMU device

2020-02-21 Thread Peter Maydell
On Fri, 14 Feb 2020 at 13:28, Eric Auger wrote: > > This series implements the QEMU virtio-iommu device. > > This matches the v0.12 spec (voted) and the corresponding > virtio-iommu driver upstreamed in 5.3. All kernel dependencies > are resolved for DT integration. The virtio-iommu can be >

[PATCH v16 00/10] VIRTIO-IOMMU device

2020-02-14 Thread Eric Auger
This series implements the QEMU virtio-iommu device. This matches the v0.12 spec (voted) and the corresponding virtio-iommu driver upstreamed in 5.3. All kernel dependencies are resolved for DT integration. The virtio-iommu can be instantiated in ARM virt using: "-device virtio-iommu-pci". Non