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=1796139125; b=QzZPcS9fIo/Ay/P/fQGb6Nf04tKVlOqd28+R36ntdX4Bq+1Ykq7EcLXEgNiX6nHQIW1D UrHsQ4un9JWdR2GRcpkHv/R1EKL8qSP2hwX64FvTrBlHEt4Jh5c0dq0o4YTOC10rzIZAm 1setcJ1MTPX+hFo9viBnwb3/Uma0x9OXWU4UW93fbuQYPpYDTuDZ2gpi9Gv1IUD5yy87K xtJBgRqkWkMSiI/qaAgjsOdsQ46cZwacqyqnvV9bfMIhzPNN57sPTbdS7rH6NmMbHwJGR s7TgZ31X1xlJ6QukygwKiRa5yWROVqbRbKCprNfSmbALEj0dnG5BfFE/9I5a+xGwlhA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796139125; 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-Authority-Analysis:X-Proofpoint-Spam-Info:X-Proofpoint-GUID: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=hz2XdZj1N82zwwGf5rQXwFrF2Tz/A+hhelwd2ljU2qQ=; b=wyim6bUX6CavjzbDuA8MaCCDhDvTK0iERsMmcGwlixy6Lln7DRfUzMZZoC1fs+Xdl8+M vjccvv32JPpd2/BOS3NrARyxxzz+Wm6uff+thUQeCqo5s81WpwZOR77kSxXfIbS33VB36 eOzwl68MOeTmU1KcONS2FEtiSviqnufz1Ami9CXsG8eH+uWKuSHHkJEERiNO0NqVf1viV Cgl9vfS6h+wzrmMRJeHXO+5VpI4nvErEUaCfa8G6JyNg6Vb6ECjg1QPgSav3893Shv6Hg L2EZTPXU0ZDlQDQsoqCXBNkicWqd3CAOuNSJElI3nFXEldW26FKm8XkemC6iPdC0fsA== 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=JaY6iba8; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=FtY7UDRp; 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 C1FFB606A327 for ; Tue, 1 Dec 2026 15:32:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C1FFB606A327 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=JaY6iba8; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=FtY7UDRp Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B1F7P3A3650134 for ; Tue, 1 Dec 2026 15:32:03 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=JaY6iba8pqjdwTC3 DwQh2MP185u77mdvZ6E7em2ECJaVjF2504ue5TE3cjEsLb3qSQwPkCIvZuRPeQQn 4RvIdjHhmwwGoaRoHgRilYahitYsTbmPA/cM3QR+/muzA7FXyC4mm/b/TC+hF8rT NdbF+0wDQ3m6D3mO818bWy/xY82dvjvIu6aaY9S44vC3wJFgjKGXnT4TPqOPdluC gIgi0W3yEBSnE6sZJoCmfQ+z71fg5D50ad1ckWU7orA3VlyrwdeeIMAF0hcXVH7K vwaw5qsPAqkqbtK0cgLwz7yVaKDd58U9PLJ91U6RmBHR3TP6nTOXRRnLaxoXaXPJ I/J7hA== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j9ta1htjs-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 01 Dec 2026 15:32:03 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-386177b0516so4260926eec.1 for ; Tue, 01 Dec 2026 07:32:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796139123; x=1796743923; 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=FtY7UDRp5OEXR00YnoMEegEd3D/l4U+bLFNSeq7Hhr+V//e4eLP+12cCqtILfqp/se 3C1evzAuQk8lUnMSYrV8M2hzdmzNgNqD/GpgJPxJW5zQ0WS1SCRXdDD7UeZX4/hQatk2 DEaLSOvC9+oGiF/dwPmqux5NiJrn7k1buW0yrBEw2UIijWv6Mnmo/cfuhcwPyTvvoiYn 9/vBSlr+3dNuTurYu5sIe9zlFJawfOWpPD/WadQiVxewZp0/Qki/hIw/q4hB7CG2onK9 R+HVahyLeMiHej3Z3Dog1d8VYYO81bFWlY1AMX5b9t5+t+aV9lKbWt1sJOZ17eSJq2G2 P9eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796139123; x=1796743923; 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=KmbMjGkd95v3Hc7gyt/+myOXIaICgl0uTsGYS1BFMV+hFn8T9bS20mHKV/wqbtlC0j ZSRUkpvkPxdWTwiBq4Cy6t7wgBhnhV9mRCfcyQbWwbFVgjR942znQfiYHWf4FPdjA4vJ Q68mqN/pQZDfsETtfdkFWAhj3KP4K/pgU/UJlAe8TqB/PeIpJ/+k3MsHuuLizsUECt88 WMGhzIxLkgzjCuCbXhGr7p9SAymqvXQ72bZ/BCt5NIOQPqPaiP53mxqpN/vajBj/ZgOj c8+F1rJbNrAisaOfG+rwXSoteMdkHiQPkeuvhjR8Bf4JaUL2tXfk8fqKdOL8mFB9gAQT oZgA== X-Forwarded-Encrypted: i=1; AL+hErE7fWHH7OqmPV0VD0Z8IW5JMI8NrUZORN3O9fF2ArGdGip+vSWU5uXepqtnx9pj07R4bcj0R8Dp68Z8o2Y=@vger.kernel.org X-Gm-Message-State: APuU4Z/+u4DPlaOOmLCTK6HOsyzhPv6m/5AlXYi2q98IJfdtAFQ5IO61 n5J8kqII8xJkjzxOmIQY1U1Goe24csuMgjuhk5eANcjkyXSnGFrTmXf6xag6hcBTu+XcMI9A9ta 7nXleAaWeYjEiF1Yqt8EJDRV55Rs3IwymhjgTXE9zYeB0guW/0uiH98HTyU25y9cMrfg= X-Gm-Gg: AZFdTZey7a7lXVUnElkIUAOWUg1wsDAtlixVppsc2MvN4bHN+Ou60ySjN7wqbGjTY+L u+aOAz0ujvegiuyc00NAYUgKPECuPmFkNXRo65sF3T7sA51dRWuZNs3Jc+4OWMXtotNIUvpiXrl 1LDJ/naciH+8Bdmr0dBqrhLO02Sr1O6B70nfEZznNxfU7xzvKeGs/3DypoeLYSX0qWe/dPqpdj+ Ell7durtf11CNni9XKxgzXsvzebHyUgbYB/BaUO8HcZCFnlIEy0aZUU4eLqncqb6oaR2SRhg+K1 mGq/TknnsrN4K4Hvr4ulzueRw3aZqYGNuJ/KUsUcxFyiLFRUHj79aKFig0D8pGVB2cG/H1h3Mym 1WhfwV0FlmFgUPwJhur9QCth6WC/nBdo8MMKkfcYKJw23PTHCkNr1nNvf6pS8T98P49thXm/UJd JDVztw X-Received: by 2002:a05:7301:e0c1:b0:380:c3d7:c263 with SMTP id 5a478bee46e88-3856c0d076cmr40580999eec.5.1796139122517; Tue, 01 Dec 2026 07:32:02 -0800 (PST) X-Received: by 2002:a05:7301:e0c1:b0:380:c3d7:c263 with SMTP id 5a478bee46e88-3856c0d076cmr40580962eec.5.1796139121889; Tue, 01 Dec 2026 07:32:01 -0800 (PST) Received: from hu-bibekkum-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-385646633d0sm188496439eec.3.2026.12.01.07.31.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 07:32:01 -0800 (PST) From: Bibek Kumar Patro Date: Tue, 01 Dec 2026 21:01:31 +0530 Subject: [PATCH v5 01/21] 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: <20261201-smmu_interconnect_addition-v5-1-4d22c4b85e30@oss.qualcomm.com> References: <20261201-smmu_interconnect_addition-v5-0-4d22c4b85e30@oss.qualcomm.com> In-Reply-To: <20261201-smmu_interconnect_addition-v5-0-4d22c4b85e30@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=1796139108; l=2417; i=bibek.patro@oss.qualcomm.com; s=20260617; h=from:subject:message-id; bh=L9ZDNV193MgcYYJuTHrN/Rk+LSdrA3XbSL8eIPKsLAM=; b=ZqnYqDwiR7PmypYG7ZJAv8eFPq+XnMj3FHWEFlpmpqoWtEZjujRYpkaGmHHF4NS5wtLsZekCH t8X/Lhum52gAI5h5KOqLDsGTPeivgZ1F+JbTm80oqtibQvMAvmbd7uU X-Developer-Key: i=bibek.patro@oss.qualcomm.com; a=ed25519; pk=DkrbE5dhskZJmBAKR5LygWRsAydEOSN+T0/YxNYxDLM= X-Proofpoint-ORIG-GUID: iAdX_Zc7xJkF5bJ1leRrcExvZ36DJpGn X-Authority-Analysis: v=2.4 cv=SpkFe/O0 c=1 sm=1 tr=0 ts=6b0ee873 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=LIGS1bie0qojq0S7pNEA:9 a=QEXdDO2ut3YA:10 a=scEy_gLbYbu1JhEsrz4S:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAxMDA2MSBTYWx0ZWRfXzk45Qi17JsXT VoL//x+24P3+8mA///31J4mJGvmVgY4UfK6nYDREnLMPFUUvonJisBETNzovGMkgrxLJ7SQHEG4 SsSXkFnIJqCH2NqAhfY4A0V5HPGwo2A= X-Proofpoint-GUID: iAdX_Zc7xJkF5bJ1leRrcExvZ36DJpGn X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAxMDA2MSBTYWx0ZWRfXzYPPlbywJiiL MwNWJwsiJMex5mAGZH5zIq1yjr9Xp/nuyYxT1wDuHN++Sx99t5i6rRwvXi6DcLC/dGyFrTsw2bk CX2ABKR14XDM4GSyON+Xtx9HckeIgFdPVgn2uMMqJfEL3CRGUkCXt6nLTc/anTMJPfXweWnbbcr IEsAVxHLVjH4KemMlOsTFpLwaM2dJGZXEk3EVSL5kaWu2RR0KyWGC2NkDVGeZT7ubLOurEwjJU5 bd7T6dbCsZcjvPvuQZiUYTHX/tbScqb+dpxGTDyyf9YW5VIwufLgIKG8deKuHTH7WDUA/6ytGHi s5rXfv5uQVY0fcHyl3O8L6Cqfs007Ud3EJf+hcQwTL8RVxyNaZXcpn41aAQJaBDVlBDMbZOcljO O80NPG86Vovi7bSB4OnPAl5rsWRDDAI3HDqMh6Qz/5+nKAQ+vEJLxmEdxzEzhxM7rmpasNijo7/ ovr4Stew+ZG3oiWRz+Q== 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-12-01_03,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 malwarescore=0 bulkscore=0 impostorscore=0 spamscore=0 phishscore=0 adultscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612010061 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