Re: [PATCHv8 1/3] optee: use uuid for sysfs driver entry
From: Maxim Uvarov
Date: Wed Jun 17 2020 - 02:46:18 EST
On Wed, 17 Jun 2020 at 09:07, Sumit Garg <sumit.garg@xxxxxxxxxx> wrote:
>
> On Wed, 17 Jun 2020 at 02:20, Jarkko Sakkinen
> <jarkko.sakkinen@xxxxxxxxxxxxxxx> wrote:
> >
> > On Thu, Jun 04, 2020 at 08:58:49PM +0300, Maxim Uvarov wrote:
> > > With the evolving use-cases for TEE bus, now it's required to support
> > > multi-stage enumeration process. But using a simple index doesn't
> > > suffice this requirement and instead leads to duplicate sysfs entries.
> > > So instead switch to use more informative device UUID for sysfs entry
> > > like:
> > > /sys/bus/tee/devices/optee-ta-<uuid>
> > >
> > > Signed-off-by: Maxim Uvarov <maxim.uvarov@xxxxxxxxxx>
> > > Reviewed-by: Sumit Garg <sumit.garg@xxxxxxxxxx>
> >
> > Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@xxxxxxxxxxxxxxx>
> >
> > Sumit, are you able to test these easily?
>
> Yes, I could give them a try.
>
> Maxim,
>
> Could you share fTPM TA tree which I should use for testing?
>
> -Sumit
Yes, I will send you an email.
>
> >
> > /Jarkko