Re: [PATCH] iommu/amd: Track when amd_iommu_v2 init is complete

2015-01-12 Thread Joerg Roedel
Hi Oded, On Mon, Dec 22, 2014 at 12:23:44PM +0200, Oded Gabbay wrote: > The drm guys suggested we move iommu/ subsystem before gpu/ > subsystem in drivers/Makefile instead of the above patch (and the > complementing patch-set in amdkfd). > I did that and it works, so please see this patch as disca

Re: [PATCH] iommu/amd: Track when amd_iommu_v2 init is complete

2014-12-22 Thread Oded Gabbay
On 12/20/2014 10:27 PM, Oded Gabbay wrote: On 12/20/2014 10:12 PM, Oded Gabbay wrote: This patch adds a new exported function to amd_iommu_v2, which returns 1 if the amd_iommu_v2 initialization function has completed, and 0 otherwise. This is necessary for the case when amd_iommu_v2 is comp

Re: [PATCH] iommu/amd: Track when amd_iommu_v2 init is complete

2014-12-20 Thread Oded Gabbay
On 12/20/2014 10:12 PM, Oded Gabbay wrote: > This patch adds a new exported function to amd_iommu_v2, which returns 1 if > the > amd_iommu_v2 initialization function has completed, and 0 otherwise. > > This is necessary for the case when amd_iommu_v2 is compiled inside the kernel > image (not a

[PATCH] iommu/amd: Track when amd_iommu_v2 init is complete

2014-12-20 Thread Oded Gabbay
This patch adds a new exported function to amd_iommu_v2, which returns 1 if the amd_iommu_v2 initialization function has completed, and 0 otherwise. This is necessary for the case when amd_iommu_v2 is compiled inside the kernel image (not as module) and another module (e.g. amdkfd), which is also