Repository navigation
Report two normal probe states at info level (ANE pin, PCIe-C without preinit) - #1015
Merged
Merged
Conversation
When the boot sequence has started the firmware CPU, the driver keeps its module reference for as long as the device lives, because the firmware may still run and the module must not be unloaded under it. That is the normal result of every successful boot, but it was logged as a warning, so every M2 boot log carried a warning from a driver that was working. Log it at info level. A boot that fails after the CPU has started is still reported with dev_err() just below. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
On M1 and M2 Macs m1n1 does not bring up the PCIe-C tunnel controller, and the kernel only cold-initialises it on the generations the PCI driver admits. Every USB4 port then logged a warning at probe, two on the M2 and three on the M1 Pro, although the router works and nothing failed: PCIe tunnelling is not offered on these ports. Say so once per port at info level. Errors while mapping or resetting a tunnel that is available are still reported as before. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Contributor
Author
|
Boot test on the M1 Pro (fleet16 baseline vs 7.3.0-aurora-blog1, built from this branch on integration/aurora 0943983):
The ANE line only prints on the M2, which is stranded right now. The change is the same one-line level change and boots fine in blog1. |
This was referenced Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two warnings in our own drivers show up in every M1 Pro and M2 boot log, though nothing has failed:
ane_t6021 ...ane: boot: module pinned while firmware CPU may run(M2). This is the normal result of every successful ANE boot: the module stays pinned while the firmware CPU runs. A failure after CPU start is still reported withdev_err().thunderbolt-apple-acio ...cio: PCIe-C tunnel disabled: not initialized by m1n1 or the kernel(two on the M2, three on the M1 Pro). M1/M2 have no PCIe-C preinit yet, so PCIe tunnelling isn't offered. That is a feature gap, not a probe fault. Mapping and reset errors on an available tunnel are unchanged.Both now log at info level. Each commit changes one
dev_warntodev_info, and checkpatch is clean. Compile-tested with the fleet17 config (W=1, both objects).Hardware boot proof on the M2 and M1 Pro follows before merge. Both are held by other lanes right now.
🤖 Generated with Claude Code