Commit 5d45bc0c authored by Sebastian Ene's avatar Sebastian Ene
Browse files

ANDROID: KVM: arm64: Unmap host stage-2 memory on FF-A lend



Add the option to unmap host stage-2 memory on FF-A lend if
Trustzone cannot isolate secure memory from the host. Hide
this behing a command line option to avoid performance
degradation when breaking block mappings from memory donation.
Track the host handles in an array and store the type of
transfer to be able to use the correct share|lend during
the ffa fragmentation calls.

Bug: 352480558
Bug: 278749606
Bug: 381963586
Change-Id: Ifbdc82adb2675f5e7d1ee16ec5356c6f24b031bb
Signed-off-by: default avatarSebastian Ene <sebastianene@google.com>
parent 7368dfbd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment