Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1374556

Re: [RFT v2] iommu/amd: use subsys_initcall() on amdv2 iommu

From "Luis R. Rodriguez" <mcgrof@kernel.org>
Newsgroups linux.kernel
Subject Re: [RFT v2] iommu/amd: use subsys_initcall() on amdv2 iommu
Date 2016-04-09 02:30 +0200
Message-ID <rlOWL-4YX-17@gated-at.bofh.it> (permalink)
References <rdnh0-3tX-9@gated-at.bofh.it> <ri5Wa-18l-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>

*poke*

 Luis

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [RFT v2] iommu/amd: use subsys_initcall() on amdv2 iommu "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-04-09 02:30 +0200
  Re: [RFT v2] iommu/amd: use subsys_initcall() on amdv2 iommu Oded Gabbay <oded.gabbay@gmail.com> - 2016-04-11 15:50 +0200
    Re: [RFT v2] iommu/amd: use subsys_initcall() on amdv2 iommu "Luis R. Rodriguez" <mcgrof@kernel.org> - 2016-04-13 00:10 +0200

csiph-web