public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Sumit Garg <sumit.garg@linaro.org>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: edk2-devel@lists.01.org, Patch Tracking <patches@linaro.org>,
	 Leif Lindholm <leif.lindholm@linaro.org>
Subject: Re: [PATCH edk2-platforms 1/1] Silicon/SynQuacer/DeviceTree: add OP-TEE driver node
Date: Fri, 20 Jul 2018 15:43:14 +0530	[thread overview]
Message-ID: <CAFA6WYO9zZoaw3jNT7P1qp+YYeM7xc28=r-mgK8RMMR7TQD0_A@mail.gmail.com> (raw)
In-Reply-To: <CAKv+Gu_U1dR=9FtGdpYPypkRazY1ne5icJp6xkNU+gTF7hKasg@mail.gmail.com>

On Fri, 20 Jul 2018 at 15:31, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
>
> On 20 July 2018 at 16:12, Sumit Garg <sumit.garg@linaro.org> wrote:
> > Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> > Cc: Leif Lindholm <leif.lindholm@linaro.org>
> > Contributed-under: TianoCore Contribution Agreement 1.1
> > Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
> > ---
> >  Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi | 7 +++++++
> >  1 file changed, 7 insertions(+)
> >
> > diff --git a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
> > index 37d642e4b237..d109a5742793 100644
> > --- a/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
> > +++ b/Silicon/Socionext/SynQuacer/DeviceTree/SynQuacer.dtsi
> > @@ -574,6 +574,13 @@
> >          #address-cells = <1>;
> >          #size-cells = <0>;
> >      };
> > +
> > +    firmware {
> > +        optee {
> > +            compatible = "linaro,optee-tz";
> > +            method = "smc";
> > +        };
> > +    };
> >  };
> >
> >  #include "SynQuacerCaches.dtsi"
>
> Hello Sumit,
>
> Is it safe to provide this node when optee is not running?

Yes it is safe. If optee is not running then Linux TEE driver exits
gracefully with below info:

[    1.976021] optee: probing for conduit method from DT.
[    1.976033] optee: api uid mismatch

-Sumit

>
> If not, this should be made dependent on that, so we should probably
> add status = 'disabled', and remove it in PlatformDxe if the DIP
> switch is not set, and/or if there are other ways we might know that
> optee is not running.


  reply	other threads:[~2018-07-20 10:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-20  7:12 [PATCH edk2-platforms 1/1] Silicon/SynQuacer/DeviceTree: add OP-TEE driver node Sumit Garg
2018-07-20 10:01 ` Ard Biesheuvel
2018-07-20 10:13   ` Sumit Garg [this message]
2018-07-20 10:19     ` Ard Biesheuvel
2018-07-20 10:27       ` Sumit Garg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFA6WYO9zZoaw3jNT7P1qp+YYeM7xc28=r-mgK8RMMR7TQD0_A@mail.gmail.com' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox