From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.6.43; helo=eur04-db3-obe.outbound.protection.outlook.com; envelope-from=achin.gupta@arm.com; receiver=edk2-devel@lists.01.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60043.outbound.protection.outlook.com [40.107.6.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7A81C21B02822 for ; Mon, 15 Oct 2018 15:19:38 -0700 (PDT) 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:X-MS-Exchange-SenderADCheck; bh=7ylLBKRItenCE5Sp68fgw2FlTp6HHQKhdJxx2rjeJH4=; b=bJ0l6/P1e9tS1QxXI6P7A0p+NlfuQsUw6S/sXDshPwKXDe16DAIHAQyjoSljwRDLRB5222qxg7EXyAB4JCWlCpc5hTGP+ntIgzrbRfSdNZbdrsX6Nx/rl0LG5UutOAJcD+a1dcacLCNEHprwCB2DN38fFLfjujQ6+4Y1q76sr9I= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Achin.Gupta@arm.com; Received: from e104320-lin (217.140.106.51) by AM6PR08MB2981.eurprd08.prod.outlook.com (2603:10a6:209:44::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.26; Mon, 15 Oct 2018 22:19:35 +0000 Date: Mon, 15 Oct 2018 23:19:45 +0100 From: Achin Gupta To: "Cohen, Eugene" Cc: Supreeth Venkatesh , "edk2-devel@lists.01.org" , Jiewen Yao , Sughosh Ganu , Dong Wei , nd@arm.com Message-ID: <20181015221945.GA28113@e104320-lin> References: MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [217.140.106.51] X-ClientProxiedBy: LNXP265CA0050.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:5d::14) To AM6PR08MB2981.eurprd08.prod.outlook.com (2603:10a6:209:44::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3d45114e-1154-41db-b770-08d632ec4a3a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:AM6PR08MB2981; X-Microsoft-Exchange-Diagnostics: 1; AM6PR08MB2981; 3:i35GA4VT6zRj1PSM4ASgPRH5IRu2/F2lJIi2FQ8Doe00uz2t52ri+2jhWB09SF15u0slPbbd8usD+BNzxtNlKjvsjTvTzGonBi/g3p2/F/cbSK9WtWqb27EkRzEHCq7/8OMbx4Yl2DrX+zVTEFeIM+2Or1n1CKB1oWL3j7o/A69sU2YZbTKenjTWrz8oj/dSFXiUGM1PaQ2Zou2IAzXXQO7Z6NkgiG/LPLwCSWzDjUb0k/imUSCY6E0+XaTnryHa; 25:PqWrGeYB9XgCCk6sbp3hMBK93ZzzJmW37UuoOZjqLcesVPgZIB4VdrR8Xa6eWXTrPZac9ir7j1+/yt3TjvM2AeIlR4GjmugeCfu/p/HS5ilPlDyd9B2mJHpptSkJ9QorffCILRcFBX66T34T3v0J3jLsqYN80AGJalPOcbXl0vY4YuRqREZ1kwMp7Kc5laSCfFLFD+Qd6ub37wMHZBz7yf1JsQ6l559v1rYlWKmywTehyIreQx6ol+yolNfZtiGK4xprF2Tf2dlli9YTn2MmmAIlXgTa6R9W6c2ePT3TP68KaYH6GfDoFQhGsod/S/RD8B86WNH7Npok0iqWdpL4/A==; 31:5lRcmq11xZq6ASZNh5Uf+KmNbVH+uhX8K1z2wA/HvpTv2IQNn/pduq1Aj2lULITNVFh/9InI+Ossxj3PUM4mqUWqv30ovlQrO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1KC6Wp1fRkYkvhVTo+BJWRn8SSzoU31YeNbw4RDcA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(162533806227266)(180628864354917)(73583498263828)(228905959029699)(166708455590820); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991067); SRVR:AM6PR08MB2981; BCL:0; PCL:0; RULEID:; SRVR:AM6PR08MB2981; X-Forefront-PRVS: 0826B2F01B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6029001)(376002)(346002)(366004)(136003)(39860400002)(396003)(51914003)(199004)(189003)(55674003)(13464003)(26005)(19627235002)(9686003)(186003)(966005)(53936002)(16526019)(55016002)(6306002)(14444005)(5024004)(16586007)(33656002)(316002)(3480700004)(72206003)(44832011)(476003)(106356001)(105586002)(486006)(478600001)(11346002)(446003)(33716001)(956004)(305945005)(7736002)(229853002)(2906002)(8936002)(8676002)(97736004)(81166006)(81156014)(50466002)(68736007)(53546011)(58126008)(5660300001)(54906003)(25786009)(66066001)(3846002)(47776003)(6116002)(6496006)(33896004)(52116002)(6916009)(76176011)(86362001)(386003)(1076002)(23726003)(6666004)(4326008)(6246003)(18370500001)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB2981; H:e104320-lin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR08MB2981; 23:mWuW7a+UfuSkIF4K11n/QLkcb5wskAAaiK0QzTaX0?= =?us-ascii?Q?qNVaVPWcis8KNXG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osticMetadata: NSPM X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2018 22:19:35.7455 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3d45114e-1154-41db-b770-08d632ec4a3a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB2981 Subject: Re: Missing Library in StandaloneMmPkg 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: Mon, 15 Oct 2018 22:19:40 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Eugene, Apologies for the confusion and inconvenience! I will try and explain. The original patchset for MM Standalone support on x86 and AArch64 had around 16 patches. These included changes to the StandaloneMmPkg, ArmPkg, BaseTools & the Arm VExpressPkg mainly. This patchset was split into three main categories (The BaseTools changes were upstreamed separately) 1. StandaloneMmPkg changes. These were merged into master as described here [1]. These include all the generic code, Secure world code on AArch64 and x86 support. 2. edk2-platform changes. These are still under review here [2]. These include the ARM AEM FVP changes to support Standalone MM. 3. ArmPkg changes. These are under review here [3]. These include all the Normal world code to support Standalone MM e.g. the communication driver. They also include the ArmMmuStandaloneMmCoreLib implementation. Late in the review cycle, Ard raised some valid concerns about how the PeCoffExtraActionLib has been used by patchset [3]. You can see this thread here [4]. He has also suggested an alternative approach to solve the impasse. We are investigating this within Arm at the moment. The plan is to get [2] & [3] merged and this would complete upstream support for Standalone MM on AArch64 AEM FVP. In the meantime, these patches should work in any case. Please let me or Sughosh know if you run into any issues. We can provide instructions if that helps. Please let us know. Once we are past this hurdle, there is a plan to add support for Standalone MM for AArch64 on QEMU. One the maintenance front, me and Yao Jiewen are the maintainers. Feature wise, on the Arm front, the next major step is to add support for multiple S-EL0 Standalone MM partitions. This will take 6-9 months at least to be available upstream as we are still writing the Arm specifications to support this. I hope this makes things clearer. Please let me know. cheers, Achin [1] https://lists.01.org/pipermail/edk2-devel/2018-July/027322.html [2] https://lists.01.org/pipermail/edk2-devel/2018-May/024489.html [3] https://lists.01.org/pipermail/edk2-devel/2018-July/027383.html [4] https://lists.01.org/pipermail/edk2-devel/2018-August/029003.html On Mon, Oct 15, 2018 at 08:00:41PM +0000, Cohen, Eugene wrote: > Supreeth, thanks for the fast response. > > > I'm struggling with what to do next - it sounds like we have a partial > StandaloneMmPkg implementation on master. I'm willing to complete the > implementation for our needs but would first like to understand what > the plan is for completing and maintaining the package (and not just on > the ARM side). > > > Thanks, > > > Eugene > > > From: Supreeth Venkatesh > Sent: Monday, October 15, 2018 1:49 PM > To: Cohen, Eugene ; edk2-devel@lists.01.org; Achin Gupta > ; Jiewen Yao ; Sughosh Ganu > > Cc: Dong Wei > Subject: RE: Missing Library in StandaloneMmPkg > > > Eugene, > The working StandaloneMm available here: > [1]https://github.com/supven01/edk2 > [2]https://github.com/supven01/edk2-platforms > (Caveat: Working Version as of July 2018, May not be latest) > As you mentioned, the patches were sent in June/July for Review. > I have not received any comments/feedback on those. > As you say, it has either not been reviewed by the maintainers or > merged yet. > I am no longer working on StandaloneMm at this point. > However, Achin or Sughosh will be able to point you to the latest code > base. > Thanks, > Supreeth > -----Original Message----- > From: Cohen, Eugene <[3]eugene@hp.com> > Sent: Monday, October 15, 2018 2:29 PM > To: [4]edk2-devel@lists.01.org; Achin Gupta <[5]Achin.Gupta@arm.com>; > Jiewen Yao <[6]jiewen.yao@intel.com>; Supreeth Venkatesh > <[7]Supreeth.Venkatesh@arm.com>; Sughosh Ganu <[8]Sughosh.Ganu@arm.com> > Subject: Missing Library in StandaloneMmPkg > Greetings, > It appears that StandaloneMmPkg/StandaloneMmPkg.dsc contains a > reference to this library: > ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuStandaloneMmCoreLib.inf > but it does not actually appear in the tree. > The AArch64StandaloneMm branch on edk2-staging is "stale" (not my words > but what GitHub calls it) and it does not contain this library so I'm > led to believe that there is some other branch where this is being > developed. I also see patch submissions from July that are not yet > integrated (StandaloneMmServicesTableLib in particular). > Can I get a summary of the state of the project, in general and on ARM > platforms? Is there a repo or branch we should be going to where we can > see a usable system? > Thanks, > Eugene > 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. > > References > > 1. https://github.com/supven01/edk2 > 2. https://github.com/supven01/edk2-platforms > 3. mailto:eugene@hp.com > 4. mailto:edk2-devel@lists.01.org > 5. mailto:Achin.Gupta@arm.com > 6. mailto:jiewen.yao@intel.com > 7. mailto:Supreeth.Venkatesh@arm.com > 8. mailto:Sughosh.Ganu@arm.com