From: Vinod Koul <vkoul@kernel.org>
To: Dave Jiang <dave.jiang@intel.com>, Fenghua Yu <fenghua.yu@intel.com>
Cc: dmaengine@vger.kernel.org,
linux-kernel <linux-kernel@vger.kernel.org>,
Michael Prinke <michael.prinke@intel.com>
Subject: Re: [PATCH] dmaengine: idxd: Register dsa_bus_type before registering idxd sub-drivers
Date: Thu, 28 Sep 2023 17:26:03 +0530 [thread overview]
Message-ID: <169590216388.152265.6921600433276753022.b4-ty@kernel.org> (raw)
In-Reply-To: <20230924162232.1409454-1-fenghua.yu@intel.com>
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
prev parent reply other threads:[~2023-09-28 11:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-24 16:22 Fenghua Yu
2023-09-26 16:27 ` Lijun Pan
2023-09-26 17:23 ` Dave Jiang
2023-09-28 11:56 ` Vinod Koul [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=169590216388.152265.6921600433276753022.b4-ty@kernel.org \
--to=vkoul@kernel.org \
--cc=dave.jiang@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=fenghua.yu@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=michael.prinke@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®