Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp429746rdf; Tue, 21 Nov 2023 06:39:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IH5RQvAVP84qaFb7obBdNkKIx7bTVnuz4QHUkqOMODTnyiq8br/koVk0ENtgcsceh+UP0sH X-Received: by 2002:a05:6a21:3810:b0:186:555e:bc80 with SMTP id yi16-20020a056a21381000b00186555ebc80mr6796353pzb.25.1700577554501; Tue, 21 Nov 2023 06:39:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700577554; cv=none; d=google.com; s=arc-20160816; b=j8O101uhBeOnh0nDpx0NAFp1algXfmpTWhZFEQi8zSo/is4BN/RBZvSj59HQbqcwWt 9vNuM1Jh6vm/t8iOoD3+VzJ73/RGsoHFo2ES2pO9he9Fml5Vun3KSJ7VKMm/H4pKX5Bf ZYVYfnqRashsd0j4FZ+lc70S/x0NcvJee2e01n+qqBG+GDz2BgA7mP2MBcryAjoWWgky erno/tJyvIAuvzF220l2+uaA7VXJhVZe+dKcoIgeNWKlsIJ5VC+pNgScuptWleNfdoe1 RCK1lzHG5GgYrq2BnfqjEsIs7emDAFE07YjyRuU6npNVXdk11Oj9aKIgruVjvIM8JEcU L9NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=aUPxlfWznkWempLYw6sszPrFHrjowYGFrJvEebgYjRc=; fh=Pk1D+TX8j7yMhBoMDvb6Z0dI8+uPCwWwrh/XHSBJc1k=; b=UuTSTRKkaSFfVKd/Ykj04sOtEzCJx23Upc7qMA8rdLhIi+hZrmzFhfY6gZHgCfAHwa 8o22PdHNOd2flw1QEFA9SkVYK/3ptgG84EhoOOqFNiAHFVpjilYMSNTBZlHiTntW9U1U SaF9136ktQVvVVp3Y5ux1gBicwq36/L6SA7uvS98wuhuFg7NBerrN8aR+U/5Tet2edck t3iZI+J9SXu7vYannsjCsYlEhkPKQ0Wgjd+8DytWJQwjRB2nlL7oBR7XJOBMGofB0mtt YlJHjPsTHDPTnvgg9L798ybQ5z7Hut8ku6curQxsnqPvvWI0HtqE5qgl+uH6XLxZJlcq DX1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZRmh5d+D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id f15-20020aa7968f000000b006cb82bb5252si5168172pfk.393.2023.11.21.06.39.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 06:39:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZRmh5d+D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6ED3A80879D2; Tue, 21 Nov 2023 06:39:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234560AbjKUOiq (ORCPT + 99 others); Tue, 21 Nov 2023 09:38:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234637AbjKUOil (ORCPT ); Tue, 21 Nov 2023 09:38:41 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FA37D79; Tue, 21 Nov 2023 06:38:36 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3ALE2ce2003390; Tue, 21 Nov 2023 14:38:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=qcppdkim1; bh=aUPxlfWznkWempLYw6sszPrFHrjowYGFrJvEebgYjRc=; b=ZRmh5d+DeO+5Xlf3cI3N0Hrtr3Msb/LgJPrUEZytC2172+Q/tohDAeBscj4P61uQ/t9L A32EjBLh+eWJAGd/yZyjuEXla1/yPQ+gOqfcGCcSCLTCb1/hfJ2ofqQVNiGe4Taff8gX kaV74dt8ptu4GtF+NUQi3H4eT3lspY4pAqHLEPj8uAHkftbS0uR91GwtHEOtrR5VlGFP GYbYupxvHVehsKy7FoqMxkBH8VD3TtvChp20GQexn3NCXbNz+29+rU3Ik+Kjcuakt/Fv WUZ3dTp+p0PauAhOJo1KyQ4u29RaAG+UhKL4xb3/U5Sj6NVvQt9v2m0rabqGocyc+p4C 2w== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ugssks5bj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 14:38:30 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 3ALEcL7I006121; Tue, 21 Nov 2023 14:38:27 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3uepbke7qq-1; Tue, 21 Nov 2023 14:38:27 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3ALEcRPG006143; Tue, 21 Nov 2023 14:38:27 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-msarkar-hyd.qualcomm.com [10.213.111.194]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3ALEcQVM006141; Tue, 21 Nov 2023 14:38:27 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3891782) id BD7A74C8C; Tue, 21 Nov 2023 20:08:25 +0530 (+0530) From: Mrinmay Sarkar To: agross@kernel.org, andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, konrad.dybcio@linaro.org, mani@kernel.org, robh+dt@kernel.org Cc: quic_shazhuss@quicinc.com, quic_nitegupt@quicinc.com, quic_ramkri@quicinc.com, quic_nayiluri@quicinc.com, dmitry.baryshkov@linaro.org, robh@kernel.org, quic_krichai@quicinc.com, quic_vbadigan@quicinc.com, quic_parass@quicinc.com, quic_schintav@quicinc.com, quic_shijjose@quicinc.com, Mrinmay Sarkar , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v4 3/3] arm64: dts: qcom: sa8775p: Mark PCIe EP controller as cache coherent Date: Tue, 21 Nov 2023 20:08:13 +0530 Message-Id: <1700577493-18538-4-git-send-email-quic_msarkar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1700577493-18538-1-git-send-email-quic_msarkar@quicinc.com> References: <1700577493-18538-1-git-send-email-quic_msarkar@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Kusuuj3FmIf-Kk3r0ZK-13XGQjharu6P X-Proofpoint-ORIG-GUID: Kusuuj3FmIf-Kk3r0ZK-13XGQjharu6P X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-21_08,2023-11-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 mlxscore=0 spamscore=0 clxscore=1015 malwarescore=0 mlxlogscore=999 priorityscore=1501 impostorscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311210114 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 06:39:10 -0800 (PST) The PCIe EP controller on SA8775P supports cache coherency, hence add the "dma-coherent" property to mark it as such. Signed-off-by: Mrinmay Sarkar Reviewed-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/sa8775p.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p.dtsi b/arch/arm64/boot/dts/qcom/sa8775p.dtsi index 7eab458..ab01efe 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p.dtsi +++ b/arch/arm64/boot/dts/qcom/sa8775p.dtsi @@ -3620,6 +3620,7 @@ <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>; interconnect-names = "pcie-mem", "cpu-pcie"; + dma-coherent; iommus = <&pcie_smmu 0x0000 0x7f>; resets = <&gcc GCC_PCIE_0_BCR>; reset-names = "core"; -- 2.7.4