From: patrick Date: Wed, 10 Jul 2024 18:46:42 +0000 (+0000) Subject: Extend DMA constraints override to include all SC8280XP and X1E80100 based X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bfdbd8ec741357943af2165ee91996c7a72bc027;p=openbsd 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@ --- 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 @@ -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. */