Re: [PATCH v5 3/4] tee: optee: add TEE bus device enumeration support

2019-01-24 Thread Sumit Garg
On Thu, 24 Jan 2019 at 15:45, Daniel Thompson wrote: > > On Thu, Jan 24, 2019 at 11:24:38AM +0530, Sumit Garg wrote: > > OP-TEE provides a pseudo TA to enumerate TAs which can act as devices/ > > services for TEE bus. So implement device enumeration using invoke > > function: PTA_CMD_GET_DEVICES p

Re: [PATCH v5 3/4] tee: optee: add TEE bus device enumeration support

2019-01-24 Thread Daniel Thompson
On Thu, Jan 24, 2019 at 11:24:38AM +0530, Sumit Garg wrote: > OP-TEE provides a pseudo TA to enumerate TAs which can act as devices/ > services for TEE bus. So implement device enumeration using invoke > function: PTA_CMD_GET_DEVICES provided by pseudo TA to fetch array of > device UUIDs. Also regi

[PATCH v5 3/4] tee: optee: add TEE bus device enumeration support

2019-01-23 Thread Sumit Garg
OP-TEE provides a pseudo TA to enumerate TAs which can act as devices/ services for TEE bus. So implement device enumeration using invoke function: PTA_CMD_GET_DEVICES provided by pseudo TA to fetch array of device UUIDs. Also register these enumerated devices with TEE bus as "optee-clntX" device.