From mboxrd@z Thu Jan 1 00:00:00 1970 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 E94E8331A71 for ; Thu, 13 Nov 2025 10:36:14 +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=1763030176; cv=none; b=J4f1tK/bONq4XxvTs6BW2cMTEt0NXFBDNWpQ/tPEFJcEgF0UFSgpWrKSD4Zn3hmIOGZ1EayLCTCuNfLOh3tkEhxMlAC9avwFbtfeH0N9y37Frtj4Ty48Tu/aKkrfUFHHMVnziBEOmjfvI7Bh0UhKGeygD1WaKK4aU7mYW9/lwXE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763030176; c=relaxed/simple; bh=fkI0IV5pKXD+Z8pE0/I4omqNa0GvsOuaX0Z626kXB7M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HwDmtwoV2hFUyHrWBZtzSvou9xdx6psAWAQKvDi8w2ijD9W+nYO05MLEJgr5jZVCNpIpBi0DypiNNWOFAyOuk3LYvIx2vCLwWGBGnlABcwas4GdJl3bjIoDkbnnGP3R67UVhci7doLbifQe/q8pXtSYFHfniX8y9ri8/1vMJ6aU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=SyUek2PK; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=AyWvpCr4; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject 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.b="SyUek2PK"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="AyWvpCr4" 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 5AD8ZxiQ2993508 for ; Thu, 13 Nov 2025 10:36:14 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= QAPzsylvQAf0leJxcPm7SZsbOhaaSA1OJ2ImRJF3POY=; b=SyUek2PKr/5RKRoh dK+MfEFkIuFN6p/hmQn1CqjeSl58Imvau8nK8/s88R1Qqqk2mfauBchhgm1edBOI 0nxdVgYuxUEs9SkHSAfgJD/gFMPlGxkHfzRn70dYLtOz1whvrDcikKKtZWuzIVIP Q6vzsMA3hHWDbWBB07Ri6CPS8j12VUpDQPdfmKZxrVfv/ZPut6ilrxxtiAXjkM41 We93YblO07qklWwYFENro6ww/Apv7a7Rr9MJnsNU0dxVV6xY1xCamcVdnf3Xix7j nmH8s5QEZ9xHOS6ub8yrgDGktfMfD8cWDD1bCKB2MDmaQh2o55CtDLUIUBBVmWFa AROzAQ== Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ad47jhvrc-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 13 Nov 2025 10:36:13 +0000 (GMT) Received: by mail-pf1-f200.google.com with SMTP id d2e1a72fcca58-7a153ba0009so1448154b3a.1 for ; Thu, 13 Nov 2025 02:36:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1763030173; x=1763634973; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=QAPzsylvQAf0leJxcPm7SZsbOhaaSA1OJ2ImRJF3POY=; b=AyWvpCr4bvNrMZ+fdX/9WAOMBB/JtizGNNL2SzWgghL1k4UZBzipwk+h1qyUF3Ar9C D2qLpWpx0TqFGME3TFSiPMKMSGwFUomCugGQIR2OPW1H1V9r9nzhhBkYNTM3x8VHjeaY 4h7KA2Wq5HvXkazESRP9YMPAmI2EhFQ2h40f+WsCQbs/K44jAiTlL8h0VRJ1bkj3L66W VpDprbMgJKMg+LAvdMN2j99iGGNLNzmvRP1KdJ4m4MbTbxxKFoi9Jm6b2SedJ5ZXxJCq PEDt1UM+Yuax67jKRazHDGgMe8T0JmEfU/bpcSIjbL/Hz55OhgYpi9X5XlGrDHVjFAJf WuTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763030173; x=1763634973; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=QAPzsylvQAf0leJxcPm7SZsbOhaaSA1OJ2ImRJF3POY=; b=amKwr4hwOrrlHkswazCDxrCWx9lmyxdqqnqeJD5H7+rbigazjDnroTIp7RaygU9vA4 XnIbCLtcSYp3oO9OfK8PtibLK4QSL+oKFvbbDhwSCDM3VKa3jWd9bXr+08dd9Cs0zzJw mqD3taPcwv5MZLxV5Nh2FuiaxRyjad6I1WbynSflyuCEo8WtNYuXuDeTcpP9MWyUlCfn ldaRSB9iWR5zoE/owICcAoNCtyCnhHdLcyglNVDjJyymOJ2E/BDr8prXNPJQ/MIDxt9z oGh1sRY/Bjj/sK+aRh2osxtjp3XS4rAqADoKEWPdKNkO+6RCNzxWj3Abq+NAtT6zUG2M eoQg== X-Gm-Message-State: AOJu0YyTCORBczxsp0MxVRlOT8aowOPT3NjM5bOsomQrxC+kbVu7dOM8 TkDDdsMnmW9YCg5ZWrMTAeZj5UKZ0bgpP5cZCr1I9nAE1EvPLeM5xc2XbqEkx5xt+xUV2kR2P3E 3Z1HsPqSsza6z2M3nXHYIpK6m7R5ugcDRn5ftAfDprEmb+smP1ynY4NDhDXwKJtflmnc1 X-Gm-Gg: ASbGnctt8XWHDkUVHZK1QUs/D6om8KnfhwIv6A1KtQY9fFBLnrKqqFJzMNEeAYu0y9G vcNMc3RqC9Jih5f44lBt73AexTDhwdCEQqyqYzEfHLxWc5xBPKuvh8y7b4giH3T90kC+l/dFmST 9SDQA0jPrOLY5dayab2gr0vevS1hM19HwU4ma42LCdZMlVCkEIYgKRDhQUoe9SAB4WUzeJyCWGv tQHoy/Le5CgNybl8SggfgcyfbS9dD/HxlWfFHlN6DIi0EHQQ3hqOEevsGgdP0p1cNW0N4Iyov80 9YMsBSG3AgnM9MCqWL2c5Fa1Cp7OXh+E3wG5RP8CAZD74J6YJPX1v9QCdiyFrJhY6UP0LIoKuI1 SymnZYk7SQB9oN4cN/heE6K/Hig== X-Received: by 2002:a05:6a00:3a07:b0:7ae:fea:e928 with SMTP id d2e1a72fcca58-7b7a46ff5ffmr8505594b3a.18.1763030172632; Thu, 13 Nov 2025 02:36:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdWLsFxzN1Qeb7Ay7FtILT6BOrn+z9PA4q9aNMwHkP3I487Ru0WW9RlwaWtIoOpnyunhqFCw== X-Received: by 2002:a05:6a00:3a07:b0:7ae:fea:e928 with SMTP id d2e1a72fcca58-7b7a46ff5ffmr8505547b3a.18.1763030172006; Thu, 13 Nov 2025 02:36:12 -0800 (PST) Received: from hu-mojha-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7b9250d2d16sm1886922b3a.22.2025.11.13.02.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Nov 2025 02:36:11 -0800 (PST) From: Mukesh Ojha Date: Thu, 13 Nov 2025 16:05:51 +0530 Subject: [PATCH v7 01/14] dt-bindings: remoteproc: qcom,pas: Add iommus property Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20251113-kvm-rproc-v7-v7-1-df4910b7c20a@oss.qualcomm.com> References: <20251113-kvm-rproc-v7-v7-0-df4910b7c20a@oss.qualcomm.com> In-Reply-To: <20251113-kvm-rproc-v7-v7-0-df4910b7c20a@oss.qualcomm.com> To: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bryan O'Donoghue , Mukesh Ojha X-Mailer: b4 0.14-dev-f7c49 X-Developer-Signature: v=1; a=ed25519-sha256; t=1763030164; l=1346; i=mukesh.ojha@oss.qualcomm.com; s=20250708; h=from:subject:message-id; bh=fkI0IV5pKXD+Z8pE0/I4omqNa0GvsOuaX0Z626kXB7M=; b=z9edZJO08bBDewte2/znOlY4lNVMe64h7yw0x7TMliKqjw9A/NcCqwVM2ocm3j0ihXnADUzPw zaylC4D4E+xAYdxMiQGeSYdAlrbeP/fDaWUjLTvelWPtNvB4JjRZPEs X-Developer-Key: i=mukesh.ojha@oss.qualcomm.com; a=ed25519; pk=eX8dr/7d4HJz/HEXZIpe3c+Ukopa/wZmxH+5YV3gdNc= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTEzMDA3OCBTYWx0ZWRfX5CFC2daRyG11 xAyY37VGqrVer+LCG9eEbasWlPEPyy04EwdRlQlfvGdVnDQEZzPOpKdvMita55vlG3h0sJPEaUt Dq0BgH5pVKbHj3jPrHMfcE4QK8xs3qsaega1swHlw+f61TKQT1PVOPM7QzIEs4lhly5osjtwjnL sMPy7r9m9uZ1WvAgsyd8m+YmySpt/CZ8Qvz82OXxEaDOsX41vvOaG/iTcAEnhh4xftBJSebmub5 dgeZuU/1i90dzunaRaPcQplKlFbqLL/GqgvMlqvbypbEGR2tAMuH63xsXTeyGBy395yluswtQ19 oJ0VG6JS7FqhjO1b2OihyS5wPkf11MZ52AuzEN4ruXxjS7K3uHKVTJYNcRtwbd/xXQ8y+VOQRep k18YSazvhYF6t/PgTi4ualrkQUlUGQ== X-Proofpoint-GUID: G_yJuPFipMioZg2piwf0bSt8mst8p4Xl X-Authority-Analysis: v=2.4 cv=A5Fh/qWG c=1 sm=1 tr=0 ts=6915b49d cx=c_pps a=mDZGXZTwRPZaeRUbqKGCBw==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=nDsJnkO8JLPJ0mjf3QIA:9 a=QEXdDO2ut3YA:10 a=zc0IvFSfCIW2DFIPzwfm:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-ORIG-GUID: G_yJuPFipMioZg2piwf0bSt8mst8p4Xl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-13_01,2025-11-12_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 clxscore=1015 spamscore=0 phishscore=0 adultscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511130078 On most Qualcomm platforms, the Qualcomm Hypervisor Execution Environment (QHEE) is either used as a standalone hypervisor or co-exists as a module with the Gunyah hypervisor. When QHEE is present, it configures firmware streams for remote processors. If QHEE is not available, the operating system must perform these configurations instead and for that remote processor firmware stream should be presented to the operating system. To support this, add the iommus property as an optional property for PAS-supported devices. Acked-by: Rob Herring (Arm) Reviewed-by: Bryan O'Donoghue Signed-off-by: Mukesh Ojha --- Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml index 63a82e7a8bf8..68c17bf18987 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml @@ -44,6 +44,9 @@ properties: - const: stop-ack - const: shutdown-ack + iommus: + maxItems: 1 + power-domains: minItems: 1 maxItems: 3 -- 2.50.1