summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2024-07-10 18:46:43 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2024-07-10 18:46:43 +0000
commit9d1fcc0fa9e646b77cbad7efe5ccc5e07085b25c (patch)
tree7add36a9b93ebf7797112080c0df3c2a71e252aa /sys
parent07e4da534636cf5618f4d04e9bc2ff18eb4c61e6 (diff)
Extend DMA constraints override to include all SC8280XP and X1E80100 based
machines. The shipped hardware containing ath11k and ath12k WiFi cards all need to have 32-bit DMA constraints enforced. ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/stand/efiboot/efiboot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/arm64/stand/efiboot/efiboot.c b/sys/arch/arm64/stand/efiboot/efiboot.c
index b52fb2289aa..044bf6e52f2 100644
--- a/sys/arch/arm64/stand/efiboot/efiboot.c
+++ b/sys/arch/arm64/stand/efiboot/efiboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: efiboot.c,v 1.56 2024/07/07 09:38:44 patrick Exp $ */
+/* $OpenBSD: efiboot.c,v 1.57 2024/07/10 18:46:42 patrick Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@ -588,7 +588,8 @@ efi_dma_constraint(void)
fdt_node_is_compatible(node, "rockchip,rk3588") ||
fdt_node_is_compatible(node, "rockchip,rk3588s"))
dma_constraint[1] = htobe64(0xffffffff);
- if (fdt_node_is_compatible(node, "lenovo,thinkpad-x13s"))
+ if (fdt_node_is_compatible(node, "qcom,sc8280xp") ||
+ fdt_node_is_compatible(node, "qcom,x1e80100"))
dma_constraint[1] = htobe64(0xffffffff);
/* Pass DMA constraint. */