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=gjtCRSpLVuBU9pGPAJ63idKvORCiQS/IYr4ZThoIskLYetWon3IESxWzaMdqqkOoV3um LSaaCl/QWxOsmMyHr+WqMWTBRetBhrR42Om+LvmsJtpQJUGsIvOuDhHSksSC8t/O+FpH7 52mPTqWE4+4LFcpxgp4d5KP/47il9/vx5IUP94wdKvnfnH4/FDueKuM2Wq2exvE1rGxnm 1d324cTtuZrq81nD4jsyRrUl27zoksqNHdu3DPy2J6uC0tsFvvTavEqCiludOpVYLQOma dHNIjXHVmcgEV4vwhXbX/GIbw1rKsSHe8o9mwO97OnOBwsg318m8oLA23YECUa8B13w== 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-Spam-Details-Enc:X-Proofpoint-GUID: X-Proofpoint-ORIG-GUID:X-Authority-Analysis: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=HsuQV8u3e7WFMB5SmWlfvmRte2dGPsZZ/I5dS+pGQLE=; b=cPb8RCO4D+wlnG+2DKKmKhOy9C2PqhQ7cagoKsg9p2Dj+X87nmZlCvG5rUPfWWe4ClEg Lel1AjqgXJoJnlfu9+M6yVTSeF/BEDpB60lzYByW1bznUE8rbSAMjGmouSiQCGzJTtv+n W/o/KNDG24JfbysSUJRw7iNutmoXp0yAHUx5QVSu7pSu37nUkI3iLg0cZT00m29qTbI8M auuF8no/XWaBPJbYiFEeDVzIG6IjQnzh8taLOCXeYrz8iFfv711p9NYe2p3ObPdMeIYoo Z35rgJhxxe4yCV9EjZXWzMzpoYC25oFXLI0/qyZ+XZ9Ra/CdZiZlUzpZk/RFfZBQdfw== 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 6A927606A31C for ; Tue, 17 Nov 2026 06:48:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6A927606A31C 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 (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AH2a9EU2934259 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-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j09m09r16-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-f70.google.com with SMTP id 98e67ed59e1d1-3b0a13ae043so2750560a91.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=2T4Vy+A8YWSzgim2DiwCK1PIdKZU8STpYOOKPMf5gv9fIgbnyMAFofapBMuJeX3d0o k8HnXkzeEvvoxnaIbRJhpji/P/c4gHFt/PSYcrAjTa/0ZhBublCxFWzZ3gtQ9ieOCCLo aWDJkusfFbkYmGPCN5WTK2b3uTMLTfZLqgTTX9yLNm8ZSkbwKwxwPyR+hos+49KObQ3H XQaAtQCwJte9nStraABnBDuRTSXlsxVn/pDOhPTnnZPo/q5utArSkJle1kjwMydyf6rd vpJqlaUIFbR7QK0BmhlvJZmTSUQRu3tKi9MGjO71QVVLtdMLZ8RprSDIdso2myn1nJOw TXZg== X-Forwarded-Encrypted: i=1; AL+hErHw9jQut27S3k3kApyqF7CIZMfCNXJgb98uPgbP+P4LeJZdIrfxcOrdy/yisnn2hvBFTA494X2b/kIlZsU=@vger.kernel.org X-Gm-Message-State: APuU4Z9QDfKnx7UKvg1C0kGgcs4P2YeRbXfKZohdkyLklfBSf4gVblL7 8r4sCPdVK0KX45AjZYIyMmpaa1TdRyU8LRNF+JB80EYdr0Z2TzqRc+52v368efmjdzcOAcgOUMs zZrpt4Xn789dw7mco247zWpfqgche/z4fN9SgsSrHhp/liN36MQshl5MQkXoYtS38sTg= X-Gm-Gg: AZFdTZe7J1DAhTWREO5WsKYsMtbbV58CZMzGwRjFvXc4U9LD7pCAecFUfQcevnGAtsZ hnoiA40HXiuKxOMx9boPpyZ8RGcD1M4cVKH0/c3k3m0wqHqVvHwJ+DQSUwhbagqjDLqj7ebFqnt sXOfV/9PdxwS4pgWxi5vaM1Ra78YmPKDkiMlHca7hdjDQazNXxWIGGDz87kVeJk9+yZdkfYEia0 3MB7wAeVAmTmaDzffNjfcC1pP3w8skc4105H85QzHZbpbGr2XWymDG1EP2YCBTj9bn39UzeCo8h e1iB9NBDS5wkwh+DUe9s9nCw6kcCXUfCTZwAC9y9bhMqTkKhCpgmAQuiUX7Fpyl7Zy+eYVK0dHr jMQWEGFekagQ5CYyginqKaJRadtrYTw0oIao9jEGFPPYm0TvQizL+508lsZe/yjhyeWJcPr3u1d DGfuVvRCdW6VlhqhNO72S8T0AVgmo5bgTsymgmSXUMMv7DsAhcwmzWVxo1bk33 X-Received: by 2002:a17:90b:28cd:b0:3a5:147a:3b63 with SMTP id 98e67ed59e1d1-3b1b087c1c9mr11650336a91.8.1794898082816; 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: linux-kernel@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: AW1haW4tMjYxMTE3MDAyNiBTYWx0ZWRfXwHiaafptuauG dy1FWrp8VKkJKMfR7kF5ziuul2ai2iRkTcC9ZYlHWnEu/oReo6iVNiDZXkTx7/xGu8fAsyZPTqj 7XTT0vBykcKEUSsybF6/EcI95ES1GAQ= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTE3MDAyNiBTYWx0ZWRfX/Mq4HSk4b1Wa qMcYwRjkvLrdE2Xbuwo9NUZY4Hks+3VDTKYdsUDr8QtKF2NkfnOYxmYfvWXO995IvnQD0qpdg0p 4/Lghctt9Oq0uZyi/+CTaMPc160GnyUKdSlXC4OKd99EAbw9F+wD9ACdUBAIyzkH6um9tywkOwV shT8Ce5fs6eNCrSVY9hTIKohMSXSybK2H9cl2LqgjjbPfHcWOglK0qHOFodyDwRwU2qg2cZ+7wS QdiDyZHuvrXPWOsIKL8/whSY2L7z8r9/wMzy+J9jgPUxq/bMgC2hBOd3G/WCkatIcpuz+M03rG6 Har9Cn4gf10Xe/IX1L2y8GwbSEmguLG6YoSVVincEdFwNlbii7DcerFwV2+oSRObPFiXYcd6tt3 IeE0TQt6yvJEX9vTcBiMCINi3eScn0zy6mZRUXZbGSxb91/vNE4MuUTzBdkYhsXtBkaZ+kunk5u 4eXWWj09ccjIohqJxDw== X-Proofpoint-GUID: j995TKaU4zN4In1ii6cpJ9oIe0pZv9W2 X-Proofpoint-ORIG-GUID: j995TKaU4zN4In1ii6cpJ9oIe0pZv9W2 X-Authority-Analysis: v=2.4 cv=F7rC5ahN c=1 sm=1 tr=0 ts=6afbf8a3 cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=gEfo2CItAAAA:8 a=EUspDBNiAAAA:8 a=7OpPFmXP-hqOOPK_F8cA:9 a=QEXdDO2ut3YA:10 a=mQ_c8vxmzFEMiUWkPHU9: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 lowpriorityscore=0 adultscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 bulkscore=0 malwarescore=0 spamscore=0 phishscore=0 impostorscore=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