From nobody Fri Apr 3 06:27:16 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 5FDE736B060; Tue, 17 Feb 2026 13:30:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771335051; cv=none; b=Q3uHRnsDz3AiC43rht4RPmNAJOaM0X7V1t2Kfcj0gOY11lDSztBv2IuTg48w+ZIMqDizUVN2/MNPjVEJ71hwXwKfQldXFwrp7KdeSPXJ6o9AiJLkixuQQoh0BvPU7OHj5KO0fAOZcwCZuw2oRIOl60FvimoH+NMo9dgBsktLqmM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771335051; c=relaxed/simple; bh=2dYSFWHyj4X3N9lIZ8cPMHQHezOGMsV6I5UBAIu+Dd8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=s8ddPNPK13UOjTMnDI2EAil0GQcE70Ezv6zHFMDYMkUPZzWbRR+v7mLMy00vd4OBNHyFi4i5bKa0HwaAGTrmJZNxj7jKm+Xq43alPgR2CqCCr+yQXGyFZmUq6nMjvsDzF/mkd6EEk2rh0+KZGY3crAljzcb7BhSyPfs3AXa+PkA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nOXAZTGB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nOXAZTGB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5102C4CEF7; Tue, 17 Feb 2026 13:30:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771335051; bh=2dYSFWHyj4X3N9lIZ8cPMHQHezOGMsV6I5UBAIu+Dd8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=nOXAZTGBii0gc2jU3prxuTQ/S/jSlK56ocqC1HCfUPiGavMRm32TEIuwLzKAGpqfj cBH2+pDPQqvj+rkxzpNgW6SKt1Ht1KnXJqXcvQwZ8975NFOvem6FyFzf7kCspFdyrC Zo1nXgwlACCU5F7El1u8Y6HP0uCE231xyhVzNDZeWvUx1QPNs+E0rv2NAsq6HdjbgI H8ym1uBhN3RlloYRd2iVw+p92NP0O1PK/48uR0Nbo5XVQArHARxr/U944bRRYRp4/f cW7lAf8/aZoiwwR76Ezwx2DLizY/mRJd76oxAGMvXSreeuP1hxWzk3Oo6Bjj1le5mL OfQVrXXLSNWvw== From: Konrad Dybcio Date: Tue, 17 Feb 2026 14:30:32 +0100 Subject: [PATCH net-next v3 2/3] dt-bindings: net: qcom,ipa: Add sram property for describing IMEM slice Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260217-topic-ipa_imem-v3-2-d6d8ed1dfb67@oss.qualcomm.com> References: <20260217-topic-ipa_imem-v3-0-d6d8ed1dfb67@oss.qualcomm.com> In-Reply-To: <20260217-topic-ipa_imem-v3-0-d6d8ed1dfb67@oss.qualcomm.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alex Elder Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Konrad Dybcio , Alex Elder , Krzysztof Kozlowski X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1771335036; l=1543; i=konrad.dybcio@oss.qualcomm.com; s=20230215; h=from:subject:message-id; bh=FtJRSrboOafEtcZXaNS6FW/2KBBL5SVhQOA5zYIeMBE=; b=EX5x1oE/s/FmoZ2ssY9lmqXW4GA3mEWGAnZLAFlbKNlRbAxvgirbu8T7pYHYWXoS2nc8K5bVF dvxd6e1PT/WDPWI055ND39PimC191vITdj7QRfCcmVosnvomfHRmW7c X-Developer-Key: i=konrad.dybcio@oss.qualcomm.com; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= From: Konrad Dybcio The IPA driver currently grabs a slice of IMEM through hardcoded addresses. Not only is that ugly and against the principles of DT, but it also creates a situation where two distinct platforms implementing the same version of IPA would need to be hardcoded together and matched at runtime. Instead, do the sane thing and accept a handle to said region directly. Don't make it required on purpose, as it's not there on ancient implementations (currently unsupported) and we're not yet done with filling the data across al DTs. Reviewed-by: Alex Elder Reviewed-by: Krzysztof Kozlowski Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/net/qcom,ipa.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Document= ation/devicetree/bindings/net/qcom,ipa.yaml index c7f5f2ef7452..4237e74041ef 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml @@ -165,6 +165,13 @@ properties: initializing IPA hardware. Optional, and only used when Trust Zone performs early initialization. =20 + sram: + maxItems: 1 + description: + A reference to an additional region residing in IMEM (special + on-chip SRAM), which is accessed by the IPA firmware and needs + to be IOMMU-mapped from the OS. + required: - compatible - iommus --=20 2.53.0