Skip to content

Report two normal probe states at info level (ANE pin, PCIe-C without preinit) - #1015

Merged
RyanTheTide merged 2 commits into
integration/aurorafrom
blog/clean-boot-20261106
Nov 6, 2026
Merged

RyanTheTide merged 2 commits into
integration/aurorafrom
blog/clean-boot-20261106

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

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 with dev_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_warn to dev_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

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]>
@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Boot test on the M1 Pro (fleet16 baseline vs 7.3.0-aurora-blog1, built from this branch on integration/aurora 0943983):

  • fleet16: 3x thunderbolt-apple-acio ...: PCIe-C tunnel disabled at warning.
  • blog1: the same 3 lines at info, 0 at warning. Kernel warning+ lines went from 12 to 4 (btrfs swapfile, BT LE Coded, spi-nor vcc, kauditd).
  • SELinux enforcing, 0 AVC, no failed units. Restored to fleet16 afterwards.

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.

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