From 60036ea56503a2c67a8c44cc554c59bdb713d7ca Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 2 Jul 2024 19:41:52 +0000 Subject: [PATCH] Give the Qualcomm Snapdragon X Elite (X1E80100) the same treatment as its predecessors and don't touch the SMMUv2. ok kettenis@ --- sys/arch/arm64/dev/smmu_fdt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/arm64/dev/smmu_fdt.c b/sys/arch/arm64/dev/smmu_fdt.c index cb6b542a12a..2c645da3f37 100644 --- a/sys/arch/arm64/dev/smmu_fdt.c +++ b/sys/arch/arm64/dev/smmu_fdt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smmu_fdt.c,v 1.6 2022/11/06 12:14:52 patrick Exp $ */ +/* $OpenBSD: smmu_fdt.c,v 1.7 2024/07/02 19:41:52 patrick Exp $ */ /* * Copyright (c) 2021 Patrick Wildt * @@ -83,7 +83,8 @@ smmu_fdt_attach(struct device *parent, struct device *self, void *aux) sc->sc_is_mmu500 = 1; if (OF_is_compatible(faa->fa_node, "marvell,ap806-smmu-500")) sc->sc_is_ap806 = 1; - if (OF_is_compatible(faa->fa_node, "qcom,sc8280xp-smmu-500")) + if (OF_is_compatible(faa->fa_node, "qcom,sc8280xp-smmu-500") || + OF_is_compatible(faa->fa_node, "qcom,x1e80100-smmu-500")) sc->sc_is_qcom = 1; if (OF_getproplen(faa->fa_node, "dma-coherent") == 0) sc->sc_coherent = 1; -- 2.20.1