Skip to content

Revert "PCI: mark devices below a device tree external-facing port untrusted" - #3351

Merged
RyanTheTide merged 1 commit into
mainfrom
revert/3213-untrusted-ports
Nov 27, 2026
Merged

RyanTheTide merged 1 commit into
mainfrom
revert/3213-untrusted-ports

Conversation

@RyanTheTide

@RyanTheTide RyanTheTide commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Problem: #3213 merged through auto-merge on my code approval, before the hardware rows its description lists as owed. It makes every device behind a USB4/Thunderbolt PCIe tunnel untrusted and removable on every Mac, which means strict IOMMU handling and bounce buffering, and it hasn't run on a Mac yet.

Change: a plain revert of the merge (drivers/pci/probe.c only).

Tested: no runtime change from the tree before #3213 (312b92c9): drivers/pci/probe.c is identical to it.

Risk: two-way · every Mac with USB4 PCIe tunnels; this restores the earlier behaviour.

Still to run: reland #3213 with a USB4 dock row (tunnelled Ethernet and NVMe working, throughput noted) and the built-in Wi-Fi staying trusted, on one Mac per USB4 generation.

Review note

Merge-train error: auto-merge was enabled on #3213, and I approved the code meaning "merge after the rows".

…trusted"

This reverts merge c9f9324 (#3213). It merged on an approval before
the hardware rows its description lists as owed. It marks every device
behind a USB4/Thunderbolt PCIe tunnel untrusted and removable on every
Apple Silicon Mac, which turns on strict IOMMU handling and bounce
buffering for them, and that has not run on a Mac yet. Reland it once a
USB4 dock's PCIe devices (Ethernet, NVMe) and the built-in Wi-Fi have
been checked on one Mac per USB4 generation.

Signed-off-by: Ryan Murray <[email protected]>
@RyanTheTide
RyanTheTide requested review from a team as code owners November 27, 2026 04:45
@RyanTheTide
RyanTheTide merged commit 343026e into main Nov 27, 2026
3 checks passed
@RyanTheTide
RyanTheTide deleted the revert/3213-untrusted-ports branch November 27, 2026 13:21
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