Hi, Jens, The PR has been updated as requested. https://github.com/OP-TEE/optee_os/pull/5966 <https://github.com/OP-TEE/optee_os/pull/5966 > Regards, Yuye. ------------------------------------------------------------------ 发件人:Jens Wiklander jens.wiklander@linaro.org 发送时间:2023年7月3日(星期一) 15:20 收件人:梅建强(禹夜) meijianqiang.mjq@alibaba-inc.com 抄 送:op-tee op-tee@lists.trustedfirmware.org 主 题:Re: core: fix fragmented memory retrieve Hi Yuye, On Mon, Jul 3, 2023 at 8:30 AM 梅建强(禹夜) meijianqiang.mjq@alibaba-inc.com wrote:
Hi, Jens,
The previous fix was based on ffa_mem_transaction with ffa version 1.0, now optee and Hafnium have updated ffa_mem_transaction to ffa 1.1. But optee-driver in linaro-swg/linux seems to be using ffa version 1.0, which causes incorrect data reading when the driver is doing mem_share to Hafnium. I need to debug my previous code. When will optee-driver synchronize this version change?
Updating the SPMC version in the SPMC manifest should fix the issue of mismatching versions. By the way, I've started to update my QEMU S-EL2 setup to use upstream only. I'll propose updates for the manifest and build gits to be merged after the upcoming OP-TEE release. Cheers, Jens
Regards, Yuye.
发件人:Jens Wiklander jens.wiklander@linaro.org 发送时间:2023年6月28日(星期三) 17:54 收件人:梅建强(禹夜) meijianqiang.mjq@alibaba-inc.com 抄 送:op-tee op-tee@lists.trustedfirmware.org 主 题:Re: core: fix fragmented memory retrieve
Hi Yuye,
On Wed, Jun 28, 2023 at 11:50 AM 梅建强(禹夜) meijianqiang.mjq@alibaba-inc.com wrote:
Hi, Jens,
Sorry for forgetting to revise the PR in time, because my github email changed so I haven't received any comments. Could you help me reopen the PR since I don't have the right? I will re-fix the problem as requested. Thanks. https://github.com/OP-TEE/optee_os/pull/5966 <https://github.com/OP-TEE/optee_os/pull/5966 >
I've reopened it.
Cheers, Jens