Re: [PATCH v5 2/7] tee: Add kernel client object invoke helper
From: Harshal Dev
Date: Mon Nov 02 2026 - 08:46:25 EST
Hi Amir,
On 26-10-2026 08:39 am, Amirreza Zarrabi wrote:
> Hi Harshal,
>
> On 10/15/2026 10:39 PM, Harshal Dev wrote:
>> From: Amirreza Zarrabi <amirreza.zarrabi@xxxxxxxxxxxxxxxx>
>>
>> Kernel clients can open a TEE context and invoke regular TA commands
>> through tee_client_invoke_func(). However, there is currently no
>> equivalent helper for invoking TEE objects.
>>
>> Add tee_client_object_invoke_func() as a kernel client API for issuing
>> object invocation requests. The helper checks that the backend provides
>> object_invoke_func() before forwarding the request by setting the origin
>> as TEE_OBJECT_INVOKE_KERNEL. This allows TEE backends to support
>> privileged object-based calls from the kernel-space.
>>
>> Co-developed-by: Harshal Dev <harshal.dev@xxxxxxxxxxxxxxxx>
>> Signed-off-by: Harshal Dev <harshal.dev@xxxxxxxxxxxxxxxx>
>> Reviewed-by: Sumit Garg <sumit.garg@xxxxxxxxxxxxxxxx>
>> Reviewed-by: Amirreza Zarrabi <amirreza.zarrabi@xxxxxxxxxxxxxxxx>
>> Signed-off-by: Amirreza Zarrabi <amirreza.zarrabi@xxxxxxxxxxxxxxxx>
>
> I did not notice this patch has my signed-off tag already.
> You can drop my Reviewed-by tag.
>
Makes sense, I did not notice this because b4 applied it automatically.
Ack.
Regards,
Harshal
> - Amir
>