From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web11.9295.1608387873980656861 for ; Sat, 19 Dec 2020 06:24:34 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=JkTdEK+o; spf=pass (domain: intel.com, ip: 192.55.52.93, mailfrom: jiewen.yao@intel.com) IronPort-SDR: M3nmMZet/c3l0yOy2d56IKL4ztIWX6763lnZ2LxKmdvvsGM6IylgvMWJdrzAYRJOAJ75TKB7GO W1BfKGCSha+g== X-IronPort-AV: E=McAfee;i="6000,8403,9839"; a="172069836" X-IronPort-AV: E=Sophos;i="5.78,433,1599548400"; d="scan'208,217";a="172069836" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Dec 2020 06:24:32 -0800 IronPort-SDR: uOtjT4UHMBawibPYWv0307LgtkMBpw3TIAudOorgFfd+DTEsVrb+7wmXA0w6ElVBlJSHMM1RCM IJPxdO87NyCg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,433,1599548400"; d="scan'208,217";a="562225213" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga005.fm.intel.com with ESMTP; 19 Dec 2020 06:24:32 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Sat, 19 Dec 2020 06:24:31 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Sat, 19 Dec 2020 06:24:31 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Sat, 19 Dec 2020 06:24:31 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ECVsn8GhIfVnDn9Bn4FzX07WloVSLdsTCz4H93t86bFcxeoroWAcfw8lXC1yb+pHhe7UQxAeSsC6Vr9XclXWBIEFFN+XPm4tN4dKXVegSp9hxEHDzMcXkr8mwGpDLdYrmc7nPFFdp0755kYAD7QOTYNZdIN49V5xJnQ9aMLKr37MYl3Z3vfPAKjya7StyzC+7BvhO17CEvnO2dFzj2n0woyfCEJR2KLsrx5rjK5D+8qMA6atJJLSGADEnfjvA0fGO/gunfh+BmblWjS4s6xUlWxRtr86MbeK2sx1VZVSW2TIGgOp7ohpa323O89mhT266EXLi85BOCHBW+8Q2rG1tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HIUgsjXuJ5i5KKgfa6AXbhNXfoYVShTKtJDUS/vnDOA=; b=VAPtxxxSIRYdysRoOb+XPjCfvpRm1U7PMIzg51ezeDyj0vfJAExhg2nKxJ+py8zIBsi+PHQhS2B3XjcDAI0942Nj0CEysyqKRvCsD3HiYKN+6goYQ+HWwioGBLncO4MK5bw/l0jIpVkTZF8TAx3Bx2qrqIQV5vbU1Ps2C1bxXU0AwX5NKhN+Wa48DaTAkOgGDJhT7O5g0W1VxGIsXfCEwryCMKVr4MLNo1CAG8dYfVjuxqWG/XiaWSQbOEOQOIoRtawYhCMgbFAucWCHO97RltZDxWEs9hF7d8LrtICsdBvJfm0LR8cXQZk6fN6gFZ8IQIUKAYPfgHfP94FD32No4Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HIUgsjXuJ5i5KKgfa6AXbhNXfoYVShTKtJDUS/vnDOA=; b=JkTdEK+o6qb3+D6TkQDmq9oIatvzc7IHqPo6zlTzd5xBidVxmndO/zJKTDUu7r6K9Hep5SfBphknEWVBl5ZDjL5aq25mp1PHldVZgDwJnYIPO7dpsOvC/s694ZssY/YYYf6OI3sx4AAc4SnYC5R5b3oJITGFEn9ekdzFU2xxv/0= Received: from CY4PR11MB1288.namprd11.prod.outlook.com (2603:10b6:903:23::8) by CY4PR11MB0056.namprd11.prod.outlook.com (2603:10b6:910:7c::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Sat, 19 Dec 2020 14:24:30 +0000 Received: from CY4PR11MB1288.namprd11.prod.outlook.com ([fe80::e058:fd5a:28d8:2b17]) by CY4PR11MB1288.namprd11.prod.outlook.com ([fe80::e058:fd5a:28d8:2b17%12]) with mapi id 15.20.3654.029; Sat, 19 Dec 2020 14:24:29 +0000 From: "Yao, Jiewen" To: Kun Qin , "devel@edk2.groups.io" CC: "Wang, Jian J" , "Wu, Hao A" , "Dong, Eric" , "Bi, Dandan" , Liming Gao , "Kinney, Michael D" , "Liu, Zhiguang" , "Ni, Ray" , "Zhang, Qi1" , "Kumar, Rahul1" , Ard Biesheuvel , "Sami Mujawar" , Supreeth Venkatesh , Laszlo Ersek Subject: Re: [edk2-devel] [PATCH v1 00/15] Extends Support of MM_STANDALONE Type Modules to X64 Thread-Topic: [edk2-devel] [PATCH v1 00/15] Extends Support of MM_STANDALONE Type Modules to X64 Thread-Index: AQHW1W6uAJzAcwmivU63uhTVoopJdqn9yr0AgABf3wCAAE+osA== Date: Sat, 19 Dec 2020 14:24:29 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: outlook.com; dkim=none (message not signed) header.d=none;outlook.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.195] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6079f4ad-9be0-4a21-2ef4-08d8a429cc30 x-ms-traffictypediagnostic: CY4PR11MB0056: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3bCnAAEvtENwGqy2nY50NpvoZSwzO3LNsdvLgQGGEuZqgnJtTxk0/Rvx/Ht2DpJ/m/WrVnBUuLze4jTBsnydXbhascdD6U6jLr8j/jMhD31ezZP5l4LipIJ+0hjXExk6yjKoDK4HMThmJZvDcejO/VFYLFcz6d1Rm8iJGhIcysdMiqp72ruknev6dQzy/xOY41mTpwgW8wcspPB5q38i3m1QyXchZ+RewMy8pYAbLTe7T6o4o79GYf0TtZ0/gmccdhwJmZNVjL0nLHgxForYwPkRaxnU7GPY8Gtzd4t3spzZ3GddnGyAHyi1pSV0P6dlGxFxC/2T9lB+a58EvOB6gC0ZKT2JULAIWIwTq6J7HVm+/j6jLDAyS8n7pnljoMSfAqkMkXT6xoqO9yeWtkMclg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR11MB1288.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(376002)(39860400002)(396003)(136003)(366004)(346002)(83380400001)(30864003)(2906002)(66574015)(86362001)(26005)(45080400002)(478600001)(186003)(5660300002)(9686003)(4326008)(55016002)(54906003)(66446008)(76116006)(8676002)(66476007)(33656002)(7696005)(64756008)(52536014)(53546011)(316002)(6506007)(110136005)(66946007)(66556008)(966005)(71200400001)(166002)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?eISBV+9Fv0xWWakuj7zPM8osZS3txGYrZMnoGYHvphzgGGOarRguRLpr3pws?= =?us-ascii?Q?GLE489klVQWClrFJ0UOUam6NDicOQnj13rjRdT8kEQWT87LN5bblyN/MSxto?= =?us-ascii?Q?sf8kBgXRkj4H4UkRDe9ylbjbSJgERsghdTa26vBydw70V4Ikka6tizb94E62?= =?us-ascii?Q?FQZvF0Aykgrdkoc9bKArdV4OouhlwYnjb0GSHDuNW40gPnvQHXVSssMp5k07?= =?us-ascii?Q?l4U2nTQU3TI7AboL21LpGoVnyjOZwugN229u6ajJn42b+SF+l+WvkvQgzMOi?= =?us-ascii?Q?tlnGWy8OGH8/GBTMzxI2rmnTGbtRZKCKEn39KnEbc3xml+KGPcPbQZ0QRB72?= =?us-ascii?Q?UPwnFv4QTH62YfQTDq0BBybahw9NQW6VG3iHdlCEwo5HPGoCnhwl3zNTosJ8?= =?us-ascii?Q?SZi2xWJlc8j1v8fFipUv/2gBBm90NGpIVT2vROymEGr7rzrH8zaiSDBC+V3B?= =?us-ascii?Q?8yTAGpDZSraggnmDu7yMfwVPDbQwn3VesSLhNAWWc/UePXyuxh7q0+GLJTF2?= =?us-ascii?Q?6fIP3ee4mnf9W4p/9MizcAPvsiT6Wcu8rUz4Nde3xbTi8Si6EanjdX6bYE8M?= =?us-ascii?Q?G9e3VF8MH1GTgPDV6riujXmyCPccsexjWNMOwXkMyrjI/SpUNgqawKUUIniP?= =?us-ascii?Q?yr3hX0j/nPmNt0iFx7x/OGHSNWoqyHz0VqUbIURxeoANvmx/M475mauMvNeC?= =?us-ascii?Q?C5JIj7JOMtXi3gNtb71Uf2WCD1/3lBRThcI8cTd+5yhYd7SjKhWEnby8FmyI?= =?us-ascii?Q?+947ErsGEoOb6CZNukc367XEEf2S/Ann+eMZkjzupXtBqY3VOy5pdBiWR1vC?= =?us-ascii?Q?EfE0+GGi7LkKADNGuAyOjQxF7TRN5f2rgpOrCCYz9dpbrfxqF4c0v6KuCfp7?= =?us-ascii?Q?Pw7RV698vAwvmoYlJqSiyqjwlqlyWKk5D/6ryQEATdKAHKFbYrRRZQyg2afc?= =?us-ascii?Q?gQvHIWTzdOiPjkoddZy1tzK0qDPWiwvtE+1K7xuRAzk=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CY4PR11MB1288.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6079f4ad-9be0-4a21-2ef4-08d8a429cc30 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Dec 2020 14:24:29.5581 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tuXolBe4mGf0mUVTX46W2gpUqvSf7uIFXaP1oIcpdLvufc4vJOqe4qOVoKv0calvYWWIiJ1xS5nehh6u1mBpxg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB0056 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CY4PR11MB12881CB4C2694F11A2F2C0588CC20CY4PR11MB1288namp_" --_000_CY4PR11MB12881CB4C2694F11A2F2C0588CC20CY4PR11MB1288namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I see. Yes, I think it is good idea to separate them in other patches. Thank you very much to confirm that. From: Kun Qin Sent: Saturday, December 19, 2020 5:39 PM To: Yao, Jiewen ; devel@edk2.groups.io Cc: Wang, Jian J ; Wu, Hao A ; = Dong, Eric ; Bi, Dandan ; Liming = Gao ; Kinney, Michael D ; Liu, Zhiguang ; Ni, Ray ; Zh= ang, Qi1 ; Kumar, Rahul1 ; Ard= Biesheuvel ; Sami Mujawar ; = Supreeth Venkatesh ; Laszlo Ersek Subject: RE: [edk2-devel] [PATCH v1 00/15] Extends Support of MM_STANDALON= E Type Modules to X64 Hi Jiewen, All these modules are tested on two different proprietary physical platfor= ms (which both have dTPM on board). Standalone and traditional MM are both = validated to be functional on those systems. For some drivers not listed in the patch series (such as Tcg2Smm and Stand= aloneMmCpu) to work on X64 system with StandaloneMm, they will need certain= design changes or heavier modification than minor implementation abstracti= on in contrast to these commits. I think it will be more suitable to send t= hem as separate patches instead of flooding in everything all at once. Plea= se let me know if you think otherwise. Thanks, Kun From: Yao, Jiewen Sent: Friday, December 18, 2020 19:58 To: devel@edk2.groups.io; kun.q@outlook.com Cc: Wang, Jian J; Wu, Hao A; Dong, Eric; Bi, Dandan; Liming Gao; Kinney, Micha= el D; Liu, Zhiguang; Ni, Ray; Zhang, Qi1; Kumar, Rahul1; Ard Biesheuvel; Sami Mujawar; Sup= reeth Venkatesh; Laszlo Ersek Subject: RE: [edk2-devel] [PATCH v1 00/15] Extends Support of MM_STANDALON= E Type Modules to X64 Hi Thanks to add the StandaloneMM support. Would you please share the information on how you test the patch series? For every feature you touched (such as TPM), have you validated both tradi= tional MM and standalone MM feature on some platforms? Thank you Yao Jiewen > -----Original Message----- > From: devel@edk2.groups.io > On Behalf Of Kun Qin > Sent: Saturday, December 19, 2020 2:50 AM > To: devel@edk2.groups.io > Cc: Wang, Jian J >; = Wu, Hao A > >; Dong, Eric >; Bi, Dandan > >; Liming Gao >; Kinney, > Michael D = >; Liu, Zhiguang > >; Ni, Ray >; Yao, Jiewen > >; Zhang, Qi1 >; Kumar, > Rahul1 >; Ard Bies= heuvel > >; Sami Mujawar >; > Supreeth Venkatesh >; Laszlo Ersek > > > Subject: [edk2-devel] [PATCH v1 00/15] Extends Support of > MM_STANDALONE Type Modules to X64 > > Current MM_STANDALONE type modules are largely focusing on AArch64 > systems, which presents certain gaps to compile or run StandaloneMm on > X64 system. > > This patch series extended support for MM_STANDALONE type modules to > build and run on X64 systems by creating new instances of drivers and > libraries. > > A few minor build time bugs related to this effort are also fixed. > > Patch v1 branch: > https://github.com/kuqin12/edk2/tree/standalone_x64_v1 > > Cc: Jian J Wang > > Cc: Hao A Wu > > Cc: Eric Dong > > Cc: Dandan Bi > > Cc: Liming Gao > > Cc: Michael D Kinney > > Cc: Zhiguang Liu > > Cc: Ray Ni > > Cc: Jiewen Yao > > Cc: Qi Zhang > > Cc: Rahul Kumar > > Cc: Ard Biesheuvel > > Cc: Sami Mujawar > > Cc: Supreeth Venkatesh > > Cc: Laszlo Ersek > > > Kun Qin (15): > StandaloneMmPkg: StandaloneMmCoreEntryPoint: Extends support for > X64 > StandaloneMmPkg: StandaloneMmCoreHobLib: Extend support for x64 > Mm > Core > StandaloneMmPkg: StandaloneMmCoreMemoryAllocationLib: Fix > compiler > warning > StandaloneMmPkg: StandaloneMmMemLib: Extends support for X64 > architecture > MdeModulePkg: SmmLockBoxSmmLib: Support StandaloneMm for > SmmLockBoxLib > MdeModulePkg: SmmReportStatusCodeLib: ReportStatusCodeLib in > StandaloneMm > MdeModulePkg: FirmwarePerformanceDataTable: Added StandaloneMm > support > MdeModulePkg: ReportStatusCodeRouter: Support StandaloneMm RSC > Router > MdePkg: UefiDevicePathLib: Support UefiDevicePathLib under > StandaloneMm > PcAtChipsetPkg: AcpiTimerLib: Added StandaloneMm instance of > AcpiTimerLib > SecurityPkg: Tcg2PhysicalPresenceLib: Introduce StandaloneMm instance > SecurityPkg: Tcg2PpVendorLibNull: Added support for MM_STANDALONE > type > SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm instance > UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver under StandaloneMm > UefiCpuPkg: SmmCpuExceptionHandlerLib: Added StandaloneMm module > support > > MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D> > SmmLockBoxMmLib.c} | = 77 ++-- > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c > | 53 +++ > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c > | 53 +++ > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.c > | 16 +- > > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibSt > andaloneMm.c | 39 ++ > > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTr > aditional.c | 39 ++ > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir > mwarePerformanceSmm.c =3D> FirmwarePerformanceCommon.c} | 72 > ++-- > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceStandaloneMm.c | 62 ++= + > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceTraditional.c | 62 ++= + > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo > deRouterSmm.c =3D> ReportStatusCodeRouterCommon.c} | 43 += - > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterStandaloneMm.c | 33 ++ > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterTraditional.c | 33 ++ > MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c > | 33 -- > MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c > | 51 +++ > MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneMm.c > | 40 ++ > PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D> > CommonAcpiTimerLib.c} | = 8 +- > PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c > | 81 +--- > PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimerLib.c > | 31 ++ > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese > nceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} | 29 +- > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresen > ceLib.c | 368 +-----= ----------- > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2Phys > icalPresenceLib.c | 42 ++ > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c > | 42 +- > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c > | 69 ++++ > > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandalone > Mm.c | 67 +++ > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c > | 40 +- > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c > | 15 +- > > StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/Standalone > MmCoreEntryPoint.c | 71 +++= + > StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> > AArch64}/StandaloneMmCoreHobLib.c = | 6 +- > StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> > X64}/StandaloneMmCoreHobLib.c = | 426 > ++++++++++---------- > > StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Stan > daloneMmCoreMemoryAllocationLib.c | 2 +- > > StandaloneMmPkg/Library/StandaloneMmMemLib/X64/StandaloneMmMe > mLibInternal.c | 67= +++ > UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Common.c} > | 14 +- > UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c > | 384 +----------------- > UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c > | 31 ++ > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h > | 27 ++ > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf > | 15 +- > MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> > SmmLockBoxStandaloneMmLib.inf} | 2= 6 +- > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h > | 37 ++ > > MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCode > Lib.inf | 4 += - > > MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCode > Lib.inf =3D> StandaloneMmReportStatusCodeLib.inf} | 17 = +- > MdeModulePkg/MdeModulePkg.dsc > | 6 + > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceCommon.h | 55 ++= + > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceSmm.inf | 11 +- > > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir > mwarePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} | > 31 +- > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo > deRouterSmm.h =3D> ReportStatusCodeRouterCommon.h} | 50 += +- > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterSmm.inf | 13 +- > > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterStandaloneMm.inf | 49 ++= + > MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf > | 1 + > > MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathPr > otocol.inf | 1 + > MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D> > UefiDevicePathLibStandaloneMm.inf} | = 11 +- > MdePkg/MdePkg.dsc > | 1 + > PcAtChipsetPkg/Library/AcpiTimerLib/CommonAcpiTimerLib.h > | 25 ++ > PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf > | 2 + > PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> > StandaloneAcpiTimerLib.inf} | 1= 9 +- > PcAtChipsetPkg/PcAtChipsetPkg.dsc > | 1 + > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenc > eLibCommon.h | 35 ++ > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresen > ceLib.inf | 6 +- > > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese > nceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} | 22 +- > SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf > | 2 +- > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h > | 68 ++++ > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf > | 3 + > SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf =3D> > Tpm2DeviceLibDTpmStandaloneMm.inf} | 13 +- > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf > | 3 + > SecurityPkg/SecurityPkg.dsc > | 3 + > > StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMm > CoreEntryPoint.inf | 3 + > > StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCore > HobLib.inf | 8 += - > > StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib > .inf | 6= +- > UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Common.h} > | 18 +- > UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf > | 7 +- > UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.inf} > | 23 +- > > UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib. > inf | 2 +- > UefiCpuPkg/UefiCpuPkg.dsc > | 6 + > 72 files changed, 1704 insertions(+), 1425 deletions(-) > rename MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c > =3D> SmmLockBoxMmLib.c} (89%) > create mode 100644 > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c > create mode 100644 > MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c > create mode 100644 > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibSt > andaloneMm.c > create mode 100644 > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTr > aditional.c > rename > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir > mwarePerformanceSmm.c =3D> FirmwarePerformanceCommon.c} (77%) > create mode 100644 > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceStandaloneMm.c > create mode 100644 > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceTraditional.c > rename > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo > deRouterSmm.c =3D> ReportStatusCodeRouterCommon.c} (80%) > create mode 100644 > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterStandaloneMm.c > create mode 100644 > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterTraditional.c > create mode 100644 > MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c > create mode 100644 > MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneMm.c > copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D> > CommonAcpiTimerLib.c} (86%) > create mode 100644 > PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimerLib.c > copy > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese > nceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} (91%) > create mode 100644 > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2Phys > icalPresenceLib.c > create mode 100644 > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c > create mode 100644 > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandalone > Mm.c > create mode 100644 > StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/Standalone > MmCoreEntryPoint.c > copy StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> > AArch64}/StandaloneMmCoreHobLib.c (96%) > rename StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> > X64}/StandaloneMmCoreHobLib.c (70%) > create mode 100644 > StandaloneMmPkg/Library/StandaloneMmMemLib/X64/StandaloneMmMe > mLibInternal.c > copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Common.c} (94%) > create mode 100644 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c > copy MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D> > SmmLockBoxStandaloneMmLib.inf} (52%) > create mode 100644 > MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h > copy > MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCode > Lib.inf =3D> StandaloneMmReportStatusCodeLib.inf} (64%) > create mode 100644 > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm > warePerformanceCommon.h > copy > MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir > mwarePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} > (65%) > rename > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo > deRouterSmm.h =3D> ReportStatusCodeRouterCommon.h} (70%) > create mode 100644 > MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo > deRouterStandaloneMm.inf > copy MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D> > UefiDevicePathLibStandaloneMm.inf} (79%) > create mode 100644 > PcAtChipsetPkg/Library/AcpiTimerLib/CommonAcpiTimerLib.h > copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D> > StandaloneAcpiTimerLib.inf} (70%) > create mode 100644 > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenc > eLibCommon.h > copy > SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese > nceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} (64%) > create mode 100644 > SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h > copy SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf =3D> > Tpm2DeviceLibDTpmStandaloneMm.inf} (70%) > rename UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Common.h} > (92%) > copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> > CpuIo2StandaloneMm.inf} (56%) > > -- > 2.28.0.windows.1 > > > >=20 > --_000_CY4PR11MB12881CB4C2694F11A2F2C0588CC20CY4PR11MB1288namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I see. Yes, I think it is good idea to separate the= m in other patches.

 

Thank you very much to confirm that.

 

From: Kun Qin <kun.q@outlook.com>
Sent: Saturday, December 19, 2020 5:39 PM
To: Yao, Jiewen <jiewen.yao@intel.com>; devel@edk2.groups.io<= br> Cc: Wang, Jian J <jian.j.wang@intel.com>; Wu, Hao A <hao.a= .wu@intel.com>; Dong, Eric <eric.dong@intel.com>; Bi, Dandan <d= andan.bi@intel.com>; Liming Gao <gaoliming@byosoft.com.cn>; Kinney= , Michael D <michael.d.kinney@intel.com>; Liu, Zhiguang <zhiguang.= liu@intel.com>; Ni, Ray <ray.ni@intel.com>; Zhang, Qi1 <qi1.zhang@intel.com>;= Kumar, Rahul1 <rahul1.kumar@intel.com>; Ard Biesheuvel <ard.biesh= euvel@arm.com>; Sami Mujawar <sami.mujawar@arm.com>; Supreeth Venk= atesh <supreeth.venkatesh@arm.com>; Laszlo Ersek <lersek@redhat.co= m>
Subject: RE: [edk2-devel] [PATCH v1 00/15] Extends Support of MM_ST= ANDALONE Type Modules to X64

 

Hi Jiewen,

 

All these modules are tested on two different propr= ietary physical platforms (which both have dTPM on board). Standalone and t= raditional MM are both validated to be functional on those systems.

 

For some drivers not listed in the patch series (su= ch as Tcg2Smm and StandaloneMmCpu) to work on X64 system with StandaloneMm,= they will need certain design changes or heavier modification than minor i= mplementation abstraction in contrast to these commits. I think it will be more suitable to send them as separa= te patches instead of flooding in everything all at once. Please let me kno= w if you think otherwise.

 

Thanks,

Kun

 

 

Hi
Thanks to add the StandaloneMM support.

Would you please share the information on how you test the patch series?
For every feature you touched (such as TPM), have you validated both tradi= tional MM and standalone MM feature on some platforms?

Thank you
Yao Jiewen



> -----Original Message-----
> From:
devel@edk2.groups.io <devel@edk2.groups.io> = On Behalf Of Kun Qin
> Sent: Saturday, December 19, 2020 2:50 AM
> To: devel@edk2.groups.io<= br> > Cc: Wang, Jian J <jian.j.= wang@intel.com>; Wu, Hao A
> <hao.a.wu@intel.com>;= Dong, Eric <eric.dong@intel.com<= /a>>; Bi, Dandan
> <
dandan.bi@intel.com>= ;; Liming Gao <gaoliming@byo= soft.com.cn>; Kinney,
> Michael D <michael.d= .kinney@intel.com>; Liu, Zhiguang
> <zhiguang.liu@intel.com<= /a>>; Ni, Ray <ray.ni@intel.com>; Yao, Jiewen
> <
jiewen.yao@intel.com&= gt;; Zhang, Qi1 <qi1.zhang@intel.= com>; Kumar,
> Rahul1 <rahul1.kumar@int= el.com>; Ard Biesheuvel
> <ard.biesheuvel@arm.com<= /a>>; Sami Mujawar <sami.muja= war@arm.com>;
> Supreeth Venkatesh <= supreeth.venkatesh@arm.com>; Laszlo Ersek
> <lersek@redhat.com> > Subject: [edk2-devel] [PATCH v1 00/15] Extends Support of
> MM_STANDALONE Type Modules to X64
>
> Current MM_STANDALONE type modules are largely focusing on AArch64 > systems, which presents certain gaps to compile or run StandaloneMm o= n
> X64 system.
>
> This patch series extended support for MM_STANDALONE type modules to<= br> > build and run on X64 systems by creating new instances of drivers and=
> libraries.
>
> A few minor build time bugs related to this effort are also fixed. >
> Patch v1 branch:
> ht= tps://github.com/kuqin12/edk2/tree/standalone_x64_v1
>
> Cc: Jian J Wang <jian.j.w= ang@intel.com>
> Cc: Hao A Wu <hao.a.wu@intel= .com>
> Cc: Eric Dong <eric.dong@in= tel.com>
> Cc: Dandan Bi <dandan.bi@in= tel.com>
> Cc: Liming Gao <gaolim= ing@byosoft.com.cn>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Zhiguang Liu <zhigua= ng.liu@intel.com>
> Cc: Ray Ni <ray.ni@intel.com>
> Cc: Jiewen Yao <
jiewen.yao= @intel.com>
> Cc: Qi Zhang <qi1.zhang@int= el.com>
> Cc: Rahul Kumar <rahul1.= kumar@intel.com>
> Cc: Ard Biesheuvel <ard.= biesheuvel@arm.com>
> Cc: Sami Mujawar <sami.muj= awar@arm.com>
> Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
> Cc: Laszlo Ersek <lersek@redh= at.com>
>
> Kun Qin (15):
>   StandaloneMmPkg: StandaloneMmCoreEntryPoint: Extends supp= ort for
> X64
>   StandaloneMmPkg: StandaloneMmCoreHobLib: Extend support f= or x64
> Mm
>     Core
>   StandaloneMmPkg: StandaloneMmCoreMemoryAllocationLib: Fix=
> compiler
>     warning
>   StandaloneMmPkg: StandaloneMmMemLib: Extends support for = X64
>     architecture
>   MdeModulePkg: SmmLockBoxSmmLib: Support StandaloneMm for<= br> > SmmLockBoxLib
>   MdeModulePkg: SmmReportStatusCodeLib: ReportStatusCodeLib= in
>     StandaloneMm
>   MdeModulePkg: FirmwarePerformanceDataTable: Added Standal= oneMm
> support
>   MdeModulePkg: ReportStatusCodeRouter: Support StandaloneM= m RSC
> Router
>   MdePkg: UefiDevicePathLib: Support UefiDevicePathLib unde= r
>     StandaloneMm
>   PcAtChipsetPkg: AcpiTimerLib: Added StandaloneMm instance= of
>     AcpiTimerLib
>   SecurityPkg: Tcg2PhysicalPresenceLib: Introduce Standalon= eMm instance
>   SecurityPkg: Tcg2PpVendorLibNull: Added support for MM_ST= ANDALONE
> type
>   SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm in= stance
>   UefiCpuPkg: CpuIo2Smm: Support of CpuIo driver under Stan= daloneMm
>   UefiCpuPkg: SmmCpuExceptionHandlerLib: Added StandaloneMm= module
>     support
>
>  MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c =3D><= br> > SmmLockBoxMmLib.c}        &nb= sp;            =             &nb= sp;            =       |  77 ++--
>  MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c<= br> > |  53 +++
>  MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c=
> |  53 +++
>  MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib= .c
> |  16 +-
>
> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibSt
> andaloneMm.c         &nb= sp;            =             &nb= sp;            =     |  39 ++
>
> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTr
> aditional.c         &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;    |  39 ++
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir
> mwarePerformanceSmm.c =3D> FirmwarePerformanceCommon.c}  = ;         |  72
> ++--
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceStandaloneMm.c      &nbs= p;            &= nbsp;           &nbs= p;   |  62 +++
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceTraditional.c       = ;            &n= bsp;            = ;    |  62 +++
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo
> deRouterSmm.c =3D> ReportStatusCodeRouterCommon.c}  &nbs= p;            | = ; 43 +-
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterStandaloneMm.c        = ;            &n= bsp;            = ;         |  33 ++
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterTraditional.c        =             &nb= sp;            =           |  33 ++
>  MdePkg/Library/UefiDevicePathLib/DevicePathUtilities.c
> |  33 --
>  MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c > |  51 +++
>  MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneM= m.c
> |  40 ++
>  PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D><= br> > CommonAcpiTimerLib.c}        =             &nb= sp;            =             &nb= sp;   |   8 +-
>  PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.c
> |  81 +---
>  PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimerLib.c > |  31 ++
>
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese<= br> > nceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c}   =            |  29 +-<= br> >
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresen<= br> > ceLib.c          &n= bsp;            = ;            &n= bsp;            = ;     | 368 +----------------
>
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2Phys > icalPresenceLib.c        &nbs= p;            &= nbsp;           &nbs= p;          |  42 ++
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.c
> |  42 +-
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c > |  69 ++++
>
> SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandalone
> Mm.c           = ;            &n= bsp;            = ;            &n= bsp;          |  67 +++ >  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.c
> |  40 +-
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2Ptp.c
> |  15 +-
>
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/Standalone
> MmCoreEntryPoint.c        &nb= sp;            =             &nb= sp;           |  71 = ++++
>  StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D>
> AArch64}/StandaloneMmCoreHobLib.c      =             &nb= sp;            =             | &= nbsp; 6 +-
>  StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D>
> X64}/StandaloneMmCoreHobLib.c      &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;  | 426
> ++++++++++----------
>
> StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/Stan
> daloneMmCoreMemoryAllocationLib.c      =             &nb= sp;            |&nbs= p;  2 +-
>
> StandaloneMmPkg/Library/StandaloneMmMemLib/X64/StandaloneMmMe
> mLibInternal.c         &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;      |  67 +++
>  UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Common.c}
> |  14 +-
>  UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c
> | 384 +-----------------
>  UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c
> |  31 ++
>  MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxLibPrivate.h
> |  27 ++
>  MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxSmmLib.inf
> |  15 +-
>  MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf =3D>= ;
> SmmLockBoxStandaloneMmLib.inf}      &nb= sp;            =             &nb= sp;      |  26 +-
>  MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib= .h
> |  37 ++
>
> MdeModulePkg/Library/SmmReportStatusCodeLib/SmmReportStatusCode
> Lib.inf          &n= bsp;            = ;            &n= bsp;            = ;          |   4 +-<= br> >
> MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCode
> Lib.inf =3D> StandaloneMmReportStatusCodeLib.inf}   = ;            &n= bsp; |  17 +-
>  MdeModulePkg/MdeModulePkg.dsc
> |   6 +
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceCommon.h       &nbs= p;            &= nbsp;           &nbs= p;        |  55 +++
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceSmm.inf        = ;            &n= bsp;            = ;         |  11 +-
>
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir
> mwarePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf} = |
> 31 +-
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo
> deRouterSmm.h =3D> ReportStatusCodeRouterCommon.h}  &nbs= p;            | = ; 50 ++-
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterSmm.inf         =             &nb= sp;            =             &nb= sp;  |  13 +-
>
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterStandaloneMm.inf       &nb= sp;            =             &nb= sp;       |  49 +++
>  MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
> |   1 +
>
> MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibOptionalDevicePathP= r
> otocol.inf          = ;            &n= bsp;            = ;             |=    1 +
>  MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf =3D>=
> UefiDevicePathLibStandaloneMm.inf}      = ;            &n= bsp;            = ;    |  11 +-
>  MdePkg/MdePkg.dsc
> |   1 +
>  PcAtChipsetPkg/Library/AcpiTimerLib/CommonAcpiTimerLib.h
> |  25 ++
>  PcAtChipsetPkg/Library/AcpiTimerLib/DxeAcpiTimerLib.inf
> |   2 +
>  PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf =3D>= ;
> StandaloneAcpiTimerLib.inf}       =             &nb= sp;            =          |  19 +-
>  PcAtChipsetPkg/PcAtChipsetPkg.dsc
> |   1 +
>
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenc<= br> > eLibCommon.h         &nb= sp;            =             &nb= sp;            = |  35 ++
>
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresen<= br> > ceLib.inf          =             &nb= sp;            =             &nb= sp;   |   6 +-
>
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese<= br> > nceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} &nbs= p;    |  22 +-
>  SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf=
> |   2 +-
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h
> |  68 ++++
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
> |   3 +
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.inf = =3D>
> Tpm2DeviceLibDTpmStandaloneMm.inf}      = ;            &n= bsp;           |  13= +-
>  SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2InstanceLibDTpm.inf > |   3 +
>  SecurityPkg/SecurityPkg.dsc
> |   3 +
>
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMm
> CoreEntryPoint.inf        &nb= sp;            =             &nb= sp;            = |   3 +
>
> StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCore
> HobLib.inf          = ;            &n= bsp;            = ;            &n= bsp;       |   8 +-
>
> StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib
> .inf           = ;            &n= bsp;            = ;            &n= bsp;            = ;  |   6 +-
>  UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Common.h}
> |  18 +-
>  UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
> |   7 +-
>  UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D> CpuIo2StandaloneMm.= inf}
> |  23 +-
>
> UefiCpuPkg/Library/CpuExceptionHandlerLib/SmmCpuExceptionHandlerLib.<= br> > inf           =             &nb= sp;            =             &nb= sp;        |   2 +-
>  UefiCpuPkg/UefiCpuPkg.dsc
> |   6 +
>  72 files changed, 1704 insertions(+), 1425 deletions(-)
>  rename MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.c > =3D> SmmLockBoxMmLib.c} (89%)
>  create mode 100644
> MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxStandaloneMmLib.c
>  create mode 100644
> MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxTraditionalMmLib.c
>  create mode 100644
> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibSt
> andaloneMm.c
>  create mode 100644
> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLibTr
> aditional.c
>  rename
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir
> mwarePerformanceSmm.c =3D> FirmwarePerformanceCommon.c} (77%)
>  create mode 100644
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceStandaloneMm.c
>  create mode 100644
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceTraditional.c
>  rename
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo
> deRouterSmm.c =3D> ReportStatusCodeRouterCommon.c} (80%)
>  create mode 100644
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterStandaloneMm.c
>  create mode 100644
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterTraditional.c
>  create mode 100644
> MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesDxeSmm.c
>  create mode 100644
> MdePkg/Library/UefiDevicePathLib/DevicePathUtilitiesStandaloneMm.c >  copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.c =3D= >
> CommonAcpiTimerLib.c} (86%)
>  create mode 100644
> PcAtChipsetPkg/Library/AcpiTimerLib/StandaloneAcpiTimerLib.c
>  copy
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese<= br> > nceLib.c =3D> MmTcg2PhysicalPresenceLibCommon.c} (91%)
>  create mode 100644
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/StandaloneMmTcg2Phys > icalPresenceLib.c
>  create mode 100644
> SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmBase.c
>  create mode 100644
> SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpmStandalone
> Mm.c
>  create mode 100644
> StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/X64/Standalone
> MmCoreEntryPoint.c
>  copy StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D> > AArch64}/StandaloneMmCoreHobLib.c (96%)
>  rename StandaloneMmPkg/Library/StandaloneMmCoreHobLib/{ =3D>=
> X64}/StandaloneMmCoreHobLib.c (70%)
>  create mode 100644
> StandaloneMmPkg/Library/StandaloneMmMemLib/X64/StandaloneMmMe
> mLibInternal.c
>  copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.c =3D> CpuIo2Common.c} = (94%)
>  create mode 100644 UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c >  copy MdeModulePkg/Library/SmmLockBoxLib/{SmmLockBoxSmmLib.inf = =3D>
> SmmLockBoxStandaloneMmLib.inf} (52%)
>  create mode 100644
> MdeModulePkg/Library/SmmReportStatusCodeLib/ReportStatusCodeLib.h
>  copy
> MdeModulePkg/Library/SmmReportStatusCodeLib/{SmmReportStatusCode
> Lib.inf =3D> StandaloneMmReportStatusCodeLib.inf} (64%)
>  create mode 100644
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/Firm
> warePerformanceCommon.h
>  copy
> MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableSmm/{Fir
> mwarePerformanceSmm.inf =3D> FirmwarePerformanceStandaloneMm.inf}<= br> > (65%)
>  rename
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/{ReportStatusCo
> deRouterSmm.h =3D> ReportStatusCodeRouterCommon.h} (70%)
>  create mode 100644
> MdeModulePkg/Universal/ReportStatusCodeRouter/Smm/ReportStatusCo
> deRouterStandaloneMm.inf
>  copy MdePkg/Library/UefiDevicePathLib/{UefiDevicePathLib.inf = =3D>
> UefiDevicePathLibStandaloneMm.inf} (79%)
>  create mode 100644
> PcAtChipsetPkg/Library/AcpiTimerLib/CommonAcpiTimerLib.h
>  copy PcAtChipsetPkg/Library/AcpiTimerLib/{DxeAcpiTimerLib.inf = =3D>
> StandaloneAcpiTimerLib.inf} (70%)
>  create mode 100644
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenc<= br> > eLibCommon.h
>  copy
> SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/{SmmTcg2PhysicalPrese<= br> > nceLib.inf =3D> StandaloneMmTcg2PhysicalPresenceLib.inf} (64%)
>  create mode 100644
> SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.h
>  copy SecurityPkg/Library/Tpm2DeviceLibDTpm/{Tpm2DeviceLibDTpm.i= nf =3D>
> Tpm2DeviceLibDTpmStandaloneMm.inf} (70%)
>  rename UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.h =3D> CpuIo2Common.h= }
> (92%)
>  copy UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf =3D>
> CpuIo2StandaloneMm.inf} (56%)
>
> --
> 2.28.0.windows.1
>
>
>
>
>

 

--_000_CY4PR11MB12881CB4C2694F11A2F2C0588CC20CY4PR11MB1288namp_--