+20
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The status of the IPA SMMU MAP/UNMAP operation is stored in the result field of the mem info structure that is passed to the IPA driver. Currently, this field is not checked for MAP/UNMAP failures; when IPA HW accesses such a buffer for which mapping is not correctly setup, it will lead to SMMU faults. Check the result and assert(on failures) to avoid such issues. Also, check if the physical address passed to the IPA driver is non zero value. Change-Id: Iec0702bdf4a07ea37e1213a33dc970028da654df CRs-Fixed: 2928744