Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp512050lqe; Sat, 6 Apr 2024 10:19:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDqH0LS8tXa+b7c4AuFiiyLY9QDBc7kC/oAlNHP7yP6glCmDEpnH6isUVHpfgszGQIqbgOyQY0vboS7mizbZXJ0NcZZaAt8EIgFbwWJg== X-Google-Smtp-Source: AGHT+IGwpVV8nLTjecsyWYySStgWIAv4wYNSpgd05dlOtKoOF+98n08TOd4onjsoZUFBJ4Asyt94 X-Received: by 2002:a17:903:25ce:b0:1e1:a54:1e44 with SMTP id jc14-20020a17090325ce00b001e10a541e44mr4143456plb.16.1712423949861; Sat, 06 Apr 2024 10:19:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712423949; cv=pass; d=google.com; s=arc-20160816; b=LDATdLxT7NESxCCov5Smj4MbdHoypudZ3S4W3BO1L/y/y9sNbHQHy1Ty3FCg4gW8BJ 2/vVSy3anB3BW2M6sTG3ChE90aF+B01LMS2jSo8A034uhltZ15t+zfj7Yo9Qc3aP9MSx lLgTidAY0AXTU/HXmcGKkw5f/4hKbMZiMQpMVlX8ilj9YfdECw8OGA1JQopW7WYIIG9X rHUQPDKWhqkRq2JGzV9+AlEUo/r4ALK4HBZb4OTGjZZzaLUshGZpaAjL8IF8lN0lywcs A0NCsLpD87WxFFsmHOiBGvVacnzLtGBOXa3u8SYSeXqZzy+gLBQAI7FaFVPExbUH8LhT SfNA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=nAEQxXw+XRp9uZGd5HCvDnmTyd3ZDuxqbC75fH5/7VA=; fh=kY2aOUwN0YUiDi9Pq0oJ2PHiyoksf2oCMQoCWGL8vqQ=; b=nlp8vb00Lis+H6Askd1JgR4OogXI24MNUGdPaCjDMHysThpo36Ufo1FPiWqNjq088m uO1fDovB7IuU1C5h29Vj3J26bFhWcmkEV9EvuPGsPjUX47S3JWLmidUhWUem1BfXDJZJ p5UMHOHthrU7+jpZe+5VgzpaQG6+KK4C3Zzu17iK9gsqX3clq1kXQFnbJyDdMjN8vG2M W8vTeBgymNjpSd9ojqX4aRlTvI03nSeMmeDLdJfRMYRYK9KEPsi3XefVrh2BCmaspfSl eNDQY+YF0gfsPtdPYu08Q5DWI0d5e7EmJAkmu78cqaxyEgDi/UPJO1KLSqZ0vRA+6LKn labQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="hZV0VKF/"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-134038-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134038-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k14-20020a170902ce0e00b001e3e8b37b01si538853plg.244.2024.04.06.10.19.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 10:19:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134038-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="hZV0VKF/"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-134038-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134038-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 56530281F22 for ; Sat, 6 Apr 2024 17:19:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23F9B40BE6; Sat, 6 Apr 2024 17:19:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="hZV0VKF/" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C45B0381C2; Sat, 6 Apr 2024 17:18:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712423941; cv=none; b=UZwEA9wS5xo392hGgnx3GWmVEOIJqUV9xeJ8IWfukH5V3sY0PHxzuO0WgRd8Q0bBjibvrLgjVebGrOCTZOzBom/vnz/ygUvXxOtpBUV+pM3l0RF0y6ygxBFUrfimQOy4Rtyt91Z8W/9YNMM4DakjjhWExCFdw19ypTpSPUVOdbE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712423941; c=relaxed/simple; bh=FTrOH0OlOjWrK3A0l8wznAoEtxiq1cIfTifGsp+jt+8=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=ewa0ZSNRaXn6Beaes6FlCvup3C/145oEoNLnIyCV1A7/O+Idmh7WPac53uSwxroyvgQ3+bd3dPljwP/cLlqs92xrroRImfo5RRg7aBC2SRe4Etw/1fcmS8IMTh34LuUBPPWOIAOeayFT/0eprJBiGiq7xpk4dH5tNiMorB3vwrk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=hZV0VKF/; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 436HACiE017060; Sat, 6 Apr 2024 17:18:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=nAEQxXw+XRp9uZGd5HCvDnmTyd3ZDuxqbC75fH5/7VA=; b=hZ V0VKF/XyDc2l6bqY8V4L8Hds+OAqM21wtlU4JMPzzkr3xWmaTP9//vSbhvVB3YF7 yN0XQ7jALOZ4vkoVzeXq/YzfRCuowRnkhaARto6YTz2ZPty0YJ4CNaeYuwK9uZHN JzyBzxUcL/iqeN0KhMXjOy+m30OkgNLRjms6HB48iuQJNehBdB3QYHFsIzxHnhNq vugnJ5PcpZol8WnSsHjelG2p4q7bEm3B8SokiJDnED6xW2rtszEhFo7QW3TgZ9pT H5gmoueXYJLU8rcuAmNUk9DkSxWluLTVGCKkk6G2Yh1UsN9hxc21KlGKZsPFNZp+ gZxfzEoeHtB/Jv3otrNg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xax04gsrn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 06 Apr 2024 17:18:43 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 436HIg73016124 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 6 Apr 2024 17:18:42 GMT Received: from [10.216.54.180] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Sat, 6 Apr 2024 10:18:34 -0700 Message-ID: Date: Sat, 6 Apr 2024 22:48:29 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH v8 2/7] arm64: dts: qcom: sm8450: Add interconnect path to PCIe node Content-Language: en-US To: Manivannan Sadhasivam , Konrad Dybcio CC: Bjorn Andersson , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , "Rob Herring" , Johan Hovold , "Brian Masney" , Georgi Djakov , , , , , , , , , References: <20240302-opp_support-v8-0-158285b86b10@quicinc.com> <20240302-opp_support-v8-2-158285b86b10@quicinc.com> <4bd2e661-8e1e-41ff-9b7f-917bb92a196d@linaro.org> <20240405074044.GC2953@thinkpad> From: Krishna Chaitanya Chundru In-Reply-To: <20240405074044.GC2953@thinkpad> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: szxG_ZrRKvw6_b92RnkY6ajW2_sFXmSw X-Proofpoint-ORIG-GUID: szxG_ZrRKvw6_b92RnkY6ajW2_sFXmSw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-06_13,2024-04-05_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxlogscore=999 mlxscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404060136 On 4/5/2024 1:10 PM, Manivannan Sadhasivam wrote: > On Wed, Mar 06, 2024 at 05:04:54PM +0100, Konrad Dybcio wrote: >> >> >> On 3/2/24 04:59, Krishna chaitanya chundru wrote: >>> Add pcie-mem & cpu-pcie interconnect path to the PCIe nodes. >>> >>> Reviewed-by: Manivannan Sadhasivam >>> Signed-off-by: Krishna chaitanya chundru >>> --- >>> arch/arm64/boot/dts/qcom/sm8450.dtsi | 8 ++++++++ >>> 1 file changed, 8 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi >>> index 01e4dfc4babd..6b1d2e0d9d14 100644 >>> --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi >>> +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi >>> @@ -1781,6 +1781,10 @@ pcie0: pcie@1c00000 { >>> <0 0 0 3 &intc 0 0 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ >>> <0 0 0 4 &intc 0 0 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ >>> + interconnects = <&pcie_noc MASTER_PCIE_0 0 &mc_virt SLAVE_EBI1 0>, >> >> Please use QCOM_ICC_TAG_ALWAYS. >> >>> + <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_PCIE_0 0>; >> >> And this path could presumably be demoted to QCOM_ICC_TAG_ACTIVE_ONLY? >> > > I think it should be fine since there would be no register access done while the > RPMh is put into sleep state. Krishna, can you confirm that by executing the CX > shutdown with QCOM_ICC_TAG_ACTIVE_ONLY vote for cpu-pcie path on any supported > platform? > > But if we do such change, then it should also be applied to other SoCs. > > - Mani > we don't a have platform to test this now, we will keep QCOM_ICC_TAG_ALWAYS for now. - Krishna Chaitanya.