From patchwork Mon Sep 25 23:42:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Acayan X-Patchwork-Id: 13398572 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CAA82E6FE31 for ; Mon, 25 Sep 2023 23:43:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=N8ChAUyOdzN5u96kGidDXimVqZ1ucvdPzbW8X2kMvqU=; b=QY8yXjHIYhzPzt 8pnlS0AtuTeYoJELvsOosTrXxbDR2Na6ohkoCahFYegWdhWxpjzJSPNKLOqiA9RejS9foy3hTNpRY OTBu8OQlJnimoTS9GKQu3lEPpULy1HtDz3GG/3dryRBaoZT/jkqd+/26UsyGJG/sQot9qn3GomPST XQqikev6pIlBYqb2tUCwSb7xQegIJx2atXYCGqWMKnqlVysKQJBtPt5jL6sxR7e5wcRZY4wMEHcXI k3lCeFT3seAZrl+Rj1qRRr/rrcBDfbdFbUw9uT11cOS4jJpE0UCWP9vYSwVk7n39zxELLhkxvMOC1 iKBnA0Ujpgt5RBJMfIlA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkvEJ-00FEkI-0g; Mon, 25 Sep 2023 23:43:07 +0000 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkvEG-00FEjk-1d for linux-arm-kernel@lists.infradead.org; Mon, 25 Sep 2023 23:43:05 +0000 Received: by mail-qt1-x831.google.com with SMTP id d75a77b69052e-4194c3cf04aso3369491cf.3 for ; Mon, 25 Sep 2023 16:43:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695685382; x=1696290182; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kE+gJD3NfvOq+ONMMPxSos0Sh0hveSGbfmOAPzArSWo=; b=VgAlWSIJaphigkYlOo2bpauaMO+dlLIKRgSS7YlNRdLhzfacEDWc8R01P1vUex/Wa5 r9zne6fzAjr7/ruU8utRFpoDAbN197DeP77hYxmTBVGSd9SmS/cVOf+DVTIT26iSpgZw kOkAGeRkkqtJBk7Y/scQXy6lZB/n1s4BaMRPx1vumXzF86/7xv2stOGKO2CTjjZQ04tU Bv/XZMbhZ4UvC/1Lf61FqrUgjWhULhEjOo7hT09JmgFmHE/StdJ+k/j1amem2o+zY435 RVfLiU4YQAvXeIpSav7rPNNOgpeV9fw7OfacAbG0F2sfgsKuiPgkdIC5izTDB6hpYrv5 NSdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695685382; x=1696290182; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kE+gJD3NfvOq+ONMMPxSos0Sh0hveSGbfmOAPzArSWo=; b=E3/rf/nKyEC+Vfyv0lXnqgjrxVMbiKJulfz4h4XZlOkIYXZlpqBSaUT1+FrMH1v9UN oAtq+zPfUYO6B6Y5OyENNhpgBeyUKHbI+gJ/d3GXky4tnzKTUhgDk8qwZ2n62Oe4bpLi KlFv1p77Zb5Y4OXaHdi8lyA8w9TLbsmELq0/KhoXx5XH2eZuTXDvC4dmxiZnq9sQ2tKP hUsa/k3mJLY45lPgryKYnve4Hwy/tViKRZbkCm72lUkfGCJWTUfNty+ZD1Kl0vR07Qik TixCCM9vZmEPvbmgQHWSj4hFIqL2yVyxQi7P+o5uNvMJoORy0yY/1+r1FJ/BjzQ2crRH cO3g== X-Gm-Message-State: AOJu0YwWCS50B0gHfFxsdzYbCRfZmeLdNI3J79hqJxm/h7+3uYySMErZ BorFXrl9q+xFWOQ8VcTyxwU= X-Google-Smtp-Source: AGHT+IExFo1O6zL/2eNvYMAA3umVnfog9PiztuNE0qXDXfqI+CHgnoabN1/VSvWlt00VPB2ALccbjA== X-Received: by 2002:a05:622a:188f:b0:417:bdd5:fd10 with SMTP id v15-20020a05622a188f00b00417bdd5fd10mr11095461qtc.51.1695685382667; Mon, 25 Sep 2023 16:43:02 -0700 (PDT) Received: from localhost ([2607:fea8:529e:7800::efbe]) by smtp.gmail.com with ESMTPSA id h10-20020ac8568a000000b004181138e0c0sm1845614qta.31.2023.09.25.16.43.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 16:43:02 -0700 (PDT) From: Richard Acayan To: Will Deacon , Robin Murphy , Joerg Roedel , Dmitry Baryshkov , Konrad Dybcio , Sai Prakash Ranjan , Bjorn Andersson , Marijn Suijten , Elliot Berman , Manivannan Sadhasivam , Rob Clark , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev Cc: Richard Acayan Subject: [PATCH] iommu/arm-smmu-qcom: Add SDM670 MDSS compatible Date: Mon, 25 Sep 2023 19:42:48 -0400 Message-ID: <20230925234246.900351-3-mailingradian@gmail.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230925_164304_567975_4638215F X-CRM114-Status: GOOD ( 11.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the compatible for the MDSS client on the Snapdragon 670 so it can be properly configured by the IOMMU driver. Otherwise, there is an unhandled context fault. Signed-off-by: Richard Acayan Reviewed-by: Dmitry Baryshkov --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index 7f52ac67495f..8290494bc7ea 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -251,6 +251,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = { { .compatible = "qcom,sc7280-mss-pil" }, { .compatible = "qcom,sc8180x-mdss" }, { .compatible = "qcom,sc8280xp-mdss" }, + { .compatible = "qcom,sdm670-mdss" }, { .compatible = "qcom,sdm845-mdss" }, { .compatible = "qcom,sdm845-mss-pil" }, { .compatible = "qcom,sm6350-mdss" },