From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 13101156F45 for ; Mon, 2 Feb 2026 02:19:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769998768; cv=none; b=oPkHilq+U2JUuhRb3wj1lWqX0gk0aZeE0bd48BpW3w9wlPio6bf2BZ8DtW6qN8cdfesGnEPjxPuvDOYogqAgikQKC1J/8eaautO64cqUBGfeep2OZnNz8bafWvVZs7wjwR72EJOLHkQZLqLJgyypBVikHGtZkbNHayV4IqehnYw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769998768; c=relaxed/simple; bh=dmsQPhyyoo//BQUfpD6c9uWniyt09qvEuzjYSnJEXfE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=BFJYPZ+YAsr/zMIqUHAkPvib8fy59Uo/HBWrLQrDS+sktaIu52dxeuNPNfhTzjVp/hvID/qIh1KWLC5XZJOWNmT9SJf1OkmtHZaqqPaWeBwdzwmhOq+GoO69FxgQ+GsxRv0xX4Tk7u7nEZNYgu85n0NfKx5+2g0MNcFnV1jNMh8= 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=UO/KZ4nw; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=cqkw7EUU; arc=none smtp.client-ip=205.220.168.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="UO/KZ4nw"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="cqkw7EUU" 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 611LsUiT1592873 for ; Mon, 2 Feb 2026 02:19:26 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= b14DYZA6t81NrDQFybjoZG0hsObrz3I5Jr9O0v6p8ow=; b=UO/KZ4nwXdG/nWDA TqvjOKHU3SG//jZsxYWP7wqrbk7mv2iJDsiE+jMS72orKlsx3Cl8duDd9/+I5LrG BH0/121g2pX0a0c2Cf7UXN35k3/N5gswxPPFLXI6Erxl3GHKyr+wXapuLCOtfMzt kcEa6mgxIOlsmJnQ1cdNmwbsIjdlXkUvlcRnb+gr/8zoK7eI3+boL4wgsDx6bqw7 v4nFTsYLqkv0jtxCZ0GLEXoRDKJT8wEPE2Y6X/yRvurmZ6hI0OKQFW5+s7SWe3+8 UBBNqb9tTzvK0niXb0+NKLO5HTSv0+Jl56Mac9glocUfpr8GD81qCQGuufUOpQxR u8RkUA== 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 4c23h1h9e9-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 02 Feb 2026 02:19:26 +0000 (GMT) Received: by mail-pj1-f70.google.com with SMTP id 98e67ed59e1d1-34ab8693a2cso9366784a91.0 for ; Sun, 01 Feb 2026 18:19:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769998766; x=1770603566; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=b14DYZA6t81NrDQFybjoZG0hsObrz3I5Jr9O0v6p8ow=; b=cqkw7EUU5bRe2oGY6HaC+42Q7pBNAoqqIp430PsjjoIGZmrLsGU00smGR07UNwUAuV RpJvu/Cq3CNiN7IeTmyW15iidZD3B1mXeAT6sTRNzx3HVGyahGDd0X61dHOgNnHIaqqd f/34ULl30T66JNDzZZ9yJaecpKL/ZXg4F/Qe0ducCSJXKGwu7LaSwU0dPqCfXCkErkJB R3nUkySjsxOR1drsmqAvS9T2kqrGYrELwBQWDMEiznXQ3mRCylqh/K4B+XA9mjvCsgmB v1M63z3kAe6cJu71S6MF7fKcOrQpjFL72QeohumZvUu+fNqKLNuQABrYjeQB4piLWcQt t7iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769998766; x=1770603566; h=content-transfer-encoding:in-reply-to:from: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; bh=b14DYZA6t81NrDQFybjoZG0hsObrz3I5Jr9O0v6p8ow=; b=IGvuaCqYpNvp7ZChlnxgrhF4SJSdFFvAljwJ8BuZrj1XTkuYS6xnyQp6WNah3PXXmV jfJbWbrmFIiLxPJodMy9z5/OBcBOjJDpkRPQMQYcmvYoM4Yck12xN0yNjNfx/INFRqAK 4wawSBFoCgLZQpJXEbsCvGD+e/Icf3z1z/mDFy88jeMK/+0DduYCZ7+T6XL+vFMJJFZs 6TUvMDV0YcwBO5rinU2M57TiuAovnkcvT7Q3lqly9wdKb4hm0mk+vvHtO+DoNeSG6qv/ 8oVp9/d4m0/Rq1wL3i/usGmF0vK1zossY+fVcF2nNBmrOKBTrw5K41AemfBntrGMBrkg 2Vxw== X-Forwarded-Encrypted: i=1; AJvYcCU1qcUhkXME3v3ojU2jUqGcWCT5yle+EP7N/GagWunyrbP3AD4Wo1bW11xzKG2fzY4UTnmNvMc1fDUXqyA=@vger.kernel.org X-Gm-Message-State: AOJu0YxAZwGckmGpGHmFMYJ6PS0G9gpL5oNSR4bUDv958BR6ikx6gNSl nJQ4H5DGH9euMWuUQBe1tITfwr4xaB16aWgTkqjrFapvZ/oJwThfRa7tmcQZC1rCJ/AuJVhBUSF QYUzLToRI7cYfIb7i8jf/vUt99fp4AQ7e4/YBazOVcX8YwN98pYkX9KW9x1cBdVWX4vc= X-Gm-Gg: AZuq6aIjHi7zgRcOkqhMCxGQiXpvNvn27WCbkcKETOjBM4saNs1Uz7GsRB0dekCCIek FVqgmcWJecDbvn6aHxHi7isBycFPOeBMawEhitDE1XePSDXrUiFdVsM0CA3vpZAaYLynF0nCY1P liVOn/gem4RoYoAwS1r8i4pSOKzTBtnEUm/PFLHC0D3O15PxLo7DWvdHm8rFqG4Dwog4jjEZXJa UyaV2dKX8mTzIEmIAEZA+mubi+D1lm0fnMSCYJKilQoKT7fA8ZXvRxHKqOoqJrUO41LsXilypyf YOlpWbbv/VGe1gb9wSKNEaa9BpXOYjAc3xe9wWUi67n77NR1RKjiFy6FtQsHDzmWVGuZfCTIqLu G9XkLXQEccNGPIQm9R5cbb6ZzuZphAWkJMXIOblRa7Cw3yJ+QI8tbRuGbmp5lGaPnIuqj9e4UO8 Q= X-Received: by 2002:a17:90b:4fca:b0:34a:4cc0:9e38 with SMTP id 98e67ed59e1d1-3543b316875mr9716367a91.10.1769998765632; Sun, 01 Feb 2026 18:19:25 -0800 (PST) X-Received: by 2002:a17:90b:4fca:b0:34a:4cc0:9e38 with SMTP id 98e67ed59e1d1-3543b316875mr9716343a91.10.1769998765137; Sun, 01 Feb 2026 18:19:25 -0800 (PST) Received: from [10.133.33.156] (tpe-colo-wan-fw-bordernet.qualcomm.com. [103.229.16.4]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-353f6205d3esm16462175a91.13.2026.02.01.18.19.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Feb 2026 18:19:24 -0800 (PST) Message-ID: <7efdf5ab-fd96-4388-b914-8ac1f90e5813@oss.qualcomm.com> Date: Mon, 2 Feb 2026 10:19:19 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: hamoa: Add remoteproc in EL2 device trees To: Xilin Wu , andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, tingwei.zhang@oss.qualcomm.com, jie.gan@oss.qualcomm.com, Konrad Dybcio References: <20260130073113.3091884-1-xin.liu@oss.qualcomm.com> <11D9329300A4B492+9485ef48-5ac3-4030-afd3-e5c7dabfa1d8@radxa.com> From: Xin Liu In-Reply-To: <11D9329300A4B492+9485ef48-5ac3-4030-afd3-e5c7dabfa1d8@radxa.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-GUID: c9n5eCFLDAIidwq_o-IJ5atU5eSrg0yr X-Proofpoint-ORIG-GUID: c9n5eCFLDAIidwq_o-IJ5atU5eSrg0yr X-Authority-Analysis: v=2.4 cv=Fu8IPmrq c=1 sm=1 tr=0 ts=698009ae cx=c_pps a=0uOsjrqzRL749jD1oC5vDA==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=lhBQhH1O_-Za_c4e93IA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=eSe6kog-UzkA:10 a=mQ_c8vxmzFEMiUWkPHU9:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjAyMDAxNiBTYWx0ZWRfX6B5kDkWp4cBJ Svn1zkAYJSPBe+EwQu+n1XSYslVlnTpWgy9XHRGXxXnrdlhQ+B8ZwD3Klvaz9JO1P0s6nlf95Us B5LVAC7ovOLH8Qge2dekeaE06ufYEtzdZ9OOEwkgJ5A+IWRMkFU9gg6bau4xHt5N6ZkjZCntU9I Eoz2Ljj3neWh0lUIIeUjipG0s+klHDG19ZV4uMEfUXVByj5rIy5iMdsUarL8gH64LPjDU+7zYHd GCj0cbquIlKLZpwiHlHDAv3IO4jN9egQ7/YtmN1eGGNyRIFMP4JKC7Xh41d3jsDFBhzQ0OItk6S JbMJDQZfjKmY1h+ZTXigFw48yXrffM9ZUD2+4xLJJ9u7RVwDtoyiJh1JrikkMh4DGp5xUcEs8dt b7uS+E1rOlzD//OpcML6J759yWFw+wBRZX7K6qjO1Xg0zNmw5Z9AKFfXNRE1YzvwXoOztcyCx/f CurAI4pMtXC1z/nwAFA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-02_01,2026-01-30_04,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 bulkscore=0 malwarescore=0 adultscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2602020016 On 1/30/2026 5:37 PM, Xilin Wu wrote: > On 1/30/2026 3:31 PM, Xin Liu wrote: >> All the existing variants Talos boards are using Gunyah hypervisor >> which means that, so far, Linux-based OS could only boot in EL1 on >> those devices.  However, it is possible for us to boot Linux at EL2 >> on these devices [1]. >> >> When running under Gunyah, the remote processor firmware IOMMU streams >> are controlled by Gunyah. However, without Gunyah, the IOMMU is managed >> by the consumer of this DeviceTree. Therefore, describe the firmware >> streams for each remote processor. >> >> Add remoteproc to the EL2 device trees to generate the corresponding >> -el2.dtb files. >> >> [1] >> https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-4/boot-developer-touchpoints.html#uefi >> >> >> Signed-off-by: Xin Liu >> --- >>   arch/arm64/boot/dts/qcom/x1-el2.dtso | 8 ++++++++ >>   1 file changed, 8 insertions(+) >> > > Hi Xin, > > Will this work on Snapdragon X laptops running the older Windows > firmware? I believe that Peripheral Image Loader support in EL2 > requires a newer version of the TrustZone firmware. > > I noticed that the TrustZone firmware used in hamoa_iot-ubuntu [1] has > a different version string compared to the WP firmware found in laptops: > > iot-ubuntu: TZ.XF.5.0 > WP: TZ.XF.5.28.1 > > > [1] > https://softwarecenter.qualcomm.com/nexus/generic/software/chip/ubuntu_qualcomm_iot-spf-1-0/ubuntu-qualcomm-iot-spf-1-0_test_device_public/r1.0.r1_00004.0/hamoa_iot-ubun-1-0-r1/common/build/bin > > Hi,Xilin Now firmware can not work, still need TZ team to modify some things. It is the only modification from kernel side, so I update it. Uploading this modification will also facilitate debugging by TZ team. Thanks, Xin