Message ID | 20230113041104.4189152-1-quic_bjorande@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp73331wrt; Thu, 12 Jan 2023 20:14:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXujFcuDalJAVUKXyauNaBtTRlHEsD219SUpdDvxU295i0GgZ24fCdKIxpga6zNMBYGNP9bi X-Received: by 2002:a17:90b:4cc4:b0:228:c8a1:3510 with SMTP id nd4-20020a17090b4cc400b00228c8a13510mr12553252pjb.5.1673583264524; Thu, 12 Jan 2023 20:14:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673583264; cv=none; d=google.com; s=arc-20160816; b=dlZRp3Y4nA2PqQVTUC9TBDQMTjuaCU9gQQiw7L8ytlV/f+4H10g6GjfMF2TWKchGs8 Tb3UqxzX4GSasdiYZk0oGoCDZ8QaNC4LoBlp0jsmFGS25aoHX97jLnv7k2g7C3auFG+4 TXiQJfbIe9F0c+yG9go8gIWRbi9K3KQrapw4Ng5ICDpIk256r4TJAgpFl76yOH+sHLui ad1m8x1qAX4pyLTTad4K5zN3lxRxGoRfpQ0wdaAlAlcd/8wwgWkRMv2K9LOiDkyoZdYJ Z2WNf3xPPiXskWDGViyNYpCEvpJUSc/CNytvTOn/sN9EJEnnnbpEr6x57L+IUefLGy8v a3Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pHB1SwHMn9vhNtCb67Y1xawf9PwUZdWleR+TFjQEuG4=; b=FhE8Cw+szCgwZRmNkmLY11mxfSFfKCKaddQVjFK3IURcEI+SmU9tlGMzpqlW9ZeLZ4 Hpzc9sZKEc+ctgenEOF6EEgWlQHFFsmdw3z2fShLNNiE7mjVy/tWYQrryelJcnqNpGqn FdR/fwxg4A/pbmxXDo/WKN5nNBa0Pgaagv+Aq8URrmvLT8S0oDpfmtV8SKsRiDVFaXc7 fa0HNq12j5LsZq1AfqQJ39rdeGMQLl2YJED1XcnEJt1tlmrzu1Tg5qWJIgNg9bHRX1XL mUNS65CYhwEQOgkrHTOnt7ummpn1jATbmlIHBWUcZVINsK7HV8q0mXgX+QlXMn0lRI6S q1Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=J76K2xs4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h190-20020a6383c7000000b004b0db80f37esi7142745pge.517.2023.01.12.20.14.12; Thu, 12 Jan 2023 20:14:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=J76K2xs4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232913AbjAMEMr (ORCPT <rfc822;zhuangel570@gmail.com> + 99 others); Thu, 12 Jan 2023 23:12:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235425AbjAMELv (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 12 Jan 2023 23:11:51 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18F7D59FB1 for <linux-kernel@vger.kernel.org>; Thu, 12 Jan 2023 20:11:34 -0800 (PST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30D40LRB012662; Fri, 13 Jan 2023 04:11:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=pHB1SwHMn9vhNtCb67Y1xawf9PwUZdWleR+TFjQEuG4=; b=J76K2xs4Upj/F3pd5vLM0CJvFKakvKWszTYgvBWUbPjfoKcFSOr6Q1SMS/BPJ4P5+WO/ uiqJEUSRG2vhAqhkcpV9EaiBc8NbTjZay87YuygjphS2zZA6jK2p4h44WTABt1WZ2fm9 aL1dUSQfE2jgYU1LnElXaf0X9EDttxClAE8jD9+Df6lSr1tZwolvSKiRC/Ny2CUoG+2P XyI+5NIjGk2jQhgqe//DnK+n5obi5Om/PWsU/T+/vy9veMuKxJFj8lwXNpC9BELS/3bV kX9ZH0aue+Q9GlH5byWQp5b3UfzaptGkW4inajc70ylOmq2xaVWXlhuY+Yz9Nft8BMVj mg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n2hum1rkd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Jan 2023 04:11:11 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30D4BAPd009768 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 13 Jan 2023 04:11:10 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Thu, 12 Jan 2023 20:11:09 -0800 From: Bjorn Andersson <quic_bjorande@quicinc.com> To: Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, "Joerg Roedel" <joro@8bytes.org>, Sai Prakash Ranjan <quic_saipraka@quicinc.com> CC: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, <linux-arm-kernel@lists.infradead.org>, <iommu@lists.linux.dev>, <linux-kernel@vger.kernel.org> Subject: [PATCH] iommu/arm-smmu-qcom: Select identity domain for sc8280xp MDSS Date: Thu, 12 Jan 2023 20:11:04 -0800 Message-ID: <20230113041104.4189152-1-quic_bjorande@quicinc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: kOx46HEsIyfhjYhk1ElO0cimwlFJ29KR X-Proofpoint-ORIG-GUID: kOx46HEsIyfhjYhk1ElO0cimwlFJ29KR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-12_14,2023-01-12_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 adultscore=0 bulkscore=0 suspectscore=0 mlxlogscore=999 spamscore=0 impostorscore=0 mlxscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301130026 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754879244948586814?= X-GMAIL-MSGID: =?utf-8?q?1754879244948586814?= |
Series |
iommu/arm-smmu-qcom: Select identity domain for sc8280xp MDSS
|
|
Commit Message
Bjorn Andersson
Jan. 13, 2023, 4:11 a.m. UTC
The Qualcomm display driver installs a translation domain once it has
mapped a framebuffer. Use the identity domain for this device on
SC8280XP as well, to avoid faults from EFI FB accessing the framebuffer
while this is being set up.
Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
---
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 1 +
1 file changed, 1 insertion(+)
Comments
On 13.01.2023 05:11, Bjorn Andersson wrote: > The Qualcomm display driver installs a translation domain once it has > mapped a framebuffer. Use the identity domain for this device on > SC8280XP as well, to avoid faults from EFI FB accessing the framebuffer > while this is being set up. > > Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > 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 4c53824582d4..cebc10c0492d 100644 > --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c > @@ -250,6 +250,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = { > { .compatible = "qcom,sc7280-mdss" }, > { .compatible = "qcom,sc7280-mss-pil" }, > { .compatible = "qcom,sc8180x-mdss" }, > + { .compatible = "qcom,sc8280xp-mdss" }, > { .compatible = "qcom,sm8250-mdss" }, > { .compatible = "qcom,sdm845-mdss" }, > { .compatible = "qcom,sdm845-mss-pil" },
On Thu, 12 Jan 2023 20:11:04 -0800, Bjorn Andersson wrote: > The Qualcomm display driver installs a translation domain once it has > mapped a framebuffer. Use the identity domain for this device on > SC8280XP as well, to avoid faults from EFI FB accessing the framebuffer > while this is being set up. > > Applied to will (for-joerg/arm-smmu/updates), thanks! [1/1] iommu/arm-smmu-qcom: Select identity domain for sc8280xp MDSS https://git.kernel.org/will/c/1d6316e50572 Cheers,
diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c index 4c53824582d4..cebc10c0492d 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c @@ -250,6 +250,7 @@ static const struct of_device_id qcom_smmu_client_of_match[] __maybe_unused = { { .compatible = "qcom,sc7280-mdss" }, { .compatible = "qcom,sc7280-mss-pil" }, { .compatible = "qcom,sc8180x-mdss" }, + { .compatible = "qcom,sc8280xp-mdss" }, { .compatible = "qcom,sm8250-mdss" }, { .compatible = "qcom,sdm845-mdss" }, { .compatible = "qcom,sdm845-mss-pil" },