From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795182154; b=ynH3ATWtuBrp9ytj5MbRNbBTolNDRqB4ZnHkBnoqYmK8x/9+keUXmRVsAPLYfAFTCpno LKF+nIdVzSMEswUkFWXIANfYPGuTufP85aib45VtOool0yaBU4mEUvaz4aCL7ZeAYE62f n9SmDEVQ4Q489Ainp8Bur3NH6I4IXlrP6yDQGx4NPOApyXtcfjvgo0Y6MLSoQUFKYSy0a i892RquEHC97aZ+Wm54D4T0U1Hft1TEqwUQryR1lNLj4HZPRgy0szXtynoz/PA0nhPRK4 RcL1BwcStT0YmehSQx8NETrMALTyOw96/SlntZ6bE7JHnP1hsNXcCuyRgbNz4PyDVew== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795182154; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:Date: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Proofpoint-ORIG-GUID: X-Proofpoint-GUID:X-Proofpoint-Spam-Details-Enc:X-Authority-Analysis: X-Proofpoint-Spam-Info:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=hz2XdZj1N82zwwGf5rQXwFrF2Tz/A+hhelwd2ljU2qQ=; b=2ZsHKrDZoDqHu/nvSe8mMAiHA9hg5Oi75DaBlcvfHWy63I4JWY/rJ1SNXaiWfGVKloAl soKDJ+G5n3843t9O1lJNYL28G2cfLbUhQpXUlyDi0Xw7iXP7j/VhCCb4tnMjkgmevgKOE juDf8tDbLK3vgDv877evIfXbqX3r5BnZoH10qOIVSnkdvAEA/TkrMd9iqoXQS7F4yIpJs GZCMsuZW/9CgMhKdFg9amRE179lCmxg3RtDTPW2FILUhAOkEqKo8ns0JzFrCkY/1cNE0t 6zN1AUrnY/oHwwbdZjXchGWc6mEkoJaC2MA2pd03khAZRsEmlPUXVE0bD1zAWjrIqvw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=migPxDrT; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b="X/yyxIlB"; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 926D8606A32A for ; Fri, 20 Nov 2026 13:42:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 926D8606A32A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=migPxDrT; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=X/yyxIlB Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AKAk6PC1528777 for ; Fri, 20 Nov 2026 13:42:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= hz2XdZj1N82zwwGf5rQXwFrF2Tz/A+hhelwd2ljU2qQ=; b=migPxDrTTyI6/FTy q28lmrP8ETqeT+SpI3zFUxhTOKhYcOYH1iNE/nOtgiQaNI+zolAkn7DTpXIgKxUl 0OHhQhiX7xD1ve6vx5arZc78eFX2Kw5RUktAGYOf4ha0ADCWa8gCz6ucKEiIp2V9 XsF9r4TEJEAjX9xKFLCdZgxk/IA4M4Tc5LMSE0DnEZDVY4w1L1VBLa4ugkjV3U3r +ix1/Srndu3GB5+bcNaSD4H2gXPMeNzNsGBZbyK++ceruNaGCgPK65Jn69UU6M6p FyW4MrM5bQ+UNW42r2eBg60FG6V3hE1uRO4oV3frvrZ/HXSUYCVkGjNf8W6Pft8x 3RV/OQ== Received: from mail-dy1-f198.google.com (mail-dy1-f198.google.com [74.125.82.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j2fjtt2hf-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 20 Nov 2026 13:42:32 +0000 (GMT) Received: by mail-dy1-f198.google.com with SMTP id 5a478bee46e88-383f2d05c73so2789573eec.0 for ; Fri, 20 Nov 2026 05:42:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1795182151; x=1795786951; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=hz2XdZj1N82zwwGf5rQXwFrF2Tz/A+hhelwd2ljU2qQ=; b=X/yyxIlB4o8SAXzhULwXpIDKlgT8jiX7SviTYapf4hBxd92SolLgFJkjwELbmvzq6P Dn0uFj8DnyQmFSgAEP8GuwgXLn2VJApKo1dorNryv8n5O5FnxdxgKmTc+tYiVEOgpOor UgpWoBmqn8zv45TDDGwv+7wiF3+O3SxWksJiKGcNfE4YDdnno5Dw5mkyjue022yZwxF9 3cCfzY/bY0ZFGCS0uB8mlPX4omeWx576wucMQhvR1LE7cfo1BVmCdlOP5eQzm6Snxtw5 8sKCBSW1Cf+cjhKEtKunmEG8jzqphumne/Im/K1XoTyDRdVgt0XVeD8Busj1IFGt5NeM zngA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795182151; x=1795786951; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=hz2XdZj1N82zwwGf5rQXwFrF2Tz/A+hhelwd2ljU2qQ=; b=Fe0SLHBxyiQ/yTrc1AlxVeBL3MjpmR1iLYXKYL1p9M0AypLU+6HXsIrWdSvSGWvKPI 6nnCfJx58RAhvzPqUkCZ+GGJodim9Cptr/iW/5RFHG5RDf6J+auEaLLGE5/DcKhgRkic cKkytqEqj7jm3GIyqlpV46vQp+ky13OYDsvoSY7KlaUCUGFSrE2yMj4T3PLbUvzAXQc5 js2FEQ0Z5N9DPt0ewEwG0PtLFce/p9/1ikNWGlztmGgBY7jZilgaDTUAI6WNIEUTH1Di wdpoGVPkjBhxJ0R8hz907W94Q/Cz477ksbOWf+x6H/PZVbn4imY+u8Ojo13RvNZdyLx+ yQ5g== X-Forwarded-Encrypted: i=1; AL+hErFOS+rMC+vkCCRprqNzDVKv/TzrNHHCEx0KF+uIx1tILaugS8v9SG/uFYgMm/dLKG9xKO75GfhpsUAWH+Q=@vger.kernel.org X-Gm-Message-State: APuU4Z+tf7/FQHqCYWVa5+EI8+eEKWAKzpwpdwEwvDV+0uYMdL76INLj lQpMzKjjiu1bIakp1i1+g8tgoImTsSpLhNhBuZzM8LDkFWQwgBA2T2Pm7WOpqe4B13T7cw8d0w1 Ql3xtZ8dhea9pX0IgOZzbxhrWl1lM+x3Rx1wgOICSX1mEt/M+uZ47qD2kXULP79/rIzA= X-Gm-Gg: AZFdTZedFOvAA7DOssDTWPGDsuQnK0278ZaaHLg1Je0ewmNhJyOT1EFIDdvlg/tvK2m odZR7wgQbu8nkcjFf089z8U1CDKCF3yRQuplI+4wsMnx/wx9dXD95MxleIkXiFGSTDIgPr1GP8s hveu7Jvzcb9rh8EMMqdUlmm7d5TIdYTUeswrmIbWda8P6/vUTSKZOq7EacUxCiGg+Qvo+a+VYVu DyO9crQayPqQJhEcooimN2BxgpfxB3z3uXObzj2wVIVXCf+X2i8tKJRlBMYLODpr6QHE+7LoEol met1WmF+KnV9wUaPYm87XpwgRc5J9DuUD51oN5kKVcvbZu+onXhJIhCsUc8p+5eRLBrRnUe43y2 lWDpbacWkuKnC+oGi4rZMVvIVebfnvO4fzMrwU7+cviK9kAGqbLsKVqmEJHShwAj2LUlxbCSEeK uWr08= X-Received: by 2002:a05:7300:e9d6:10b0:369:efd5:9cad with SMTP id 5a478bee46e88-3856fd5b5e6mr3290401eec.8.1795182150850; Fri, 20 Nov 2026 05:42:30 -0800 (PST) X-Received: by 2002:a05:7300:e9d6:10b0:369:efd5:9cad with SMTP id 5a478bee46e88-3856fd5b5e6mr3290338eec.8.1795182150128; Fri, 20 Nov 2026 05:42:30 -0800 (PST) Received: from hu-bibekkum-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-38567da4f85sm9379222eec.27.2026.11.20.05.42.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2026 05:42:29 -0800 (PST) From: Bibek Kumar Patro Date: Fri, 20 Nov 2026 19:11:32 +0530 Subject: [PATCH RESEND v4 01/20] dt-bindings: iommu: arm,smmu: Document interconnects property X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261120-smmu_interconnect_addition-v4-1-be30526391d9@oss.qualcomm.com> References: <20261120-smmu_interconnect_addition-v4-0-be30526391d9@oss.qualcomm.com> In-Reply-To: <20261120-smmu_interconnect_addition-v4-0-be30526391d9@oss.qualcomm.com> To: Will Deacon , Robin Murphy , "Joerg Roedel (AMD)" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rob Clark , Bjorn Andersson , Konrad Dybcio , Abel Vesa Cc: linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bibek Kumar Patro , Krzysztof Kozlowski X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795182138; l=2417; i=bibek.patro@oss.qualcomm.com; s=20260617; h=from:subject:message-id; bh=L9ZDNV193MgcYYJuTHrN/Rk+LSdrA3XbSL8eIPKsLAM=; b=uY0Iae8oylJJB78xRp2RW53OaW97KnbRp1z7xWSKIKHPzU5GnoAeMZpdTPtMbwabSwKL6rJ38 UUwBSOaoeG7C5EEzLSzPvYavoSyymBGzMhXJ24sUJHfdnpandMTpHnA X-Developer-Key: i=bibek.patro@oss.qualcomm.com; a=ed25519; pk=DkrbE5dhskZJmBAKR5LygWRsAydEOSN+T0/YxNYxDLM= X-Proofpoint-ORIG-GUID: CUtpNkHXTIKJRvUlIi_PeHh9ZHo6eKcC X-Proofpoint-GUID: CUtpNkHXTIKJRvUlIi_PeHh9ZHo6eKcC X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTIwMDA1NCBTYWx0ZWRfX2AV2tYaPehbI BNUIBT1z6kUshb2j256EedKbFhRtvuj4MAZvoLfTZlKsw65HAqTAk6NGZIiA4iWYxY8cj80sH6V pNsnle3pSH6SEaickeHUQoPSBYirNgJ+mjaMh1trUtOP0u7tK24rNkB/2phzpThO+sH/xSekCdF ro8HmbeSRBkrpXbVzUOhv8WQu0OSW3V6djjpGIdlNVRs/Ujjxiw2+l7+k5LABMw7+S4yx18YVjd l6KRpbCpfdiyxPWiyE6zDSOPEq7v6Je25vlEyq1FndD5cDcKswbFqDkXsXN9EoQ9lWw07QWFsQ+ U6VfSIuJASwZ33W/aWqWp8DP/GUdAwHX6xMr0ezaubzrbdlq43O4XXjPwNXohqITfIG0xdTxQko ovxHjj/KYiyLjl3C+ZK7PJjQSRDBYa0Yln2RuWz54zZS0H9H75E7mhH7OcOZeXGOmXSQRuIxOUc V/eh0EWmE54k+o0kA8w== X-Authority-Analysis: v=2.4 cv=XcccX455 c=1 sm=1 tr=0 ts=6b004e48 cx=c_pps a=wEP8DlPgTf/vqF+yE6f9lg==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22 a=EUspDBNiAAAA:8 a=LIGS1bie0qojq0S7pNEA:9 a=QEXdDO2ut3YA:10 a=bBxd6f-gb0O0v-kibOvt:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTIwMDA1NCBTYWx0ZWRfX6fUXc+pX0j0F Juyr8w+c1dEtICsYkcoEBxTn+ea3nljHG8vnJA8gAoA+AdrQfUkxwflF0dNJLAMwzNaBdxRbQAZ VvXtCzYAmTQYbxhyfWjLjAspXMYfVFI= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-20_04,2026-11-19_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 malwarescore=0 adultscore=0 spamscore=0 suspectscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611200054 On Qualcomm platforms using the ARM MMU-500 (qcom,smmu-500) as the adreno SMMU, starting from SM8150 (Snapdragon 855), an active bandwidth vote is required on the interconnect path before the SMMU register space is accessible. On these platforms the GPU TCU is a separate hardware block with its own AXI master port (alm_gpu_tcu) on GEM_NOC, independent of the GPU rendering data ports. This means the TCU can be active during wakeup while the GPU data path is idle, leaving GEM_NOC without any other voter and causing intermittent SMMU register access failures. On earlier platforms using QSMMU (SMMU-v2) the TCU is integrated inside the SMMU block and shares the GPU data AXI port, so no independent vote is required. Add the optional 'interconnects' property and allow it for all qcom,smmu-500 + qcom,adreno-smmu combinations. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Bibek Kumar Patro --- .../devicetree/bindings/iommu/arm,smmu.yaml | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 6748351c7812..ec0fc5f7d4fd 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -252,6 +252,13 @@ properties: minItems: 1 maxItems: 3 + interconnects: + maxItems: 1 + description: + Interconnect path to the SMMU register space. Required on SoCs + where the SMMU registers are only accessible after a bandwidth + vote has been placed on the interconnect fabric. + nvidia,memory-controller: description: | A phandle to the memory controller on NVIDIA Tegra186 and later SoCs. @@ -656,6 +663,24 @@ allOf: clock-names: false clocks: false + - if: + allOf: + - properties: + compatible: + contains: + const: qcom,smmu-500 + - properties: + compatible: + contains: + const: qcom,adreno-smmu + then: + properties: + interconnects: + maxItems: 1 + else: + properties: + interconnects: false + - if: properties: compatible: -- 2.34.1