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

From: Oded Gabbay
Date: Wed Mar 16 2016 - 06:17:32 EST


On Wed, Mar 16, 2016 at 12:14 PM, Joerg Roedel <joro@xxxxxxxxxx> wrote:
> On Wed, Mar 16, 2016 at 09:02:43AM +0200, Oded Gabbay wrote:
>> fwiw, we currently have this covered by the ugly hack of putting iommu
>> subsystem in front of gpu subsystem in the main drivers makefile (See
>> 1bacc894c227fad8a727eb99728df708eba57654)
>
> Sure, but the above is a less ugly hack to solve the problem. So the
> question is, would that work too?
>
>
> Joerg
>

In theory it should, but I would prefer that it would be tested on
actual hardware.

Oded