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:57:45 +0530 [thread overview]
Message-ID: <CAFA6WYMFaWJRxf7j0Gi=D3C308otSbWFLQerKWWSZm7_H_AZvg@mail.gmail.com> (raw)
In-Reply-To: <CAKv+Gu_02AAbfP+vNbHskANLicGgATdpartKD36XacNLM6HDbw@mail.gmail.com>
On Fri, 20 Jul 2018 at 15:49, Ard Biesheuvel <ard.biesheuvel@linaro.org> wrote:
>
> On 20 July 2018 at 19:13, Sumit Garg <sumit.garg@linaro.org> wrote:
> > 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
> >
>
> Ok, so it is safe but it still prints a nasty error.
>
> So let's fix this properly: you can check the existing code to find
> out how the mmc DT node gets enabled in PlatformDxe.
Sure will have a look at mmc DT addition code and come up with a more
clean solution.
-Sumit
prev parent reply other threads:[~2018-07-20 10:27 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
2018-07-20 10:19 ` Ard Biesheuvel
2018-07-20 10:27 ` Sumit Garg [this message]
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='CAFA6WYMFaWJRxf7j0Gi=D3C308otSbWFLQerKWWSZm7_H_AZvg@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