From patchwork Fri Jan 13 04:11:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 13099720 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 1D618C54EBE for ; Fri, 13 Jan 2023 04:12:25 +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=0tPR06L51+DAepqIMOdiF27RYHJxiej9PA6daEptXM0=; b=lbHeNn3FMi1ct4 ApY7YM2rv29IOKGvy8mXOfQM7krBsgVRJt9HzCxSjC+/tZGszfFivU38Xm6Wi3tXf6WHkPz+FCNFL 3BZmJV5QvYo+0QM0mRs9HLU9OO9POZ3TSUy6nsrBVV2b1lOUy8mY3sABslqXRUaIDANqDFk3xT0DA wgNCX+wqhX1wSvdT9l5gqMH+FbStk7ZLnRRmV08lO5XOV0k/6DpVzMz7CQqpDI0x7nYvUp7SbxmXl 90N9FcA5ysFUAsGonLvEKYkxSWFAGB4vVNITt1IQu4xiYbrmXNg0cdkxoV96EEO11W6oCwIr/PxLf KdTrVDOyx+Jl0QdQiO6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGBPb-000MAL-2l; Fri, 13 Jan 2023 04:11:27 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGBPX-000M9K-Pd for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 04:11:25 +0000 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 To: Will Deacon , Robin Murphy , "Joerg Roedel" , Sai Prakash Ranjan CC: Dmitry Baryshkov , Konrad Dybcio , , , 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230112_201123_994630_D6D8CD74 X-CRM114-Status: GOOD ( 15.07 ) 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 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 Reviewed-by: Konrad Dybcio --- 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" },