From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=63.128.21.162; helo=us-smtp-delivery-162.mimecast.com; envelope-from=eugene@hp.com; receiver=edk2-devel@lists.01.org Received: from us-smtp-delivery-162.mimecast.com (us-smtp-delivery-162.mimecast.com [63.128.21.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 6ABA0211A43C5 for ; Sun, 13 Jan 2019 04:42:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hp.com; s=mimecast20180716; t=1547383324; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RSweyI0/lCONdKQVvjKpqvtI3ifK73lVpZ6ihyOxDWo=; b=GrLO/Py8y0pRrriqxdXipoZVR+7CS6NUO/mQcNLWyfrIeVhQ1qDJIHygdbgks01//O8/uN5oaMTsDiFLGf5vIvjzoFh7uVf025ZyXm7RDXdfHONtYfdVEwZPbhxe2Qj3YaxocnshGcQ/H/MC15IVMCMc9IX2k605iQrzUO5Cjb0= Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02lp2055.outbound.protection.outlook.com [104.47.38.55]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-314-6dZffoqFPP6UmlWIaWKcFA-1; Sun, 13 Jan 2019 07:42:02 -0500 Received: from TU4PR8401MB1200.NAMPRD84.PROD.OUTLOOK.COM (10.169.48.150) by TU4PR8401MB1071.NAMPRD84.PROD.OUTLOOK.COM (10.169.47.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.18; Sun, 13 Jan 2019 12:42:00 +0000 Received: from TU4PR8401MB1200.NAMPRD84.PROD.OUTLOOK.COM ([fe80::ac5f:c809:2fa7:180c]) by TU4PR8401MB1200.NAMPRD84.PROD.OUTLOOK.COM ([fe80::ac5f:c809:2fa7:180c%8]) with mapi id 15.20.1516.019; Sun, 13 Jan 2019 12:42:00 +0000 From: "Cohen, Eugene" To: Ard Biesheuvel , Achin Gupta CC: "edk2-devel@lists.01.org" , "Gao, Liming" , "Kinney, Michael D" , nd , Laszlo Ersek , "Zhang, Chao B" Thread-Topic: [edk2] [PATCH v2 04/11] MdePkg/Include: Add StandaloneMmServicesTableLib library Thread-Index: AQHUpr918Hl36qcNME2DfxzQQ1T7p6WkM00AgAj3KyA= Date: Sun, 13 Jan 2019 12:42:00 +0000 Message-ID: References: <1546434828-24405-1-git-send-email-jagadeesh.ujja@arm.com> <1546434828-24405-5-git-send-email-jagadeesh.ujja@arm.com> <8a6e1c80-5b6e-e337-06af-5992bc38a844@redhat.com> <20190107185012.GF14419@e104320-lin> <20190107192137.GG14419@e104320-lin> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [75.174.144.62] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; TU4PR8401MB1071; 6:ojuy7HsJGRgRJFgbJxd7+X7pV4YudKbHLjq+sR+xGcZpid5JKg5gBf/FJFVWxhsXdDDUJeU5zK5+l9TT19nRh8TO1r8kVlfcEK0JTwFsq/tdBZHytWb/QnxTv2aBXDog178BVP6UAGh6nwNRIczHMFJa/+jDlX+4rVzJB/Tj4Pe99S+NpBPfuPmxzQPr9a997NbSHybepous/lddEEC8C/vPQ+r41X8/aXjwCAYir0YXXwwpEemnhtUoYiaFRdG5zdPC0VGf+gpLh+xwuiKk5cAtOotolOn/n+o35+ZFHyT7d5GB8mllarKOH52k3+H8T5KDo+mCe5g9PvA+qKHpcf3FtQ4aGfaAswZQh8W1mUuIUHOPaY6UPbLivtPvuMhXOkRc/lwrY8tV9EzkeSDTC2rpW8zyMyBlsaYuPOHrL4K0ycZhRS3kGP55j6Yp0X4AeaHJMFJrjcX8U2oTn7YzlQ==; 5:EVKrIKOkLxAczzLawoYj2TTDYE7tBWdAzFP2yrmLVd7BOO/p6YOadOXIg7SlyDOkTFLg7IViwyq9wduaECLBtVgIZHfCXcwz/GVrlGpuCJSJvmydSpg9U3LuyQ4U7jF72jthUlW+LmHKiTmNb10AN0Iegz90i4eQbyoVQpsU3I/yvV2vVc6TpoYW6GXtyZc3ReAo5FSQ9waAFwqP9ZtPjg==; 7:jDTpruJ+Ldp2eF98NjcJe/h05PgT0zbyxRCMR9x7EesZ/rE7PSA086pzTCmVpEZe7AhaXGAXIIXkVn4dtR1GbduGjFPJlZd+7bH6RmKHkfZi8yl/pRrNxiu/N+NSJa3Z9cSHmJMVjE6u05quIlpEDQ== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 60e6ee19-6163-4cdb-79d8-08d679548362 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(2017052603328)(7153060)(7193020); SRVR:TU4PR8401MB1071; x-ms-traffictypediagnostic: TU4PR8401MB1071: x-microsoft-antispam-prvs: x-forefront-prvs: 0916FC3A18 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6029001)(376002)(39860400002)(396003)(136003)(366004)(346002)(189003)(199004)(6602003)(305945005)(74316002)(53936002)(7696005)(6116002)(3846002)(93886005)(9686003)(68736007)(97736004)(8936002)(25786009)(55016002)(4326008)(66066001)(86362001)(99286004)(102836004)(71200400001)(6246003)(71190400001)(7736002)(14454004)(486006)(478600001)(6506007)(33656002)(446003)(11346002)(229853002)(476003)(8676002)(6436002)(105586002)(316002)(54906003)(110136005)(106356001)(26005)(256004)(5660300001)(2906002)(81156014)(81166006)(76176011)(186003); DIR:OUT; SFP:1102; SCL:1; SRVR:TU4PR8401MB1071; H:TU4PR8401MB1200.NAMPRD84.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: fhnlY7VyoBkjT2FFycevSOSuFr5n4cCovs6hzR5ApgE1x4yLnyG3ABLWz697ZuAF/YqSx1Z9LQC5pgmnLTCCxdW2q1FqkIVd3aNbtOC1wzosh4IoRHqXiEHUblYqgnyn072qBXDlDw6fgOWk6nujxLxrCkUqiCMJG631glulyXsdCk7yxyfRpe39Rz+YfKO1S1L1yCR/c9yZ2VQFjK948gurb02/b1bgDI++K6j6iUH1BwpD/szeNw+bfOK38ql32HL7FM858aKCTpIyNtKXJdnLfPutyezwQ4Ux3LA3C8JV2aAc2XMxUNCdZ0YnVUDHgblmA/JtJPXvMWJtVX0QByGt6pazDUWQ9zokiMRskHN6YCDUQzjc297z6uNwm2Bb/U9liugOHqmgML7LZ9gSuoMRpqlDrMa9Ck1L9DSnVx0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: hp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 60e6ee19-6163-4cdb-79d8-08d679548362 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2019 12:42:00.7205 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: ca7981a2-785a-463d-b82a-3db87dfc3ce6 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR8401MB1071 X-MC-Unique: 6dZffoqFPP6UmlWIaWKcFA-1 X-Mimecast-Spam-Score: 0 Subject: Re: [PATCH v2 04/11] MdePkg/Include: Add StandaloneMmServicesTableLib library 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: Sun, 13 Jan 2019 12:42:06 -0000 Content-Language: en-US Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable I saw this thread earlier this week and wanted to chime in. > > Also, there are some other pieces missing (which I mentioned in one of > > the other threads but I suppose you may not have caught up yet): > > EndOfDxe (as well as some other PI defined events) needs to be > > signalled to the standalone MM context by some non-MM agent, and I > > think there are other parts of the traditional SMM IPL that have not > > been ported to standalone MM yet. I haven't been following closely the state of StandaloneMmPkg on edk2 - as= we were ready to sync up some of our earlier MM stuff to edk2 I learned th= at the support in place is only partial as patches have been coming in slow= ly so we chose to implement a version based on the early joint prototype wo= rk we did ("uefiproto" repo). In this there is a DXE component that produc= es the SMM Communication protocol and also ensures that when key GUIDed eve= nts occur in DXE that they are forwarded to MM including EndOfDxe. I don't see a strong argument for not forwarding the event signaling inform= ation to MM - MM can either use the information or ignore it as it sees fit= . I can see scenarios around variable services where knowing what phase of= boot the normal world is in is necessary. Eugene