diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2022-02-04 09:35:31 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-09 22:46:35 +0000 |
commit | 7d7f3ae69b3b981b632bb8585e5d17497387496a (patch) | |
tree | 5cd115c19d557ab3828482adbaf365cba0ee953f /src/mainboard/google/brya/variants/baseboard | |
parent | 09c047c2972720f6c222407db99d5c36f46666dc (diff) |
mb/google/brya: Mark the WWAN device as an UntrustedDevice
The ChromiumOS kernel has the ability to restrict devices to their own
IOMMU security domains when ACPI passes this property to a device
downstream of a PCIe RP.
BUG=b:215424986
TEST=verified the property is found and WWAN is restricted to its own
IOMMU domain as expected.
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: I1717c0976d1d961772245fd420368fe5a9c1262e
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61628
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants/baseboard')
-rw-r--r-- | src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb b/src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb index a277120074..0c0e8c41d4 100644 --- a/src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb +++ b/src/mainboard/google/brya/variants/baseboard/brya/devicetree.cb @@ -166,6 +166,10 @@ chip soc/intel/alderlake .clk_req = 5, .flags = PCIE_RP_LTR | PCIE_RP_AER, }" + chip drivers/pcie/generic + register "is_untrusted" = "1" + device pci 0 on end + end end #PCIE6 WWAN device ref pcie_rp8 on # Enable SD Card PCIE 8 using clk 3 |