Re: [PATCH v5] PCI: Detect and trust built-in Thunderbolt chips
From: Esther Shimanovich
Date: Tue Nov 24 2026 - 17:32:54 EST
> Looks like this caused a regression: on non-x86, dev->untrusted is never
> set to true for any device (so we *never* enforce DMA protection from
> externally plugged devices), since set_pcie_untrusted() solely relies on
> arch_pci_dev_is_removable() which is implemented on x86 only (on other
> archs it is a stub returning false), without checking
> parent->external_facing on other archs like it did before this patch.
>
> (I found this by looking at the code, not by testing.)
I agree, this looks like a bug I introduced during one of the rounds
of feedback. Happy to implement a fix, but I no longer have access to
any devices I could validate a fix on, as I have switched teams, and
am no longer on ChromeOS.