Introduce qcomtee_object, which represents an object in both QTEE and
the kernel. QTEE clients can invoke an instance of qcomtee_object to
access QTEE services. If this invocation produces a new object in QTEE,
an instance of qcomtee_object will be returned.
Similarly, QTEE can request services from by issuing a callback
request, which invokes an instance of qcomtee_object.
Implement initial support for exporting qcomtee_object to userspace
and QTEE, enabling the invocation of objects hosted in QTEE and userspace
through the TEE subsystem.
Tested-by: Neil Armstrong <[email protected]>
Tested-by: Harshal Dev <[email protected]>
Acked-by: Sumit Garg <[email protected]>
Signed-off-by: Amirreza Zarrabi <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>