From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794898085; b=uQQ4FecUtpX74XdMFuFLjy/i6AhMLf6uGJwe7gm6vvXQc4k7gMJack5t7d5PsX38k1ir qeS+hwm1jaensplF3hr5rveAQj1HxMdmgRRwLF7HwSU4zz8dRuk0VGTIV6zhRTkM6uCXl E8u9BFKV/G28ZIW0BcP6XLt74lLcZZI5hyn0+wQaislclnOgLHeZs1YJW1CE23Jwb6Unj KPSeLQBG1XsGox3qz6zjcB8rSwQ7xVVo2qCMuPJuda43xZAThpaoWQzT5bfBCgndIPAZk yoeL88r6knVas5wgm4gjuQtreUL8EuPkcZ96jlGAVjzzFVBPDYDClEt0MGptHMnE8Ig== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794898085; 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:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Proofpoint-Spam-Info: X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-GUID:X-Authority-Analysis:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=HsuQV8u3e7WFMB5SmWlfvmRte2dGPsZZ/I5dS+pGQLE=; b=QHwyFNw4ZbXeNq9N98Vuq0Yic0vjzfF+4N112DSS++89cC12wE8jqAQ8/jBP9Y5dZus9 tkOrJZw+W1fS8QOZqjdB7jXqLdjoBSX2K93GMTTYeunJBpxpWZ9WhUSHlXh5PtRdCTPmp j53SOiR4d06ck+IQSwVmczVPAWPW/eOUb7WflsmyeENnSpJDhnH/Pzsj26MQ+NfiBWXQV X2TBWVXPGuc94ZwJTZ6ZRkDV9VPppelDlif/GYsX5l/FNm3B/wzXxaCSVtm7TrqrOcCTA 0jst0WgpCFVPqY6w8leB2FWwZnz43xQ2cK1uKIqWvJkeYDi/7rMDBxhmMfo6DdixWeA== 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="f4CDS/mQ"; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=QHSutkEj; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 6AA20606A323 for ; Tue, 17 Nov 2026 06:48:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6AA20606A323 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=f4CDS/mQ; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=QHSutkEj Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AH2aCmI3624157 for ; Tue, 17 Nov 2026 06:48: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= HsuQV8u3e7WFMB5SmWlfvmRte2dGPsZZ/I5dS+pGQLE=; b=f4CDS/mQCAQF/Q3i uECsG2khaXrlUO4NKrOfZTK1RidCSVeLNp/JsdPIamvhRJXW+QMseSLG7H6p8cff DZg+ss1xgOm+tJwkOiOO5EM6KbxtnANqor/UpQDlUPI5eodNEwhoaT2dloYfEOBI 9K1+jVgbc2NVdhfIcEzfX4QiFSbusm+K5DQZMHJmCjxbNrdsfHSryt7vSnJX2eez 37KRdfL8NDuGxok0twLt74c0WTCLGMw5PYHX5Ca3o8HK/8h/sb3SNpjF4j4zOpLh CRFKT+MC0gRVEM1FXWt1c0vi2L0ql1uOSl+0QrAVD8jMuTgiqYUlFHNoJq3Wu1/h bhXDJA== Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j07rej7he-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 17 Nov 2026 06:48:03 +0000 (GMT) Received: by mail-pj1-f69.google.com with SMTP id 98e67ed59e1d1-3b0a13ae043so2750559a91.0 for ; Mon, 16 Nov 2026 22:48:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1794898083; x=1795502883; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=HsuQV8u3e7WFMB5SmWlfvmRte2dGPsZZ/I5dS+pGQLE=; b=QHSutkEjJhEtk/vGQeb2EMphpn6RitDr5xZzqFjYaPWcsFhzJqSPwS1E/OGzZMgdOl nHM8JatDJqkEhUkL2S88/4kwrlcM8ivyWSegLKRXRBFllni4GlNd8EJxE19aDT2bTEwa 03+8X/8ec5VdBVmCv9WPrVTeYPX7MPOiG18yU2gO+nYa0+72zm3FCYxegwDaPkYIAFfy Z+hq4tWbobw+ccBIaS8nbQjrqbt5dolVQTVPluscaiwrv9h2dLXLdrefnnQdtQRUre98 xHYSHPoMJ1M9UcdidxdsXirIPQW7+6WMGHevsYo+5KQ0P8bsnUhGT0+1ceBNq46DeM9d 7i+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794898083; x=1795502883; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=HsuQV8u3e7WFMB5SmWlfvmRte2dGPsZZ/I5dS+pGQLE=; b=iYA9MMLWn1umYaqETDd0co5sp1q7rQHDnIRuXX+nUVA+pr0Gkktd0EGbesLvRn0wtB vQwxaHaaCSBOKQu8xZ4u/MAzECEYsEg4PLt+Wpcy5zgHc9/YY1pzax/wbk8O9ajD1Qis C9WDg04Xaih92TiBU0taRugCcAFAelFAZz4xxQNjtFctRpOM+aPxq+jtYkeWAN24+wPU Uq25ELeyJAftQFKyvRQa37RanuC4WYk/oAvbqo0Y8HQ/mqlnzQthLphBxCcJmgkJsiCX TDb/U9JMNV1uny7aIw8YKd8n2hPX9AVJf6ONYuu4NuPbm3HqyWcsAPuGicFnF6ttkmUZ d4bA== X-Forwarded-Encrypted: i=1; AL+hErGVD3ijYvLcV4sAGShN8kc5B6oM1EVCJDLeXJErHYD8l2J0SCJuupWF5WO4tej8KJe1pRlz2Kt16snU@vger.kernel.org X-Gm-Message-State: APuU4Z8pCcZzkV915DYDTL/pmtMttRUVMdBA6YWF5nWczLwraafzlFzu XFBdE8FqGMyQIjWKvzhyHSAHTqsobEyZ/qR619LoXnfr3a3GQXSzGXIqOU2kdMX9H9z6eObgf4f OJNRUu/rIi08obR7ajnAWlxRkmp7BkgpWlG1qT+bhqfL2llUDwDjFuNoQ4lw7TR0v X-Gm-Gg: AZFdTZcKrUXXEnVwLa5t+8euU/1D9Zn5zg7sztHo+prLcr29oSAnYH7t9ChP325HbSy UqwrfQWX1Woh6xG5HxDtOLAdHyPiFM3xFx1Amb5NymRJrK3H2BxDVh6CqIRPfYuvF96sb/BHxwk 2j3stPCCFGM1qxLbmWI/wwaXNfwcDhN2qy++NhEZ9ZIX2FwRZiZVZuZH+nXw65evB6zgA181xTP bZUnaxxfxAs7eYippz5aD2AYoguxapAEnfB8EMOlsI9zxyq3tE6khRvfl5v/RCKWQy09Cyrsi9x vFzmUh/+3swiBLcUiP2fToE17K9RdJRpgDHK6JN9QY4W8ws0rdn7GLpBu/S0DqK87SrWldozbuR 69L0rj4Lv6fOjcUXTSat3atzWF2yChJAU67CIdBiVpHDIn3Q5ry2QovqwVxg3MsMYf5ivotBRMO oH+5aB8JGGm9RKJfKf5EN+9Q8WbXtVcU5MQfQMUfH3aKOCmxJkHcecFnH/yY8P X-Received: by 2002:a17:90b:28cd:b0:3a5:147a:3b63 with SMTP id 98e67ed59e1d1-3b1b087c1c9mr11650330a91.8.1794898082807; Mon, 16 Nov 2026 22:48:02 -0800 (PST) X-Received: by 2002:a17:90b:28cd:b0:3a5:147a:3b63 with SMTP id 98e67ed59e1d1-3b1b087c1c9mr11650312a91.8.1794898082257; Mon, 16 Nov 2026 22:48:02 -0800 (PST) Received: from [10.79.117.97] (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b1b25ebf34sm8650420a91.1.2026.11.16.22.47.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Nov 2026 22:48:01 -0800 (PST) Message-ID: Date: Tue, 17 Nov 2026 12:17:56 +0530 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/4] dt-bindings: remoteproc: qcom: Add Glymur OOBMSS PAS To: Mukesh Ojha Cc: Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sibi Sankar References: <20261015-oob-support-glymur-v2-0-715435f52dd7@oss.qualcomm.com> <20261015-oob-support-glymur-v2-1-715435f52dd7@oss.qualcomm.com> <20261116180223.qk2k4zabk6tp6ihx@hu-mojha-hyd.qualcomm.com> Content-Language: en-US From: Anvesh Jain P In-Reply-To: <20261116180223.qk2k4zabk6tp6ihx@hu-mojha-hyd.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Info: AW1haW4tMjYxMTE3MDAyNiBTYWx0ZWRfX1hO1oGKFbKTX rVG1gXqfZGXRv+/HukniTu5A5LdghSX5FLa7WPQy75FFKJGiQDnz0RKyfoEEYEDWuDk+AwqnQgj 8FJ3eAfh/3laIrz2fNNpeX4AP4vIXKI= X-Proofpoint-ORIG-GUID: uedn8CyhSwBbJRNuRIziKpXdTJaJX76w X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTE3MDAyNiBTYWx0ZWRfXwLItulEE09xu 9Y4kQgbDq0E0UIfJnjP0AOm2Ds223sLHMeXxF2Uc0rD1j8CVACHcwV9HLLnJDtm5Mbc2g5ZTPtG mZYb+hilrGY8LbHroYNzeHI+fVXwztIIdQ6bO2wuWan77VPXoR7VHPQddDFbO4GKjrvyvZ43ZYY /t9/yMKErZ3dCh0FJILr9IHuqjSqHQiUmdLgzWsgumFmwsJulORAZzztUG+08Cc5yIJIAWMqFue 7+WZDdQ/j6saRS8/djuPMDQbAAITh+YBoh9+TylR4rBaklikhS8DEFjjWBIO9POQjaItLeYGm5j ghErklxH+R1ac7DA3hku0zG9xXWDB2RsadKGmI3kQIOkXIOAHcOO1jmqk4Li3eo85q5HXl3oCf5 EeYfWrbHFPjwTo6qhBoDczp1UhJbUXfc0SBY7oJCfxfpnZEeAVFi4gU+f2/dTqoR3v7dfGI2eAt nPdnirV+xBgF12bXbjQ== X-Proofpoint-GUID: uedn8CyhSwBbJRNuRIziKpXdTJaJX76w X-Authority-Analysis: v=2.4 cv=R9uWitRX c=1 sm=1 tr=0 ts=6afbf8a3 cx=c_pps a=vVfyC5vLCtgYJKYeQD43oA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=7OpPFmXP-hqOOPK_F8cA:9 a=QEXdDO2ut3YA:10 a=rl5im9kqc5Lf4LNbBjHf:22 a=sptkURWiP4Gy88Gu7hUp:22 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-17_01,2026-11-16_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 malwarescore=0 phishscore=0 priorityscore=1501 adultscore=0 impostorscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611170026 On 11/16/2026 11:32 PM, Mukesh Ojha wrote: > On Thu, Oct 15, 2026 at 11:25:49AM +0530, Anvesh Jain P wrote: >> Document the Glymur OOBMSS PAS node with its secure GLink edge, >> shared-memory signaling, firmware carveouts, and power resources. >> >> Signed-off-by: Anvesh Jain P >> --- >> .../remoteproc/qcom,glymur-oobmss-pas.yaml | 154 +++++++++++++++++++++ >> 1 file changed, 154 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,glymur-oobmss-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,glymur-oobmss-pas.yaml >> new file mode 100644 >> index 000000000000..3aa96d2262f1 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/remoteproc/qcom,glymur-oobmss-pas.yaml >> @@ -0,0 +1,154 @@ >> +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/remoteproc/qcom,glymur-oobmss-pas.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Qualcomm Glymur Out-of-Band Management Subsystem (OOBMSS) PAS >> + >> +maintainers: >> + - Anvesh Jain P >> + >> +description: | >> + Qualcomm Glymur Out-of-Band Management Subsystem (OOBMSS) contains two >> + processors running Zephyr, managed together as one remoteproc instance. >> + The Out-of-Band Trusted Execution Environment (OOB-TEE) is the primary >> + processor. The OOB-Non-Secure processor is an auxiliary processor that >> + depends on the primary processor and cannot function independently. >> + >> + The primary processor runs the primary image, while the auxiliary >> + processor runs the secondary image. Each processor has its own DTB. >> + The two images and their DTBs have separate PAS identifiers for >> + authentication and dedicated reserved-memory carveouts. >> + >> + OOBMSS is booted by earlier-stage firmware and uses an XO clock and the >> + CX and MX power domains. Shared Memory Point-to-Point (SMP2P) provides >> + boot, shutdown, handover and ping/pong signaling, as well as fatal error >> + notifications. The subsystem exposes a secure GLink edge to the host, >> + with doorbell interrupts provided by the Inter-Processor Communication >> + Controller (IPCC). >> + >> +properties: >> + compatible: >> + enum: >> + - qcom,glymur-oobmss-pas >> + >> + reg: >> + maxItems: 1 >> + >> + interrupts: >> + items: >> + - description: Watchdog interrupt >> + - description: Fatal interrupt >> + - description: Ready interrupt >> + - description: Handover interrupt >> + - description: Stop acknowledge interrupt >> + - description: Pong interrupt >> + >> + interrupt-names: >> + items: >> + - const: wdog >> + - const: fatal >> + - const: ready >> + - const: handover >> + - const: stop-ack >> + - const: pong >> + >> + clocks: >> + items: >> + - description: XO clock >> + >> + clock-names: >> + items: >> + - const: xo >> + >> + power-domains: >> + items: >> + - description: CX power domain >> + - description: MX power domain >> + >> + power-domain-names: >> + items: >> + - const: cx >> + - const: mx >> + >> + memory-region: >> + items: >> + - description: Secure firmware carveout >> + - description: Secure device tree carveout >> + - description: Non-secure firmware carveout >> + - description: Non-secure device tree carveout >> + >> + firmware-name: >> + items: >> + - description: Secure firmware >> + - description: Secure device tree firmware >> + - description: Non-secure firmware >> + - description: Non-secure device tree firmware >> + >> + qcom,smem-states: >> + minItems: 2 >> + description: States used by the AP to signal OOBMSS >> + >> + qcom,smem-state-names: >> + minItems: 2 >> + description: The names of the state bits used for SMP2P output >> + >> +required: >> + - compatible >> + - reg >> + - power-domains >> + - power-domain-names >> + - memory-region >> + >> +allOf: >> + - $ref: /schemas/remoteproc/qcom,pas-common.yaml# >> + >> +unevaluatedProperties: false >> + >> +examples: >> + - | >> + #include >> + #include >> + #include >> + #include >> + #include >> + >> + remoteproc@1f000000 { >> + compatible = "qcom,glymur-oobmss-pas"; >> + reg = <0x1f000000 0x30000>; >> + >> + interrupts-extended = <&intc GIC_SPI 86 IRQ_TYPE_EDGE_RISING>, >> + <&smp2p_oobmss_in 0 IRQ_TYPE_EDGE_RISING>, >> + <&smp2p_oobmss_in 1 IRQ_TYPE_EDGE_RISING>, >> + <&smp2p_oobmss_in 2 IRQ_TYPE_EDGE_RISING>, >> + <&smp2p_oobmss_in 3 IRQ_TYPE_EDGE_RISING>, >> + <&smp2p_oobmss_in 9 IRQ_TYPE_EDGE_RISING>; >> + interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack", "pong"; >> + >> + clocks = <&rpmhcc RPMH_CXO_CLK>; >> + clock-names = "xo"; >> + power-domains = <&rpmhpd RPMHPD_CX>, >> + <&rpmhpd RPMHPD_MX>; >> + power-domain-names = "cx", "mx"; >> + >> + memory-region = <&oob_secure_mem>, <&oobdtbqc_mem>, >> + <&oob_nonsecure_mem>, <&oobdtboem_mem>; >> + firmware-name = "qcom/glymur/oobmss_tee.mbn", >> + "qcom/glymur/oobmss_qc_dtb.mbn", >> + "qcom/glymur/oobmss_ns.mbn", >> + "qcom/glymur/oobmss_oem_dtb.mbn"; >> + qcom,smem-states = <&smp2p_oobmss_out 1>, > ^ > Normally, it is 0 ? > > is it different here ? > Hey Mukesh, Thanks for reviewing the patch. Yes, OOBMSS uses bit 1 for graceful shutdown and bit 0 for ErrorFatal. >> + <&smp2p_oobmss_out 8>; >> + qcom,smem-state-names = "stop", "ping"; >> + >> + glink-edge { >> + interrupts-extended = <&ipcc 56 >> + IPCC_MPROC_SIGNAL_GLINK_QMP >> + IRQ_TYPE_EDGE_RISING>; >> + mboxes = <&ipcc 56 IPCC_MPROC_SIGNAL_GLINK_QMP>; >> + label = "oobmss"; >> + qcom,remote-pid = <20>; >> + }; >> + >> + }; >> > > > -Mukesh > -- Best Regards, Anvesh