Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-14 Thread Alex Williamson
suse.de; Wood Scott-B07421; linux- > > p...@vger.kernel.org; ga...@kernel.crashing.org; linux- > > ker...@vger.kernel.org; iommu@lists.linux-foundation.org; > > b...@kernel.crashing.org; linuxppc-...@lists.ozlabs.org > > Subject: Re: [PATCH 2/7] iommu: add api to get iomm

RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-14 Thread Sethi Varun-B16395
.org; linux- > ker...@vger.kernel.org; iommu@lists.linux-foundation.org; > b...@kernel.crashing.org; linuxppc-...@lists.ozlabs.org > Subject: Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device > > On Thu, 2013-10-10 at 20:09 +, Sethi Varun-B16395 wrote: > > > > &

Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-10 Thread Alex Williamson
> > > > > To: Bhushan Bharat-R65777 > > > > > > Cc: j...@8bytes.org; b...@kernel.crashing.org; > > > > > > ga...@kernel.crashing.org; linux- ker...@vger.kernel.org; > > > > > > linuxppc-...@lists.ozlabs.org; linux- p...@vger.kernel.org; &

RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-10 Thread Sethi Varun-B16395
..@vger.kernel.org; > ga...@kernel.crashing.org; linux-ker...@vger.kernel.org; > iommu@lists.linux-foundation.org; b...@kernel.crashing.org; linuxppc- > d...@lists.ozlabs.org > Subject: Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device > > On Mon, 2013-10-07 at 05:4

RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-07 Thread Bhushan Bharat-R65777
> > > Do you really want module dependencies between vfio and your core > > > kernel MSI setup? Look at the vfio external user interface that we've > already defined. > > > That allows other components of the kernel to get a proper reference > > > to a vfio group. From there you can work out how

Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-07 Thread Alex Williamson
org; b...@kernel.crashing.org; ga...@kernel.crashing.org; > > linux- > > ker...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; linux- > > p...@vger.kernel.org; ag...@suse.de; Wood Scott-B07421; iommu@lists.linux- > > foundation.org > > Subject: Re: [PATCH 2/7] iommu: add api to

RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-06 Thread Bhushan Bharat-R65777
.kernel.org; linuxppc-...@lists.ozlabs.org; linux- > p...@vger.kernel.org; ag...@suse.de; Wood Scott-B07421; iommu@lists.linux- > foundation.org > Subject: Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device > > On Fri, 2013-10-04 at 17:23 +, Bhushan Bharat-R65777 wrote: > > &

Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-04 Thread Alex Williamson
org; b...@kernel.crashing.org; ga...@kernel.crashing.org; > > linux- > > ker...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; linux- > > p...@vger.kernel.org; ag...@suse.de; Wood Scott-B07421; iommu@lists.linux- > > foundation.org > > Subject: Re: [PATCH 2/7] iommu: add api to

RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-04 Thread Bhushan Bharat-R65777
.kernel.org; linuxppc-...@lists.ozlabs.org; linux- > p...@vger.kernel.org; ag...@suse.de; Wood Scott-B07421; iommu@lists.linux- > foundation.org > Subject: Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device > > On Fri, 2013-10-04 at 16:47 +, Bhushan Bharat-R65777 wrote: > > &

Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-04 Thread Alex Williamson
org; b...@kernel.crashing.org; ga...@kernel.crashing.org; > > linux- > > ker...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; linux- > > p...@vger.kernel.org; ag...@suse.de; Wood Scott-B07421; iommu@lists.linux- > > foundation.org > > Subject: Re: [PATCH 2/7] iommu: add api to

RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-04 Thread Bhushan Bharat-R65777
.kernel.org; linuxppc-...@lists.ozlabs.org; linux- > p...@vger.kernel.org; ag...@suse.de; Wood Scott-B07421; iommu@lists.linux- > foundation.org > Subject: Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device > > On Fri, 2013-10-04 at 09:54 +, Bhushan Bharat-R65777 wrote: > > &

Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-04 Thread Alex Williamson
t; > foundation.org; Bhushan Bharat-R65777 > > Subject: Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device > > > > On Thu, 2013-09-19 at 12:59 +0530, Bharat Bhushan wrote: > > > This api return the iommu domain to which the device is attached. > > &

RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-04 Thread Bhushan Bharat-R65777
; linux- > p...@vger.kernel.org; ag...@suse.de; Wood Scott-B07421; iommu@lists.linux- > foundation.org > Subject: RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device > > > > > -Original Message- > > From: linux-pci-ow...@vger.kernel.org >

RE: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-10-04 Thread Bhushan Bharat-R65777
ernel.crashing.org; > linux- > ker...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; linux- > p...@vger.kernel.org; ag...@suse.de; Wood Scott-B07421; iommu@lists.linux- > foundation.org; Bhushan Bharat-R65777 > Subject: Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device >

Re: [PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-09-25 Thread Alex Williamson
On Thu, 2013-09-19 at 12:59 +0530, Bharat Bhushan wrote: > This api return the iommu domain to which the device is attached. > The iommu_domain is required for making API calls related to iommu. > Follow up patches which use this API to know iommu maping. > > Signed-off-by: Bharat Bhushan > --- >

[PATCH 2/7] iommu: add api to get iommu_domain of a device

2013-09-19 Thread Bharat Bhushan
This api return the iommu domain to which the device is attached. The iommu_domain is required for making API calls related to iommu. Follow up patches which use this API to know iommu maping. Signed-off-by: Bharat Bhushan --- drivers/iommu/iommu.c | 10 ++ include/linux/iommu.h |7