From patchwork Wed Oct 10 05:18:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 148529 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp406849lji; Tue, 9 Oct 2018 22:19:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV60n6giG1c+yZ9qHCco/zuSgFV0Fol+FZU4A2fWz6u9BnH7ThhmEYu0kz2DNwLGAwYz1S99m X-Received: by 2002:a62:824a:: with SMTP id w71-v6mr33037890pfd.68.1539148781394; Tue, 09 Oct 2018 22:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539148781; cv=none; d=google.com; s=arc-20160816; b=fxYFutv7lxSBjQDDjxLQCwrragAt0tP5c5euwSf7UZjA7t/pSqGnCjZ+pVvuzzw5Vm zPfEOttNCGRKYkJwg3Bqyjt+fnyN1XcalsS2NvX3OmQZXyvkJ1l4KHg5LB2A6y8HiBSQ LRwEQ6V03yP3Xhdl7DqhQetKXASlB2QCdUriiF81szEj0/dbApxUNHGOfEPKSFKKHYq2 dI5GeNGB0owiToqBfOjjmniEz8whhAZPhAdEnRSXCK+sVG4nGrYrY7B6WdEPYqasHRmV 77Bo7LmaawqGNPXCUeEXGrzb5cccYVfiJ5Pl1LHYupbD4ZRQ82wHdwm5NpZvKHmbwHaD hPrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=7nDnlm0uIbA0NsVBQWnwwj7+lfumTXF4upSiHo4fzfo=; b=mNnTlyTlOsjS77URrZHA6ORmb6cUJ6M2S6txQzjXSXuAZgOtIzHaiKI1OiwtXX3Cxm 6h0zFup2fp0bRDZVPnWDknkC28629mvyrgJSBPDdSOzBLKsGVZt5cYXEN+nBbC0oZ55R 15lX/shM3DAhiQKHanbAokA8Sw4i6s2gpSHl+czxvrne4lzbLojdJk4pQpy/oqlNbcBQ PN+O0z7UFhMJJhpWdnS17zyq9nls64LNrsLzdbv7FWYsCB4aH3Yidtc3BZeFaNEcOp0c PS/Bj7vIi81lK53b34G+GyF4T2oUF7M4MeIT0fc+ZMUL7w9TYlBsQvFJgjkr431dJTRj Q0hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Kpwue88I; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id e21-v6si21947829pgk.311.2018.10.09.22.19.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Oct 2018 22:19:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Kpwue88I; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 714A221A07A82; Tue, 9 Oct 2018 22:19:40 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::636; helo=mail-pl1-x636.google.com; envelope-from=sumit.garg@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) (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 A5AB121164C6F for ; Tue, 9 Oct 2018 22:19:38 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id y15-v6so1916122plr.12 for ; Tue, 09 Oct 2018 22:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=MujFKY+PigIETt2BmckI1Wyv6v4yNMuIsOrZEg9NX6s=; b=Kpwue88IIXDkfUi3GAdETzWLZfLZ/hNR0/q1BF5W/ayqH2Xs902emdUdXW7IspZtom 5PXLcayk7R9jGD2LCRmbo6D+dZfaJlPxhkZXrsWBhwKsK+I1RQ7F8HHtlcCraBDgwVWw nu2RtXkSGDDis9iM74YloEfv+fsBY2jdYFjs4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MujFKY+PigIETt2BmckI1Wyv6v4yNMuIsOrZEg9NX6s=; b=VEb6tFhvNeu2+dAdUd6IBgGypLzSQhC3HEL9yK9Xg9b/eSHTlrcPxVuvOzb/vs9shi L5WCVW/aA6wgkquXIhkmPWSCxoLeiOX6EcYs1xuwFXB0QkE/oGCO4axI0BB9+Gs5+bC9 iuqduYyMIaxfrs/h15X5ZR3DqhdeaJWEQznMaN8JK2A2i3OkuSiGq+A2ZYg4l195SiH9 x6UAuuDj0qVHZMGCxEiyYNl8bGBjLIg1ZKkRtbneDbNrVcI1yUbgI/lzqGcmdyTIleG/ hh75yySf5Myc4wbIK2XTrGJeMIzCkgxMLL1ESdqGf6AYMLdQrl+YibvndkbXtEJZ8/lW BkFQ== X-Gm-Message-State: ABuFfoiZnOFrEzRr4+3xEhhtEs5VdICJS9yQeSNxhjNTaX5Tv236dqvv 9DTyQzUZYw7FsSuvR+o7CvLoaJz1yQk= X-Received: by 2002:a17:902:4403:: with SMTP id k3-v6mr31432252pld.243.1539148778258; Tue, 09 Oct 2018 22:19:38 -0700 (PDT) Received: from localhost.localdomain ([117.241.99.153]) by smtp.gmail.com with ESMTPSA id v5-v6sm47283406pfd.64.2018.10.09.22.19.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Oct 2018 22:19:37 -0700 (PDT) From: Sumit Garg To: edk2-devel@lists.01.org Date: Wed, 10 Oct 2018 10:48:52 +0530 Message-Id: <1539148733-5426-1-git-send-email-sumit.garg@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH v4 0/1] Add ArmPkg/Optee library APIs 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: , Cc: daniel.thompson@linaro.org, tee-dev@lists.linaro.org, michael.d.kinney@intel.com, joakim.bech@linaro.org MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Changes in v4: Replaced abbreviations with full name which are not defined in [1]. Also used EFI_GUID for Trusted Application UUIDs. [1] https://edk2-docs.gitbooks.io/edk-ii-c-coding-standards-specification/content/v/release/2.20/4_naming_conventions/#table-2-efi-supported-abbreviations Changes in v3: Removed GlobalPlatform TEE return codes (IndustryStandard/GlobalPlatform.h) that were rejected by EDK2 maintainers. Rather used custom ones for this OP-TEE driver. Changes in v2: 1. Separate patch for MdePkg/Include/IndustryStandard/GlobalPlatform.h. 2. Correct comments style for struct members. 3. Update commit message. Sumit Garg (1): ArmPkg/OpteeLib: Add APIs to communicate with OP-TEE ArmPkg/Library/OpteeLib/OpteeLib.inf | 2 + ArmPkg/Include/Library/OpteeLib.h | 88 +++++ ArmPkg/Library/OpteeLib/OpteeSmc.h | 43 +++ ArmPkg/Library/OpteeLib/Optee.c | 397 ++++++++++++++++++++ 4 files changed, 530 insertions(+) create mode 100644 ArmPkg/Library/OpteeLib/OpteeSmc.h -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel