Hi Sandeep,
On Fri, Nov 4, 2016 at 3:38 PM, Sandeep Tripathy sandeep.tripathy@broadcom.com wrote:
Hi,
I see explicit checks for OPTEE_SMC_NSEC_CAP_UNIPROCESSOR. What is the limitation with uniprocessor system.
The problem is with the way Linux detects it and how memory is mapped when detected. If Linux considers the system an SMP system, memory is mapped as shared, while if considered an UP system it's not mapped as shared. OP-TEE has to map memory shared with Linux with the same shared settings to keep the memory coherent with normal world. So far we don't have a pretty solution for that so we just ignore the problem and assume/require that all systems are SMP systems.
Regards, Jens