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

2019-02-01 Thread Sumit Garg
On Fri, 1 Feb 2019 at 13:58, Jens Wiklander wrote: > > On Tue, Jan 29, 2019 at 11:19:37AM +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 pro

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

2019-02-01 Thread Jens Wiklander
On Tue, Jan 29, 2019 at 11:19:37AM +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 v6 3/4] tee: optee: add TEE bus device enumeration support

2019-01-28 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.