Skip to content

driver core: name the missing supplier only when the link is broken - #1103

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
bootlog2/missing-supplier-quiet
Nov 7, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
bootlog2/missing-supplier-quiet

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

device_links_missing_supplier() carries a debug print from f9a2a62 ("driver-core: Add error message to device_links_missing_supplier WARN()"): it logs devices misses supplier %s with dev_err() for every supplier that is not bound when a consumer's probe does not complete, and only then warns if the link is not SYNC_STATE_ONLY. A SYNC_STATE_ONLY link is a firmware-graph hint that does not order probing, so an unbound supplier is expected there.

On the Neo (J700) with the integration device tree (Stage 2 DT refresh 11-07, CD2E22 repeater + VL122 hub described) the Type-C PHY defers once until the repeater module loads, and every boot logs four err-level lines:

platform 40b000000.phy: devices misses supplier 40a280000.usb

The PHY then binds and USB comes up; nothing is missing. This folds the supplier name into the WARN(), so it is still printed in the one case that is a real bug (a non-SYNC_STATE_ONLY link) and nothing is printed for the expected one.

Tests:

  • checkpatch --strict: clean.
  • Hardware: Neo one-shot of test kernel 7.3.0-aurora-b2t1 (integration 43c790f + this) pending; result will be added here (expect journalctl -b -p 3 empty on the Neo).

🤖 Generated with Claude Code

device_links_missing_supplier() logged "devices misses supplier" with
dev_err() for every supplier that was not bound when a consumer's probe
did not complete, then warned only when the link was not
SYNC_STATE_ONLY. A SYNC_STATE_ONLY link is a firmware-graph hint that
does not order probing, so an unbound supplier is expected there: on
the Neo (J700) the Type-C PHY defers once until the CD2E22 repeater
module loads, and every boot logged four err-level lines although the
PHY then bound and USB came up.

Fold the message into the WARN() so the supplier is still named in the
one case that is a real bug, and nothing is printed for the expected
one.

Fixes: f9a2a62 ("driver-core: Add error message to device_links_missing_supplier WARN()")
Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Neo (J700) hardware, 11-08 00:01, integration Stage 2 DTB (DT2), test kernel 7.3.0-aurora-b2t1 (integration 43c790f + this + #1104 + #1105 + the Thunderbolt dfl_wq fix): journalctl -b -p 3 is empty; the Type-C PHY still defers once and binds, USB up. Same DTB on fleet23 (without this) logs the four devices misses supplier 40a280000.usb lines at 00:03. 0 AVC, 0 failed units, s2idle via rtc1 clean. Ready for the merge train.

@RyanTheTide
RyanTheTide merged commit 1d23373 into integration/aurora Nov 7, 2026
1 check passed
@RyanTheTide
RyanTheTide deleted the bootlog2/missing-supplier-quiet branch November 7, 2026 13:06
RyanTheTide added a commit that referenced this pull request Nov 7, 2026
Brings aurora-wip up to fleet25: DT descriptions (#1029, #1030, #1112),
the J715 board (#1129), Stockholm NFC (#1042, #1136), the AV1 tile check
(#1100), the M4 Max ANE profile and AVD quirk (#1088, #1091), boot-log
fixes (#1103, #1104) and the Neo ANE memory floor (#1137).

Conflicts: macaudio.c and apple,macaudio.yaml, where aurora-wip's J813
and J873 entries and integration's J715 entries were added at the same
spot. Keep all of them.

Signed-off-by: Ryan Murray <[email protected]>
Assisted-by: LLM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant