From: patrick Date: Tue, 2 Jul 2024 19:41:52 +0000 (+0000) Subject: Give the Qualcomm Snapdragon X Elite (X1E80100) the same treatment as its X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=60036ea56503a2c67a8c44cc554c59bdb713d7ca;p=openbsd Give the Qualcomm Snapdragon X Elite (X1E80100) the same treatment as its predecessors and don't touch the SMMUv2. ok kettenis@ --- 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;