Repository navigation
Revert "PCI: mark devices below a device tree external-facing port untrusted" - #3351
Merged
Merged
Conversation
…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]>
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.
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.conly).Tested: no runtime change from the tree before #3213 (
312b92c9):drivers/pci/probe.cis 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".