lkml.org 
[lkml]   [2016]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFT v2] iommu/amd: use subsys_initcall() on amdv2 iommu
From
Date
Am 09.04.2016 um 02:25 schrieb Luis R. Rodriguez:
> On Tue, Mar 29, 2016 at 10:41 AM, Luis R. Rodriguez <mcgrof@kernel.org> wrote:
>> We need to ensure amd iommu v2 initializes before
>> driver uses such as drivers/gpu/drm/amd/amdkfd/kfd_module.c,
>> to do this make its init routine a subsys_initcall() which
>> ensures its load init is called first than modules when
>> built-in.
>>
>> This reverts the old work around implemented through commit
>> 1bacc894c227fad8a7 ("drivers: Move iommu/ before gpu/ in Makefile"),
>> instead of making the dependency implicit by linker order this
>> makes the ordering requirement explicit through proper kernel
>> APIs.
>>
>> Cc: Oded Gabbay <oded.gabbay@amd.com>
>> Cc: Christian König <christian.koenig@amd.com>
>> Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>

Sorry for not responding earlier. Just coming back to all the stuff on
my TODO list.

Patch is Acked-by: Christian König <christian.koenig@amd.com>

Regards,
Christian.

> *poke*
>
> Luis

\
 
 \ /
  Last update: 2016-04-11 16:02    [W:0.124 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site