Hi, Olivier I need to explain the query in more detail.
For building/running hafnium , did you have to apply a change similar to: https://review.trustedfirmware.org/c/hafnium/hafnium/+/18510 <https://review.trustedfirmware.org/c/hafnium/hafnium/+/18510 >
Yes. Some time ago, we used hafnium codebase based on the commit ca03054ba6a351534b93e6d64c12e671578eb340. And I verified the fix. The compilation passed, but the system cannot boot successfully. Later, we updated the hafnium codebase based on the commit dd883207ee9b31c19169adf97c918d561dcb9a5c. And I verified the fix again. The system can boot successfully. Regards, Yuye. ------------------------------------------------------------------ 发件人:Olivier Deprez Olivier.Deprez@arm.com 发送时间:2023年3月23日(星期四) 16:54 收件人:梅建强(禹夜) meijianqiang.mjq@alibaba-inc.com 主 题:Re: load optee at 36bit address Hi Yuye, just to acknowledge receipt of this query. Please accept a slow response as I'm currently away from my office. I will do a few trials at my end to reproduce and try to help at my best. For building/running hafnium , did you have to apply a change similar to: https://review.trustedfirmware.org/c/hafnium/hafnium/+/18510 <https://review.trustedfirmware.org/c/hafnium/hafnium/+/18510 > Regards, Olivier. From: 梅建强(禹夜) meijianqiang.mjq@alibaba-inc.com Sent: 22 March 2023 04:50 To: Olivier Deprez Olivier.Deprez@arm.com; Jens Wiklander jens.wiklander@linaro.org Cc: hafnium hafnium@lists.trustedfirmware.org; op-tee op-tee@lists.trustedfirmware.org Subject: load optee at 36bit address Hi, experts, We are currently moving optee to a 36bit address to boot with environment that hafnium runs at sel2 as spmc and optee runs at sel1 as sp. Now we have moved hafnium to 0x880000000 and run successfully. Then we tried moving optee to a 36bit address (0x89000000) as well. Although hafnium and optee were successfully initialized on the primary cpu, psci_cpu_on does not seem to be entered into when the secondary cpu is started. The error is as follows: https://github.com/OP-TEE/optee_os/issues/5895 <https://github.com/OP-TEE/optee_os/issues/5895 > Is there any difference between the two cases where hafnium and optee initialize the secondary cpu with different load_address? The log print shows that the secondary cpu has not entered hafnium. Could Hafnium be affected by the 36bit address when dealing with psci related transactions? Regards, Yuye. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.