From patchwork Wed Nov 9 15:56:20 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Achin Gupta X-Patchwork-Id: 81534 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp267433qge; Wed, 9 Nov 2016 07:56:30 -0800 (PST) X-Received: by 10.98.79.193 with SMTP id f62mr365745pfj.149.1478706990870; Wed, 09 Nov 2016 07:56:30 -0800 (PST) Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id sf7si132752pac.246.2016.11.09.07.56.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Nov 2016 07:56:30 -0800 (PST) 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=@armh.onmicrosoft.com; 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 Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id EBAC081C95; Wed, 9 Nov 2016 07:56:26 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on061c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe02::61c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 4CE5081C94 for ; Wed, 9 Nov 2016 07:56:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DiMU9flcQXr74APf60kW20YzJKyc51npTjS3MdvA5ZM=; b=pRo5TDVek+UOq6MZS/K39DwJ4qA1YyLw8/fKBlIYsQ96oEyWvhnmNBzIPl0QIVFJNJ531k3HjE/NIrCffACu/yhOoCHlAIKjFfglHVccljhq/zpcKrvsx2QvJVn4nR5Nz8uNvbnAd0084KJPwt8n/sduUMdkyvEQYJ9+UiW5LBw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Achin.Gupta@arm.com; Received: from e104320-lin.cambridge.arm.com (217.140.96.140) by VI1PR08MB1197.eurprd08.prod.outlook.com (10.166.45.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6; Wed, 9 Nov 2016 15:56:25 +0000 From: To: Date: Wed, 9 Nov 2016 15:56:20 +0000 Message-ID: <1478706980-22773-1-git-send-email-achin.gupta@arm.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [217.140.96.140] X-ClientProxiedBy: VI1PR05CA0039.eurprd05.prod.outlook.com (10.162.33.177) To VI1PR08MB1197.eurprd08.prod.outlook.com (10.166.45.150) X-MS-Office365-Filtering-Correlation-Id: c93cb686-da9f-4f64-bc3e-08d408b8f5ec X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB1197; 2:p3C8isWCYNljtS1d0GJ4blYwe/cEbqZfSUGo/gV93xODFCi9e4uFlCqRLTmd2YnufoahEesMlH4Po270KBC/9gbpFyB7jN996VyAWRQpO4plhjlF7x1fSINajUOxk3PBy5rUAKrOAqeeHrq3CXyXx+lszfalYf5H3HXaLyBqlunxZvXlZo+tgXux86ZY8bn6sS5WF2Yj3tBU7A9lt2eNpg==; 3:ttfC/TFlTCsoaKn4wwb6b3lP+Xf7ujpgWjECqGldaXT1MR5umWYqfiRmL/cbHkRj2NCtGOchR04f5ImZ+VX87qRKGY2Ue3vgHUDyViwVzPnPXXIj/i0rsgI/AylSNIwKMbsHm5F8IsBhEkrbdcTiAw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR08MB1197; X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB1197; 25:aKOHxP6ECiWgxGaS3EJKC4CPUucNuZrBNwdMddJnLyGFVYVmx9sByLIerxypHVk6jsFn15hoK2RG6/KgpqvVNj9dqIoEQk4XZvO+T1VQ2usgcStsWX6/7hH5fNHfMblS3c3wrIpaY8qQAdDUbtFFyjgLXkBEfGj9e0iKoneFoyQESypavklRlteOY7R5B0BJrAIQG27QdFrtmk6PzpLNtoPEYOcl3VObDZPhGyqscmf/FF4f9wXZf/B7+pnJRUDy4r8HAPXaHl6wbFaWxl1IRzb58iKkS33Pz7nqUOqCtFIQEDJm5cdWeZvBjETcC89vpFbA4frck1/Vv4GK/XaGPn31M9/7ANCc9CQkRdKlxI864RJTcjFT/9zmMxswIPnz2oLE+ZwsCI81Nr8NTbschK3RVsPAAPND7/3y6OmLzfiE3w3qbcvEEApieBZasJPN1mehYYq8xLzjMdXHm50leIkNPYlEEBbeFtk+DIHv65hl+j3xeeOMVw7itdnB7zN79TCJXeAZElYN7Tv3DRaKUuaNcqncYnSx+kKCTmxVhx08GGg/nK+nn52M1D3+a5wkx8MJBQrAmaZmVXuZSwwMkuDbX3DjlNb5Tlxqf88+SLWkDVcqP0ZaipfRE6aQNcQR33pbr1Or1rsg5iU3f0WRKkPir4ofLyoRh5EK9xHPctigTglqMA7WaKBaDMAfMGh9k7vFHLY7KcZf4PavY6tuJJMSww3ysNK24E3yyKa4rQPehchBEmqMDR4M6rJ761mHdkYLmoeG0ebl13WCSIMuKNYs2D8XJv8/psQf+uegWdoTfERDJTH/pHvRxoX36I5l6jy6TVitULCScHVNDmOQnA== X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB1197; 31:nyX4lOf6JG7HMYgu3uQKVCuOg6PjSavti7OiksjODKomanXeJnJfSHheEbTbfphVeSJ3vq6+u0qetI9hi8FdTIIHt6tjn9g+ua9bYFxC7U0Ul8cYF2RtsSUgMYGWNfQtvS8nZOna0Gr61/N0Fnb8k9th+eeUnzXWaLufmNMNdU/g59OAIT+DVGnclXNdw+rG5i4/neULDv9MSb+RgJTHulDUBYMs6TjlHB6Y4t9r0tU16qEFeuGPEd4W+az0xa+2YjOg0lBjdGMSMRRmj6nOrA==; 20:ajJylVPjKaDP0pzxfW9aELAFybIcfZOrdSMzv+mXvmWOXLLdZn8nKEpeaoFUWiAAzB78qFLy9sM3ll6yMWsrDVBVFz2X/dgq+E9RHnTCyYOkAi8Ipr/RXSND57NEQFLJHdbiDGe/pB2eEtd1FtTjZzOrnM65RGdPXdLnKcEvnoA+gXCTIw82EHAIEdgpohQvrwEkeN1mAI0zcllY3DRg/rI8rDg7uOTrh11sxFUvb28rS9yXF58l/L5pDlDfZ8g4ApVEwTjNN36jz0kNVTnaiDyF8+qG5AoeNIndoCVUI84Usxl/eX22WMq9pWB80jlKKmHpq++BNv0GyDhe7ku/H/3UFnMPkQtTZ7tsFQFY8Q2NpRP3xyzzRLEhHJcEApLK/DCuUJmGmblwfkzrActxbKpk381WIBjchwBk7sWo7yt7WHvGTfolUND0L4eq+S2KKpSePCYsKp8fqz1fXKAUotUibC5PUiRG8tRbw5P7uptlEhotxbAuecNjalyrtqPn X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(166708455590820)(111885846020525)(231250463719595); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:VI1PR08MB1197; BCL:0; PCL:0; RULEID:; SRVR:VI1PR08MB1197; X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB1197; 4:N4ehbrUY264VtwpZy3JGGVkziujG+/MBGtvGh7LHvLOI09tRbkS3ZUU+Pzlef+fZ3Ol46FfQsG5WSqJmNSBRSuV0AD7YN4HnMG45GPfKAeT1C6qTQOLCitGkKV9OWnPubf9YUWRDAA1V4CTtWzSYjoTvSxtX2wrx2kF9J72tXaXIhNlY+3s45C0zLYj19NrfHzz92T116klIT03iZzAlSjgIgQpGqy7RkmR5dF5dTEczGdsYFJL34jpXRcNFzQN7WQft1namCpF9jwFfSW2eHuONBLESnJuOD5+ZSdJo3Mg+KOK2jE9/zz+RA5CS7mcRn7VGu4C/p6fY4kQAtanF8OCuh3RbDQfiFYG8FQFDP7Yid+jAnmwKeCaxGmsZOjekL0LESvtzqtudJCnglTrjkzHJ7CCsH66w+J3UnMrtPeTyXGJ3Vbnckx4IXjSV0S/Ql6ARxMUWjgAMX9Y9G1ByRcyi0KgwHPtkM72XVgDhjs9rxghHi2lnoLdLBPfZx74+DmZrMtxAj4L4DwW14EuOvWpwwtae6XVk/n8m/ncxuJ2g6JhkIjZxsDXaBQuw7gJm X-Forefront-PRVS: 0121F24F22 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(40434004)(189002)(47776003)(66066001)(105586002)(106356001)(2351001)(229853001)(3846002)(48376002)(101416001)(189998001)(5003940100001)(5890100001)(8746002)(97736004)(50226002)(5660300001)(6666003)(110136003)(7846002)(6916009)(68736007)(50986999)(7736002)(305945005)(92566002)(50466002)(586003)(6116002)(36756003)(4326007)(2876002)(81166006)(8676002)(42186005)(33646002)(77096005)(450100001)(81156014)(86362001)(2906002)(86152002)(15760500001)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB1197; H:e104320-lin.cambridge.arm.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR08MB1197; 23:vPGpuVpwCtGFG77glHKADOfR63vbfFbUUqYxbPGq+?= =?us-ascii?Q?s65RX7gStw7sDhaLIhtDSL/FRmOs4rk7tTWHIb24BO9rEoQcb8isCJZPyOz4?= =?us-ascii?Q?eYJ4kc0f5uUTLc+GcUeP/5R6a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ii?Q?Fun/xNhcFnyp9PliNFCP/J77FPEz4MnTC/OSeAPlSjpnGyvHGFPTHmPfJlYV?= =?us-ascii?Q?uE/kvtYaEht8gtz2PRIos0slD8Dpyr2OaGmtHeRxkF8+kOLrPZyGYtaScUCW?= =?us-ascii?Q?/HeAzcNWVzDOxrBicYr5gjwiiS+I6sbvcWGPiYxmdoLWicjf4HkSpZBsEurT?= =?us-ascii?Q?E6AWQ7avT1zwwaSVPSiTs4ivJ0EpIrf9N5qLV9Ean8ugVAGer9/N/nI8g=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB1197; 6:Bbx0G2tLiVRRhOrxLnWLKwZrudIzx9qPJbHaaCQbycFBxv/K2XuWF6AssDDXIq7GxxwoMUO+SBDTuS6Qlo6gSNzglBif6FQgwReyes9nZQwRuuHg8KFZid7D2g0YdrkywFMR4yGlCu56+bPn2DK3k8DInxw3QL7E78D85clsJ73fwHYZ+6DWl8fCUwtnERlJPudQRVRBemztWDVLKo3SN4lwiS9Bn5x78jebinljyq8o+Ww6rJvLYd3HpmcRclsojpfrxaHcKTPeee01iCFAdtk/0zcdAfhVnefcxX1WjOjWQUvVTji/CIZEZjK9bDNxYQxkg7J8+unv8lloCx2VEg==; 5:7a7kdz7YzeTqh24VdZOjJdTlmOPkhO6U9d7XId9mSMldGPbEZp7k0sdvmMlcoEfKtfJies6BLn+pGpEziE1K8BmQmovXeIqhXBX2AZXAzyNyQoEg0aMpQeHkyBFWpQoZ49bQvy7rexAGxC5Puy/2Tg==; 24:FjvcbPGJkZaMr+ONznARvdGYA1/S2yjCQMNfefUZ3gpHgDA8HTKghLhp0mLvJi4l5u6s0PyKiVoSA59BxtZgbFGyLzQIkACMvk/PbrLlW4E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR08MB1197; 7:fs7PK5xTXNfzvoboAPnxsY5lvlGfle4o+RJgHsuVt/k3o7MiyhBQSHBaC/nwyho+ypfVGmS0HMuE9gKpuVeWQN9B4v+IEC0FcoAEjipUYV8z1vlOjYZ4b0j22KMz4qTyN1sRbMqMhziWKlyseSdmel5/AlxXybRcO2wzLJG0jkdWnsksZyqq/SPF85yfWXX+c9PMRehd1j5CGZiyzGQAO/YiKxwQF/x2XdMm8HasawHm5tbn4gSkj3BCR1mrqh6QMLjnYGuY0YkVHtvRhyVuCZMMebA4sdvKHOvVWjN2LBErIRWOHD7VsEsLR6bI3GgB3dkwTeRqhIbz/s0gSWPfSiHlYwL3OhQRYpE+wNBaAXQ= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Nov 2016 15:56:25.7558 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB1197 Subject: [edk2] [staging/AArch64StandaloneMm] Branch to implement MM in Standalone Mode on AArch64 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Achin Gupta This patch captures a brief description of the intent behind the 'AArch64StandaloneMm' branch in the Readme.MD file. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Achin Gupta --- Readme.MD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Readme.MD -- 1.9.1 IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Readme.MD b/Readme.MD new file mode 100644 index 0000000..357f6d6 --- /dev/null +++ b/Readme.MD @@ -0,0 +1,31 @@ +This branch will be used to contribute support for Standalone MM on ARMv8-A platforms in the AArch64 execution state. + +The branch owner: Achin Gupta + +# Feature Introduction +The "Volume 4: Platform Initialization Specification, Management Mode Core +Interface" introduces the concept of MM Standalone Mode. Initialization of MM in +this mode can be done during the SEC phase. On ARMv8-A systems, [ARM Trusted +Firmware](https://github.com/ARM-software/arm-trusted-firmware) is responsible +for launching the normal world firmware e.g. UEFI. It can be seen as running in +the PI SEC phase. The aim of this branch is to add support in EDK2 for: + +1. Initialisation of the Standalone MM environment during the SEC phase in + collaboration with ARM Trusted Firmware +2. Accessing MM services instantiated in the secure world from the normal world + i.e. UEFI, OS in collaboration with ARM Trusted Firmware. + +## Details +The Standalone MM environment is instantiated in Secure EL0 and runs under +control of ARM TF. This branch builds upon the StandaloneSmmPkg module +originally contributed by Intel. + +* Platform: FVPv7.7 FVP_Base_AEMv8A-AEMv8A +* Toolchain: aarch64-linux-gnu-gcc (Linaro GCC 2014.11) 4.9.3 20141031 (prerelease) + +#### + +## Related Modules +The following modules are related to Standalone MM: + +StandaloneSmmPkg - Standalone MM package. This package provides the MM Foundation, MM CPU driver and related libraries/modules required for instantiating a MM environment in the secure world