* [PATCH v1] driver core: Demote "Fixed dependency cycle(s)" message to debug level
@ 2026-11-06 8:40 Songwei Chai
2026-11-06 8:50 ` Johan Hovold
0 siblings, 1 reply; 3+ messages in thread
From: Songwei Chai @ 2026-11-06 8:40 UTC (permalink / raw)
To: gregkh, rafael, dakr, johan, driver-core, linux-kernel
Cc: Songwei Chai, songchai, linux-arm-kernel, linux-arm-msm,
coresight, devicetree
fw_devlink detects and relaxes dependency cycles automatically, so this
is not an error condition requiring user action. On complex DT
topologies (e.g. CoreSight), this message can fire for many node
pairs and adds noise to the boot log, even though it's primarily
useful for debugging. Switch pr_info() to pr_debug() so it stays
available via dynamic debug when actually needed, without cluttering
default boot logs.
For example, on sm8750 this produces 125 such lines in the boot log in
total, 80 of which are CoreSight-related, e.g.:
[ 0.057190] /soc@0/funnel@10041000: Fixed dependency cycle(s) with /soc@0/stm@10002000
[ 0.057211] /soc@0/stm@10002000: Fixed dependency cycle(s) with /soc@0/funnel@10041000
[ 0.057229] /soc@0/funnel@10041000: Fixed dependency cycle(s) with /soc@0/tpda@10004000
[ 0.057249] /soc@0/tpda@10004000: Fixed dependency cycle(s) with /soc@0/funnel@10041000
[ 0.057254] /soc@0/tpdm@1000f000: Fixed dependency cycle(s) with /soc@0/tpda@10004000
[ 0.057260] /soc@0/tpda@10004000: Fixed dependency cycle(s) with /soc@0/tpdm@1000f000
Signed-off-by: Songwei Chai <songwei.chai@oss.qualcomm.com>
---
drivers/base/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/core.c b/drivers/base/core.c
index cbe05197d4a0..da4f7ff2ebcb 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -132,7 +132,7 @@ static void __fwnode_link_cycle(struct fwnode_link *link)
return;
link->flags |= FWLINK_FLAG_CYCLE;
- pr_info("%pfwf: Fixed dependency cycle(s) with %pfwf\n",
+ pr_debug("%pfwf: Fixed dependency cycle(s) with %pfwf\n",
link->consumer, link->supplier);
}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] driver core: Demote "Fixed dependency cycle(s)" message to debug level
2026-11-06 8:40 [PATCH v1] driver core: Demote "Fixed dependency cycle(s)" message to debug level Songwei Chai
@ 2026-11-06 8:50 ` Johan Hovold
2026-11-09 2:08 ` Songwei.Chai
0 siblings, 1 reply; 3+ messages in thread
From: Johan Hovold @ 2026-11-06 8:50 UTC (permalink / raw)
To: Songwei Chai
Cc: gregkh, rafael, dakr, driver-core, linux-kernel, songchai,
linux-arm-kernel, linux-arm-msm, coresight, devicetree,
Saravana Kannan
[ +CC: Saravana ]
On Fri, Nov 06, 2026 at 04:40:34PM +0800, Songwei Chai wrote:
> fw_devlink detects and relaxes dependency cycles automatically, so this
> is not an error condition requiring user action. On complex DT
> topologies (e.g. CoreSight), this message can fire for many node
> pairs and adds noise to the boot log, even though it's primarily
> useful for debugging. Switch pr_info() to pr_debug() so it stays
> available via dynamic debug when actually needed, without cluttering
> default boot logs.
>
> For example, on sm8750 this produces 125 such lines in the boot log in
> total, 80 of which are CoreSight-related, e.g.:
>
> [ 0.057190] /soc@0/funnel@10041000: Fixed dependency cycle(s) with /soc@0/stm@10002000
> [ 0.057211] /soc@0/stm@10002000: Fixed dependency cycle(s) with /soc@0/funnel@10041000
> [ 0.057229] /soc@0/funnel@10041000: Fixed dependency cycle(s) with /soc@0/tpda@10004000
> [ 0.057249] /soc@0/tpda@10004000: Fixed dependency cycle(s) with /soc@0/funnel@10041000
> [ 0.057254] /soc@0/tpdm@1000f000: Fixed dependency cycle(s) with /soc@0/tpda@10004000
> [ 0.057260] /soc@0/tpda@10004000: Fixed dependency cycle(s) with /soc@0/tpdm@1000f000
I reported this elsewhere a while back:
https://lore.kernel.org/all/Z6t45aOGDkotqM4Z@hovoldconsulting.com/
Are you sure it's not the coresight bindings that should be fixed?
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] driver core: Demote "Fixed dependency cycle(s)" message to debug level
2026-11-06 8:50 ` Johan Hovold
@ 2026-11-09 2:08 ` Songwei.Chai
0 siblings, 0 replies; 3+ messages in thread
From: Songwei.Chai @ 2026-11-09 2:08 UTC (permalink / raw)
To: Johan Hovold
Cc: gregkh, rafael, dakr, driver-core, linux-kernel, songchai,
linux-arm-kernel, linux-arm-msm, coresight, devicetree,
Saravana Kannan
On 11/6/2026 4:50 PM, Johan Hovold wrote:
> [ +CC: Saravana ]
>
> On Fri, Nov 06, 2026 at 04:40:34PM +0800, Songwei Chai wrote:
>> fw_devlink detects and relaxes dependency cycles automatically, so this
>> is not an error condition requiring user action. On complex DT
>> topologies (e.g. CoreSight), this message can fire for many node
>> pairs and adds noise to the boot log, even though it's primarily
>> useful for debugging. Switch pr_info() to pr_debug() so it stays
>> available via dynamic debug when actually needed, without cluttering
>> default boot logs.
>>
>> For example, on sm8750 this produces 125 such lines in the boot log in
>> total, 80 of which are CoreSight-related, e.g.:
>>
>> [ 0.057190] /soc@0/funnel@10041000: Fixed dependency cycle(s) with /soc@0/stm@10002000
>> [ 0.057211] /soc@0/stm@10002000: Fixed dependency cycle(s) with /soc@0/funnel@10041000
>> [ 0.057229] /soc@0/funnel@10041000: Fixed dependency cycle(s) with /soc@0/tpda@10004000
>> [ 0.057249] /soc@0/tpda@10004000: Fixed dependency cycle(s) with /soc@0/funnel@10041000
>> [ 0.057254] /soc@0/tpdm@1000f000: Fixed dependency cycle(s) with /soc@0/tpda@10004000
>> [ 0.057260] /soc@0/tpda@10004000: Fixed dependency cycle(s) with /soc@0/tpdm@1000f000
> I reported this elsewhere a while back:
>
> https://lore.kernel.org/all/Z6t45aOGDkotqM4Z@hovoldconsulting.com/
>
> Are you sure it's not the coresight bindings that should be fixed?
No, Johan, I don't think this is a Coresight bindings issue.
This is the mechanical result of the standard bidirectional graph
binding + fw_devlink's direction-agnostic phandle scan — it will appear
on any SoC/CoreSight topology using the standard binding, and there's no
alternative binding syntax that avoids it.
>
> Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-09 2:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-06 8:40 [PATCH v1] driver core: Demote "Fixed dependency cycle(s)" message to debug level Songwei Chai
2026-11-06 8:50 ` Johan Hovold
2026-11-09 2:08 ` Songwei.Chai
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®