You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have already enabled the OP-TEE virtualization feature with CFG_VIRTUALIZATION=y in OP-TEE 3.18 on the device.
Now I use the core_mmu_add_mapping()/core_mmu_remove_mapping() to mmap/unmmap in optee guest VM. It used ok when mapping the PA, but it will panic when unmmap the matched VA.
I found it only updates the global static_memory_map when calling core_mmu_add_mapping(), but the memory mmap table of guest VM is a new memory and copy from static_memory_map when creating guest VM, it doesn't update the memory mmap table of guest VM, so it can't find PA through the matched VA. Does it provide other APIs to mmap/unmmap in guest VM?
Thank you for your help!
The text was updated successfully, but these errors were encountered:
The code doesn't support unmapping with virtualization enabled after exiting to the normal world for the first time. We'll need to add support for that at some point.
Dear all,
I have already enabled the OP-TEE virtualization feature with CFG_VIRTUALIZATION=y in OP-TEE 3.18 on the device.
Now I use the core_mmu_add_mapping()/core_mmu_remove_mapping() to mmap/unmmap in optee guest VM. It used ok when mapping the PA, but it will panic when unmmap the matched VA.
I found it only updates the global static_memory_map when calling core_mmu_add_mapping(), but the memory mmap table of guest VM is a new memory and copy from static_memory_map when creating guest VM, it doesn't update the memory mmap table of guest VM, so it can't find PA through the matched VA. Does it provide other APIs to mmap/unmmap in guest VM?
Thank you for your help!
The text was updated successfully, but these errors were encountered: