summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Hasemeyer <markhas@google.com>2023-05-09 23:19:05 -0600
committerFelix Held <felix-coreboot@felixheld.de>2023-05-22 12:43:56 +0000
commit4c967471383ab18895c4a25615b75a6aba15686f (patch)
treea4abaf71f027d776fea112f59fbe30d1cb6b48f5
parentbfe2cd402d30e7eb7b82f3f4c7d096dcffe2c5b1 (diff)
mb/google/skyrim: Enable DmaProperty on WLAN device
Set the DmaProperty in the device's _DSD so that the OS can treat the device as untrusted. BUG=b:278310256 TEST=cat /sys/bus/pci/devices/<wifi>/untrusted == 1 iperf3 -c <iperf3-server> -t 60 (No performance regressions seen) Change-Id: I06369a19afa5b881b26f5c1eb243e2db41a9bb36 Signed-off-by: Mark Hasemeyer <markhas@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75095 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Van Patten <timvp@google.com>
-rw-r--r--src/mainboard/google/skyrim/variants/baseboard/devicetree.cb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb b/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
index f863197e9e..d0d60bd539 100644
--- a/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/skyrim/variants/baseboard/devicetree.cb
@@ -94,6 +94,7 @@ chip soc/amd/mendocino
chip drivers/pcie/generic
register "wake_gpe" = "GEVENT_8"
register "wake_deepest" = "ACPI_S0"
+ register "add_acpi_dma_property" = "true"
register "name" = ""WLAN""
device pci 00.0 on end
end