Re: [PATCH] dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers

From: Vinod Koul
Date: Thu Sep 28 2023 - 07:56:11 EST



On Sun, 24 Sep 2023 09:22:32 -0700, Fenghua Yu wrote:
> idxd sub-drivers belong to bus dsa_bus_type. Thus, dsa_bus_type must be
> registered in dsa bus init before idxd drivers can be registered.
>
> But the order is wrong when both idxd and idxd_bus are builtin drivers.
> In this case, idxd driver is compiled and linked before idxd_bus driver.
> Since the initcall order is determined by the link order, idxd sub-drivers
> are registered in idxd initcall before dsa_bus_type is registered
> in idxd_bus initcall. idxd initcall fails:
>
> [...]

Applied, thanks!

[1/1] dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers
commit: 88928addeec577386e8c83b48b5bc24d28ba97fd

Best regards,
--
~Vinod