[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-12-10 Thread Thomas Monjalon
> > The current implementation of VFIO will not with the new no-IOMMU mode > > in 4.4 kernel. The original code assumed that IOMMU group zero would > > never be used. Group numbers are assigned starting at zero, and up until > > now the group numbers came from the hardware which is likely to use

[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-12-10 Thread Burakov, Anatoly
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Wednesday, December 9, 2015 5:56 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] vfio: support iommu group zero > > The current implementation of VF

[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-12-09 Thread Thomas Monjalon
2015-12-09 09:55, Stephen Hemminger: > The current implementation of VFIO will not with the new no-IOMMU mode > in 4.4 kernel. The original code assumed that IOMMU group zero would > never be used. Group numbers are assigned starting at zero, and up > until now the group numbers came from the

[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-12-09 Thread Alex Williamson
On Wed, 2015-12-09 at 16:52 -0800, Stephen Hemminger wrote: > On Wed, 09 Dec 2015 16:22:14 -0700 > Alex Williamson wrote: > > > On Wed, 2015-12-09 at 15:12 -0800, Stephen Hemminger wrote: > > > On Wed, 09 Dec 2015 23:49:59 +0100 > > > Thomas Monjalon wrote: > > > > > > > 2015-12-09 13:58,

[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-12-09 Thread Stephen Hemminger
On Wed, 09 Dec 2015 16:22:14 -0700 Alex Williamson wrote: > On Wed, 2015-12-09 at 15:12 -0800, Stephen Hemminger wrote: > > On Wed, 09 Dec 2015 23:49:59 +0100 > > Thomas Monjalon wrote: > > > > > 2015-12-09 13:58, Stephen Hemminger: > > > > On Wed, 09 Dec 2015 22:12:33 +0100 > > > > Thomas

[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-12-09 Thread Alex Williamson
On Wed, 2015-12-09 at 15:12 -0800, Stephen Hemminger wrote: > On Wed, 09 Dec 2015 23:49:59 +0100 > Thomas Monjalon wrote: > > > 2015-12-09 13:58, Stephen Hemminger: > > > On Wed, 09 Dec 2015 22:12:33 +0100 > > > Thomas Monjalon wrote: > > > > > > > 2015-12-09 09:55, Stephen Hemminger: > > > >

[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-12-09 Thread Stephen Hemminger
On Wed, 09 Dec 2015 23:49:59 +0100 Thomas Monjalon wrote: > 2015-12-09 13:58, Stephen Hemminger: > > On Wed, 09 Dec 2015 22:12:33 +0100 > > Thomas Monjalon wrote: > > > > > 2015-12-09 09:55, Stephen Hemminger: > > > > The current implementation of VFIO will not with the new no-IOMMU mode > > >

[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-12-09 Thread Stephen Hemminger
On Wed, 09 Dec 2015 22:12:33 +0100 Thomas Monjalon wrote: > 2015-12-09 09:55, Stephen Hemminger: > > The current implementation of VFIO will not with the new no-IOMMU mode > > in 4.4 kernel. The original code assumed that IOMMU group zero would > > never be used. Group numbers are assigned

[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-12-09 Thread Stephen Hemminger
On Wed, 09 Dec 2015 22:12:33 +0100 Thomas Monjalon wrote: > So I guess you have tested the VFIO no-iommu patch. > Is it working well with DPDK with only this patch for group zero? > Have you talked to Alex Williamson? I did test it enough to bring up a link but I needed this patch. The patch

[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-12-09 Thread Stephen Hemminger
The current implementation of VFIO will not with the new no-IOMMU mode in 4.4 kernel. The original code assumed that IOMMU group zero would never be used. Group numbers are assigned starting at zero, and up until now the group numbers came from the hardware which is likely to use group 0 for

[dpdk-dev] [PATCH] vfio: support iommu group zero

2015-10-27 Thread Stephen Hemminger
From: Stephen Hemminger The implementation of VFIO is broken on some platforms and if using the proposed VFIO without IOMMU patch. IOMMU group zero is a valid value. Change code to split the return value from the group value. Signed-off-by: Stephen Hemminger ---