public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Sumit Garg <sumit.garg@linaro.org>
To: Jerome Forissier <jerome.forissier@linaro.org>
Cc: edk2-devel@lists.01.org,
	Daniel Thompson <daniel.thompson@linaro.org>,
	 Ard Biesheuvel <ard.biesheuvel@linaro.org>,
	Leif Lindholm <leif.lindholm@linaro.org>,
	tee-dev@lists.linaro.org
Subject: Re: [Tee-dev] [PATCH 1/1] ArmPkg/OpteeLib: Add APIs to communicate with OP-TEE
Date: Fri, 24 Aug 2018 17:51:56 +0530	[thread overview]
Message-ID: <CAFA6WYMGVXqEGZCz4Ce90DLwY9i-7=WKuQq+kQ5CDbLga3x5sA@mail.gmail.com> (raw)
In-Reply-To: <c8005328-f548-edb1-8ebc-a93452e3f229@linaro.org>

On Fri, 24 Aug 2018 at 17:48, Jerome Forissier
<jerome.forissier@linaro.org> wrote:
>
>
>
> On 08/24/2018 02:09 PM, Sumit Garg wrote:
> > On Fri, 24 Aug 2018 at 15:57, Jerome Forissier
> > <jerome.forissier@linaro.org> wrote:
> >>
> >>
> >>
> >> On 08/24/2018 11:21 AM, Sumit Garg wrote:
> >>> Add following APIs to communicate with OP-TEE static TA:
> >>
> >> "static TAs" are now preferably called "pseudo TAs" [1],
> >
> > Sure will use "pseudo TAs" instead.
> >
> >> but it seems this API could be used to invoke "early TAs" as well.>
> > Agree this API could work with "early TAs" as well.
>
> SO the exact, precise description is "pseudo/early TAs" ;-)
>

Ok I will use this in v2.

> >
> >> Or any kind of
> >> Trusted Application as long as the non-secure infrastructure is
> >> available (OP-TEE kernel driver and tee-supplicant daemon).
> >>
> >
> > Current patch for UEFI doesn't provide non-secure infrastructure like
> > support for RPC load TA command. I am not sure about usefulness of
> > such infrastructure during boot.
>
> OK that's the info I was missing, if it's for boot time only then
> "regular" TAs are out-of-scope clearly.
>
> > Anyhow this driver could be extended
> > to provide non-secure infrastructure as well.
> >
> > -Sumit
> >
> >> [1]
> >> https://github.com/OP-TEE/optee_os/blob/3.2.0/documentation/optee_design.md#12-trusted-applications
> >>
> >>> 1. OpteeInit
> >>> 2. OpteeOpenSession
> >>> 3. OpteeCloseSession
> >>> 4. OpteeInvokeFunc
> >>>
> >>> 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>
> >>> ---
> >>>  ArmPkg/Include/Library/OpteeLib.h                  | 102 ++++++
> >>>  ArmPkg/Library/OpteeLib/Optee.c                    | 358 +++++++++++++++++++++
> >>>  ArmPkg/Library/OpteeLib/OpteeLib.inf               |   2 +
> >>>  ArmPkg/Library/OpteeLib/OpteeSmc.h                 |  43 +++
> >>>  .../Include/IndustryStandard/GlobalPlatform.h      |  60 ++--
> >>>  5 files changed, 531 insertions(+), 34 deletions(-)
> >>>  create mode 100644 ArmPkg/Library/OpteeLib/OpteeSmc.h
> >>>  copy ArmPkg/Include/Library/OpteeLib.h => MdePkg/Include/IndustryStandard/GlobalPlatform.h (53%)
> >> [...]
> >>


  parent reply	other threads:[~2018-08-24 12:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-24  9:21 [PATCH 1/1] ArmPkg/OpteeLib: Add APIs to communicate with OP-TEE Sumit Garg
     [not found] ` <f9970701-8edc-66d1-7272-a14d39e532f0@linaro.org>
2018-08-24 12:09   ` [Tee-dev] " Sumit Garg
     [not found]     ` <c8005328-f548-edb1-8ebc-a93452e3f229@linaro.org>
2018-08-24 12:21       ` Sumit Garg [this message]
2018-08-24 13:18 ` Ard Biesheuvel
2018-08-27  5:22   ` Sumit Garg
2018-08-24 16:20 ` Udit Kumar
2018-08-24 17:35   ` Ard Biesheuvel
2018-08-24 17:45     ` Udit Kumar
2018-08-24 18:03       ` Matteo Carlini
2018-08-27  9:58         ` Sumit Garg
2018-08-28 13:08           ` Achin Gupta
2018-08-28 16:34             ` Sumit Garg
2018-08-29  4:38               ` Udit Kumar
2018-08-29  5:41               ` Bhupesh Sharma
2018-08-29  7:44                 ` 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='CAFA6WYMGVXqEGZCz4Ce90DLwY9i-7=WKuQq+kQ5CDbLga3x5sA@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