From: kettenis Date: Thu, 8 Sep 2022 19:30:05 +0000 (+0000) Subject: The SC7180 (snapdragon 7c) needs the SMMU quirk as well. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ec3fe8a08d63be76030b955b806a772662d1fcd9;p=openbsd The SC7180 (snapdragon 7c) needs the SMMU quirk as well. It seems reasonable that SC8180X/XP needs the quirk too, so preemtively add these to the list as well. ok patrick@ --- diff --git a/sys/arch/arm64/dev/smmu_acpi.c b/sys/arch/arm64/dev/smmu_acpi.c index 3aff7a88cd8..b56ac927d88 100644 --- a/sys/arch/arm64/dev/smmu_acpi.c +++ b/sys/arch/arm64/dev/smmu_acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: smmu_acpi.c,v 1.6 2022/08/11 14:49:42 patrick Exp $ */ +/* $OpenBSD: smmu_acpi.c,v 1.7 2022/09/08 19:30:05 kettenis Exp $ */ /* * Copyright (c) 2021 Patrick Wildt * @@ -150,7 +150,9 @@ smmu_acpi_foundqcom(struct aml_node *node, void *arg) if (acpi_parsehid(node, arg, cdev, dev, sizeof(dev)) != 0) return 0; - if (strcmp(dev, "QCOM0609") == 0) + if (strcmp(dev, "QCOM0409") == 0 || /* SC8180X/XP */ + strcmp(dev, "QCOM0609") == 0 || /* SC8280XP */ + strcmp(dev, "QCOM0809") == 0) /* SC7180 */ sc->sc_is_qcom = 1; return 0;