summaryrefslogtreecommitdiff
path: root/src/drivers/wifi/generic/chip.h
diff options
context:
space:
mode:
authorTim Wawrzynczak <twawrzynczak@chromium.org>2022-01-25 14:05:20 -0700
committerFelix Held <felix-coreboot@felixheld.de>2022-02-04 20:12:32 +0000
commit3babc8e12cdbe6b93c7661d6cb941ac98b89cb82 (patch)
tree5d31df28dfd1bf360ee062c2cd24a5bf9f337b07 /src/drivers/wifi/generic/chip.h
parent3623eca5253b6863b3677953cac342b3a1f85dad (diff)
drivers/wifi/generic: Add support for UntrustedDevice ACPI property
The Linux kernel has the idea of an "untrusted" PCI device, which may have limited I/O and memory access permissions, depending on which IOMMU domains it may be a part of. https://crrev.com/c/3406512 is a backport to the ChromiumOS kernel which checks for this property. BUG=b:215424986 TEST=dump SSDT on google/redrix, verify it contains the expected UntrustedDevice property Change-Id: I1a02ca7c5f717097ec97cf6373b9e0b81a13e05d Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61384 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kangheui Won <khwon@chromium.org>
Diffstat (limited to 'src/drivers/wifi/generic/chip.h')
-rw-r--r--src/drivers/wifi/generic/chip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/wifi/generic/chip.h b/src/drivers/wifi/generic/chip.h
index e3b0ba5698..35726f2171 100644
--- a/src/drivers/wifi/generic/chip.h
+++ b/src/drivers/wifi/generic/chip.h
@@ -9,6 +9,9 @@
*/
struct drivers_wifi_generic_config {
unsigned int wake;
+ /* When set to true, this will add a _DSD which contains a single
+ property, `UntrustedDevice`, set to 1, to the ACPI Device. */
+ bool is_untrusted;
};
#endif /* _GENERIC_WIFI_H_ */