RE: [1/3] powerpc/vfio: Enable on POWERNV platform

2013-12-13 Thread bharat.bhus...@freescale.com
Varun-B16395; Bhushan Bharat-R65777 > Subject: Re: [1/3] powerpc/vfio: Enable on POWERNV platform > > On Fri, 2013-12-13 at 14:02 +1100, Alexey Kardashevskiy wrote: > > On 12/13/2013 10:35 AM, Scott Wood wrote: > > > On Tue, May 21, 2013 at 01:33:09PM +1000, Alexey Kardashevsk

Re: [1/3] powerpc/vfio: Enable on POWERNV platform

2013-12-13 Thread Scott Wood
On Fri, 2013-12-13 at 14:02 +1100, Alexey Kardashevskiy wrote: > On 12/13/2013 10:35 AM, Scott Wood wrote: > > On Tue, May 21, 2013 at 01:33:09PM +1000, Alexey Kardashevskiy wrote: > >> +static int iommu_add_device(struct device *dev) > >> +{ > >> + struct iommu_table *tbl; > >> + int ret = 0; >

Re: [1/3] powerpc/vfio: Enable on POWERNV platform

2013-12-12 Thread Alexey Kardashevskiy
On 12/13/2013 10:35 AM, Scott Wood wrote: > On Tue, May 21, 2013 at 01:33:09PM +1000, Alexey Kardashevskiy wrote: >> +static int iommu_add_device(struct device *dev) >> +{ >> +struct iommu_table *tbl; >> +int ret = 0; >> + >> +if (WARN_ON(dev->iommu_group)) { >> +pr_warn("io

Re: [1/3] powerpc/vfio: Enable on POWERNV platform

2013-12-12 Thread Scott Wood
On Tue, May 21, 2013 at 01:33:09PM +1000, Alexey Kardashevskiy wrote: > +static int iommu_add_device(struct device *dev) > +{ > + struct iommu_table *tbl; > + int ret = 0; > + > + if (WARN_ON(dev->iommu_group)) { > + pr_warn("iommu_tce: device %s is already in iommu group %d