From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::e43; helo=mail-vs1-xe43.google.com; envelope-from=sumit.garg@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-vs1-xe43.google.com (mail-vs1-xe43.google.com [IPv6:2607:f8b0:4864:20::e43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 448492194D3AE for ; Thu, 27 Sep 2018 05:11:02 -0700 (PDT) Received: by mail-vs1-xe43.google.com with SMTP id y22-v6so1318914vsj.10 for ; Thu, 27 Sep 2018 05:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=r3WP78LDm3lcMaFBYKNugFGQ+KP4H4+3XrZ/VB9iWy0=; b=HHMG3oqBQGvH7AepY7uTCztxLIfueioMZsqRkDL+DillDRG1++IeuwoCHS6r+pOM5r zUXumDWTs4c5RCH+TWvwO6oGyCdb5PCIylesfqHwRo9NYNRrhcHl/bOFQ8pAJqCdBsjP bsr92+zEf3cyd38wAAXhJ+uOKrpDVu9TyMcUc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=r3WP78LDm3lcMaFBYKNugFGQ+KP4H4+3XrZ/VB9iWy0=; b=VwSZK/TsOEfFoF563gr75OxuGCBmcyRRJeXPhgtVXC9/ILVWHqTTdfNhiZ3Gez0xcw YYSEg+nvUa/sG1fFucjVIRBz2ACE0AU2rc2QKPIBLc9NOHGDyddEg0K2iZBN98bviree 0HG0DRG2r5ZN951aRYQqiK1Uu7YFJKEk7nae3UouSqr+r3pAHcsg1ccj9wzr5uc5/AAz hmW5uJ9lijkhOVPBd5EG5tXWmumeWMIIhFLscEXVeLqwZALCaPM8Etthmln7KZ7aSvfe Yed+GeaBmB5nj74eNbVK/sYZnu0B/4xD74E0QSbz+XVF58FQcxV9rvbyM9C6IoiAfPp6 RELw== X-Gm-Message-State: ABuFfohe7KcMAdufBxdwToX+Ra23Tw74H3qHuNp1nCF6qQui5kGGQNRq eLm4TDwN4FXWs9vMjSQ85LLhMS8hxpHcaRfFeRA8Vg== X-Google-Smtp-Source: ACcGV63JSdNCQcpyUjMkf6ilYQc8HsJ+LJemn6zc7dhG9L5+iVyVRB8JOQSAmggQ0r3gfkXfSzp2QRe9zNviDreQwok= X-Received: by 2002:a67:f088:: with SMTP id i8-v6mr3004643vsl.174.1538050260565; Thu, 27 Sep 2018 05:11:00 -0700 (PDT) MIME-Version: 1.0 References: <1535370620-10032-1-git-send-email-sumit.garg@linaro.org> <1535370620-10032-2-git-send-email-sumit.garg@linaro.org> In-Reply-To: From: Sumit Garg Date: Thu, 27 Sep 2018 17:40:49 +0530 Message-ID: To: Joakim Bech Cc: Michael D Kinney , Ard Biesheuvel , edk2-devel@lists.01.org, tee-dev@lists.linaro.org, Leif Lindholm , Daniel Thompson , Matteo.Carlini@arm.com, Achin.Gupta@arm.com, udit.kumar@nxp.com, Liming Gao Subject: Re: [PATCH v2 1/2] MdePkg/IndustryStandard: Add Global Plaform header file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Sep 2018 12:11:03 -0000 Content-Type: text/plain; charset="UTF-8" +Joakim Joakim, Please help to answer below query from Michael regarding licensing concerns for using Global Platform specs content in OP-TEE. Regards, Sumit On Wed, 26 Sep 2018 at 23:32, Kinney, Michael D wrote: > > Ard, > > I think it depends on the license behind the click > through. > > The fact that there is another .h file with the > same content under a BSD license is good data point. > However, that other .h file does not reference the > spec with the click through license, so it is not > clear where the define values come from. I looked at > the root of that tree, and it has a Readme.md that > has a link to a Notice.md that has a link to a Notice.md > in another repository that then has a link to the same > specs that require the click through. > > https://github.com/OP-TEE/optee_client/blob/master/README.md > https://github.com/OP-TEE/optee_client/blob/master/Notice.md > https://github.com/OP-TEE/optee_os/blob/master/Notice.md > https://globalplatform.org/specs-library/ > > Can you explain how this other project is using spec > content that requires a click through license. > > Thanks, > > Mike > > > -----Original Message----- > > From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org] > > Sent: Tuesday, September 25, 2018 1:32 AM > > To: Sumit Garg > > Cc: Kinney, Michael D ; > > edk2-devel@lists.01.org; tee-dev@lists.linaro.org; Leif > > Lindholm ; Daniel Thompson > > ; Matteo Carlini > > ; Achin Gupta > > ; Udit Kumar ; > > Gao, Liming > > Subject: Re: [edk2][PATCH v2 1/2] > > MdePkg/IndustryStandard: Add Global Plaform header file > > > > On Tue, 25 Sep 2018 at 10:27, Sumit Garg > > wrote: > > > > > > Thanks Mike for your comments. > > > > > > On Mon, 24 Sep 2018 at 22:20, Kinney, Michael D > > > wrote: > > > > > > > > Hi Ard, > > > > > > > > The initial content is only from the TEE Client API > > Specification. > > > > I noticed that there is an errata to that spec as > > well. Does this > > > > content follow the errata? > > > > > > Yes. > > > > > > > > > > > I also noticed that the specifications require the > > acceptance of > > > > an additional license to view the contents. Is > > there a version of > > > > the content for this include file available that > > does not require > > > > the acceptance of an additional license? > > > > > > > > > > Yes, following is another version of the content for > > this include file: > > > > > > https://github.com/OP- > > TEE/optee_client/blob/master/public/tee_client_api.h#L16 > > 3 > > > > > > > Thanks Sumit. > > > > > > Mike, > > > > are you saying this content should not be [click > > through] license > > encumbered if we want to put it into MdePkg as an > > industry standard? > > > > > > > > > -----Original Message----- > > > > > From: Ard Biesheuvel > > [mailto:ard.biesheuvel@linaro.org] > > > > > Sent: Monday, September 24, 2018 1:26 AM > > > > > To: Sumit Garg > > > > > Cc: edk2-devel@lists.01.org; tee- > > dev@lists.linaro.org; > > > > > Leif Lindholm ; Daniel > > > > > Thompson ; Matteo > > Carlini > > > > > ; Achin Gupta > > > > > ; Udit Kumar > > ; > > > > > Kinney, Michael D ; > > Gao, > > > > > Liming > > > > > Subject: Re: [edk2][PATCH v2 1/2] > > > > > MdePkg/IndustryStandard: Add Global Plaform header > > file > > > > > > > > > > On Sat, 22 Sep 2018 at 01:15, Ard Biesheuvel > > > > > wrote: > > > > > > > > > > > > On 27 August 2018 at 04:50, Sumit Garg > > > > > wrote: > > > > > > > Add Global Plaform header file specific to TEE > > > > > Client API Specification v1 > > > > > > > > > > > > > > > > > > >. > > > > > > > > > > > > > > Cc: Michael D Kinney > > > > > > > > > Cc: Liming Gao > > > > > > > Cc: Ard Biesheuvel > > > > > > > Cc: Leif Lindholm > > > > > > > Contributed-under: TianoCore Contribution > > Agreement > > > > > 1.1 > > > > > > > Signed-off-by: Sumit Garg > > > > > > > > > > > > > > Acked-by: Ard Biesheuvel > > > > > > > > > > > > > > Mike, > > > > > > > > > > > > The header file is a bit light on content at > > > > > introduction, but as > > > > > > discussed online, we can add stuff as we go for > > other > > > > > use cases. > > > > > > > > > > > > > > > > ... as discussed *offline* > > > > > > > > > > > > > > > > > > --- > > > > > > > > > MdePkg/Include/IndustryStandard/GlobalPlatform.h | > > > > > 27 ++++++++++++++++++++++++ > > > > > > > 1 file changed, 27 insertions(+) > > > > > > > create mode 100644 > > > > > MdePkg/Include/IndustryStandard/GlobalPlatform.h > > > > > > > > > > > > > > diff --git > > > > > a/MdePkg/Include/IndustryStandard/GlobalPlatform.h > > > > > b/MdePkg/Include/IndustryStandard/GlobalPlatform.h > > > > > > > new file mode 100644 > > > > > > > index 000000000000..72c5af4ef588 > > > > > > > --- /dev/null > > > > > > > +++ > > > > > b/MdePkg/Include/IndustryStandard/GlobalPlatform.h > > > > > > > @@ -0,0 +1,27 @@ > > > > > > > +/** @file > > > > > > > + Standardized Global Platform header file. > > > > > GlobalPlatform TEE Client API > > > > > > > + Specification v1.0: > > > > > > > > > > > > > > > > > > > + > > > > > > > + Copyright (c) 2018, Linaro Ltd. All rights > > > > > reserved.
> > > > > > > + > > > > > > > + This program and the accompanying materials > > > > > > > + are licensed and made available under the > > terms > > > > > and conditions of the BSD License > > > > > > > + which accompanies this distribution. The > > full > > > > > text of the license may be found at > > > > > > > + http://opensource.org/licenses/bsd- > > license.php > > > > > > > + > > > > > > > + THE PROGRAM IS DISTRIBUTED UNDER THE BSD > > LICENSE > > > > > ON AN "AS IS" BASIS, > > > > > > > + WITHOUT WARRANTIES OR REPRESENTATIONS OF > > ANY > > > > > KIND, EITHER EXPRESS OR IMPLIED. > > > > > > > + > > > > > > > +**/ > > > > > > > + > > > > > > > +#ifndef _GLOBAL_PLATFORM_H_ > > > > > > > +#define _GLOBAL_PLATFORM_H_ > > > > > > > + > > > > > > > +#define TEEC_ORIGIN_COMMS > > > > > 0x00000002 > > > > > > > + > > > > > > > +#define TEEC_SUCCESS > > > > > 0x00000000 > > > > > > > +#define TEEC_ERROR_BAD_PARAMETERS > > > > > 0xFFFF0006 > > > > > > > +#define TEEC_ERROR_OUT_OF_MEMORY > > > > > 0xFFFF000C > > > > > > > +#define TEEC_ERROR_COMMUNICATION > > > > > 0xFFFF000E > > > > > > > + > > > > > > > +#endif > > > > > > > -- > > > > > > > 2.7.4 > > > > > > >