Re: [PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-18 Thread Sumit Garg
Hi Volodymyr, On Mon, 18 May 2020 at 15:57, Volodymyr Babchuk wrote: > > Hi Sumit, > > On Fri, 15 May 2020 at 07:55, Sumit Garg wrote: > > > > Hi Volodymyr, > > > > On Fri, 15 May 2020 at 06:32, Volodymyr Babchuk > > wrote: > > > > > > Hi Sumit, > > > > > > On Thu, 14 May 2020 at 08:38, Sumit

Re: [PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-18 Thread Volodymyr Babchuk
Hi Sumit, On Fri, 15 May 2020 at 07:55, Sumit Garg wrote: > > Hi Volodymyr, > > On Fri, 15 May 2020 at 06:32, Volodymyr Babchuk > wrote: > > > > Hi Sumit, > > > > On Thu, 14 May 2020 at 08:38, Sumit Garg wrote: > > > > > > Hi Volodymyr, > > > > > > On Thu, 14 May 2020 at 06:48, Volodymyr Babch

Re: [PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-14 Thread Sumit Garg
Hi Volodymyr, On Fri, 15 May 2020 at 06:32, Volodymyr Babchuk wrote: > > Hi Sumit, > > On Thu, 14 May 2020 at 08:38, Sumit Garg wrote: > > > > Hi Volodymyr, > > > > On Thu, 14 May 2020 at 06:48, Volodymyr Babchuk > > wrote: > > > > > > Hi Sumit, > > > > > > On Wed, 13 May 2020 at 11:24, Sumit

Re: [PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-14 Thread Volodymyr Babchuk
Hi Sumit, On Thu, 14 May 2020 at 08:38, Sumit Garg wrote: > > Hi Volodymyr, > > On Thu, 14 May 2020 at 06:48, Volodymyr Babchuk > wrote: > > > > Hi Sumit, > > > > On Wed, 13 May 2020 at 11:24, Sumit Garg wrote: > > > > > > Hi Volodymyr, > > > > > > On Wed, 13 May 2020 at 13:30, Jens Wiklander

Re: [PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-13 Thread Sumit Garg
Hi Volodymyr, On Thu, 14 May 2020 at 06:48, Volodymyr Babchuk wrote: > > Hi Sumit, > > On Wed, 13 May 2020 at 11:24, Sumit Garg wrote: > > > > Hi Volodymyr, > > > > On Wed, 13 May 2020 at 13:30, Jens Wiklander > > wrote: > > > > > > Hi Volodymyr, > > > > > > On Wed, May 13, 2020 at 2:36 AM Vol

Re: [PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-13 Thread Volodymyr Babchuk
Hi Sumit, On Wed, 13 May 2020 at 11:24, Sumit Garg wrote: > > Hi Volodymyr, > > On Wed, 13 May 2020 at 13:30, Jens Wiklander > wrote: > > > > Hi Volodymyr, > > > > On Wed, May 13, 2020 at 2:36 AM Volodymyr Babchuk > > wrote: > > > > > > optee_enumerate_devices() can fail for multiple of reason

Re: [PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-13 Thread Sumit Garg
Hi Volodymyr, On Wed, 13 May 2020 at 13:30, Jens Wiklander wrote: > > Hi Volodymyr, > > On Wed, May 13, 2020 at 2:36 AM Volodymyr Babchuk > wrote: > > > > optee_enumerate_devices() can fail for multiple of reasons. For > > example, I encountered issue when Xen OP-TEE mediator NACKed > > PTA_CMD_

Re: [PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-13 Thread Jens Wiklander
Hi Volodymyr, On Wed, May 13, 2020 at 2:36 AM Volodymyr Babchuk wrote: > > optee_enumerate_devices() can fail for multiple of reasons. For > example, I encountered issue when Xen OP-TEE mediator NACKed > PTA_CMD_GET_DEVICES call. This should not result in driver > initialization error because thi

[PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-12 Thread Volodymyr Babchuk
optee_enumerate_devices() can fail for multiple of reasons. For example, I encountered issue when Xen OP-TEE mediator NACKed PTA_CMD_GET_DEVICES call. This should not result in driver initialization error because this is an optional feature. Thus, it is better to print warning, instead of terminat

[PATCH] optee: don't fail on unsuccessful device enumeration

2020-05-12 Thread Volodymyr Babchuk
optee_enumerate_devices() can fail for multiple of reasons. For example, I encountered issue when Xen OP-TEE mediator NACKed PTA_CMD_GET_DEVICES call. This should not result in driver initialization error because this is an optional feature. Thus, it is better to print warning, instead of terminat