From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (NAM04-BN8-obe.outbound.protection.outlook.com [40.107.100.40]) by mx.groups.io with SMTP id smtpd.web09.10963.1652193892859298769 for ; Tue, 10 May 2022 07:44:53 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=gZ8ohbX+; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.100.40, mailfrom: thomas.lendacky@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jo0rUr3wla+a/sc+lL2pjm39OGDq5dAKm8PQVSVLyXpY3EstJGxb66Y3M61lTd4b8uxVojS69djJ/E6c7V1YjEklCIh2Ra8PhHoz8RYE3JDbNHo3hUtPqxdczJGqSraPigbSp/qYv2wX3qgJLqWO83E6DMYB27Em+kXafvatAaEPIVZ/NPI902tIA6e+XLSp3Mhoj+mE/8AtA2FSFLb9N2SR4BAIOgW8nzgzGBj3xVP0YragmUFz3RfLzpLcJ3CjunQl8Bznbk4PQShpCXbBYUevMF8uWwBV8v5Mso4EMjuypY4DJ10Vl4Ny39WZrEXz7+p3dbXq9oiH3kjUS+kffQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HWH9skWtDYGrAx25xjsJQmoIoIdnx44l91vg3wbEEtA=; b=oDKgzeXRvPG7xS+D9TvbzEukYMT8oJ7XVXuI6ADFcKZCxGnWVboxAszJhluPkccI5Rz3H2C74nT2RT01XbmiPD3Gp7q8mV9MmFymtGjjsKK4nmzueEAI6aV2WLavpWk8J77xj7W88dDby2DjWea2G4T9+ric0gwIN3erszLzsYkPyYRyxyyQXOHdGqXIjalwr8/yKBO2p8THA8VOxUjpXgoxtZcZ2/dCR7dWjpn02rp5C6eGxRwTZ5d7IbKJgxesV5ShjdPYaEs3e/aHA+fp1uVu4sFQctAN4+286nzjRBwwPy1KxJFy4ArZ+XUDIS8qBEZP+yi+CXf0mekijibgUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HWH9skWtDYGrAx25xjsJQmoIoIdnx44l91vg3wbEEtA=; b=gZ8ohbX+9fsu59+SUf4g68e6aCggLYRer89XZSS5TL+/FdUSnlpCq4aDetp+IxAgN5b0pNJd3Aei45XImuCYenMcBRNA4835hQhhF7R+3h310IgRILodwvO1ugQ2KKJj58bJTNnJJeyS7pqc3SU0y5uSKN+hw6ypFFNPM5lAZZ8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) by CY5PR12MB6324.namprd12.prod.outlook.com (2603:10b6:930:f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.20; Tue, 10 May 2022 14:44:50 +0000 Received: from DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::db8:5b23:acf0:6f9a]) by DM4PR12MB5229.namprd12.prod.outlook.com ([fe80::db8:5b23:acf0:6f9a%4]) with mapi id 15.20.5227.023; Tue, 10 May 2022 14:44:50 +0000 Message-ID: <8580deda-b931-7c4f-d40a-c0230d3b8ef7@amd.com> Date: Tue, 10 May 2022 09:44:48 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [edk2-devel] [PATCH 0/4] Refactor MpInitLib To: "Ni, Ray" , "devel@edk2.groups.io" References: <20220507151313.115-1-ray.ni@intel.com> From: "Lendacky, Thomas" In-Reply-To: X-ClientProxiedBy: SN4PR0501CA0012.namprd05.prod.outlook.com (2603:10b6:803:40::25) To DM4PR12MB5229.namprd12.prod.outlook.com (2603:10b6:5:398::12) Return-Path: Thomas.Lendacky@amd.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b43e553f-70f8-4974-f9b0-08da3293a2b3 X-MS-TrafficTypeDiagnostic: CY5PR12MB6324:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lybCeDMrsEQGposexDUXNNy1/YN6ob2g9MVkVmltmSufrGH2WlioaSYmC0jvzqainOE98Sa7Minf8lEHSDn87/lcoT3vlve20NDgxllGyk5UKHPrMSzOKmKkx5MlO1Ii+xLhWmn5Av1WjHFQtFl66jme/Bm7X3wi//zyYA/bPcDw9/zhzaHZ96Ny9jVIlT/iMmLlEI/mlncgrS4R3hzZtqE5HcOJ3cgrBF6flgAc2UHEH1s6PILhIFiSbKvmXMWEBxZznkhGTSKzxD9dgaE0e2KBxdz1Lf61K6v0ZvPF+MIUWHn8pWtC/b3SclApLaIrnnUYzS71dzSwfYQeLvlFdCo0yKFOa/qrffPMjeIsYpzoT6WJ/jv9/FB+1pS1TY+NflwYWiebFi0j82/7IBwwC29a2e8leTGzh8CCaU0znsyYY/BsIjP4MOYwz3ZJ5VpUOOtBbGZta0I7krg9C0yJuiTpPTxb+1Phlr+nvNIIEhB2oPLcOoW2KhnlCvdSlumFeYCnL55mtM3V9fh/6+Do7VGOVZA+nRRcRsX6TbSpZ5T4e56UsKeCi9RASa2TMJgNfw9E3avFCYniUqBO9sRcp/lI046dgoeHKXnRBEg5Z0P314EISpp67DsdsAL26OzXAYgkUlvcRwB2jf1ZQWwrJDnrjywcyvCu6sIC5uPOe0LRsMmV5GuDmhptngR4kcrin8AOQdFUNUDt8b47RdurMGxYHmcYCS3k1M1DxlP34YS8Mq82TCb4sE7o01I0vxHg9BdoUHIKDj73STgE7Jw+Vs0JFGGjX+lspdxyGJ/jhWXI/vZnmy6Jzwyq3kjtO0PU X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB5229.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(6029001)(4636009)(366004)(6486002)(316002)(966005)(8936002)(31696002)(38100700002)(508600001)(66476007)(110136005)(66946007)(8676002)(86362001)(2906002)(83380400001)(19627235002)(26005)(31686004)(6512007)(53546011)(6506007)(2616005)(186003)(5660300002)(36756003)(66556008)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?xUHBCHKUhOO1XdYcUwT2VZy9jiazku6CUdds6ufyQGu3BgvUFKyGKY9VOwJv?= =?us-ascii?Q?Cc6+/hdiWwVGganq3Q+yO7vy3bTig8RTiffcu1o/QBKwd7UnxfoXEqpiYjmC?= =?us-ascii?Q?3ZXGcntJQCWyex1EMVU6kfjwfiN6S+cKTfSrp+uL4gRw5EZPa0GXNzBCndSw?= =?us-ascii?Q?Im8lcsR9lc93HEOOQjqEPleF95TLjCb+EWebi1sN+Tp2vqWNk68oYwiLqKwW?= =?us-ascii?Q?h3SgI6tMQ5FiLSb+AKyf4herRFd7Axa3vdjMVRkyWx2ALl0CwFJRJqM6Uzst?= =?us-ascii?Q?OdeScn1uERmOXp6RoHjVYJSkx430f9D/2kmqRuXSANGB5RQWC83T099/6Cbn?= =?us-ascii?Q?ozTgXM/mxLAixQ0CWaLmXGDn1R8uxYRWA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?OmMgwydpT9dExKfY0fUKqnEHwcdOHs0K6KlfSf6Ho2iBoZzojUmox/+da9xK?= =?us-ascii?Q?YCtPbSRN80f/E8LcX1c8z5SlACtgM4aJlg/q1wNCDsqwhK8lpHEA4UnAs5U8?= =?us-ascii?Q?prUurcHwl8fIAs2yUpMzx8dgPlAFBBvEVyk++FvBb+2iinOliHZWSJcasLyX?= =?us-ascii?Q?2y0K8Izga6cR7DATaKe5zb/r32J7HH8hYdwP5k29tQzFi7g2VLnEY3ATyTpt?= =?us-ascii?Q?vTUyu/KEOzfJRtjTYRnixxqv93YQi5/LeMCB3LzaVIFjKTL3q6S0YhG4UKRr?= =?us-ascii?Q?eeLXQEhsGmQSJEMByDPwIVVv5o9oIj+EJI6TGQn9AgLpPLYHJ1pir0LFMWJ6?= =?us-ascii?Q?iRT4wRyypX75FJrXDjszhNA7b/rvcEr0rSXx70WWbgfX4sMnqnSSyhOND2jy?= =?us-ascii?Q?+haQd+s/rEmj8i1a+NFywEB5uOhUVazn1xZLzwxXYRYqj0EuHXviviXHWkYq?= =?us-ascii?Q?DSL/HS3nsg=3D=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b43e553f-70f8-4974-f9b0-08da3293a2b3 X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5229.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2022 14:44:50.0275 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ilMLtD2zQVv1FqECKkyDT7+36CfV/rjV49GmVJz1ijyab061tKUUKPR7qDEWQS4fmZ+KDMn+ingaUqLm/DV3tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6324 Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable On 5/9/22 18:16, Ni, Ray wrote: > https://github.com/niruiyu/edk2/tree/refactormp=20 > thanks, > ray > -------------------------------------------------------------------------= - > *From:* devel@edk2.groups.io on behalf of Lendacky= ,=20 > Thomas via groups.io > *Sent:* Tuesday, May 10, 2022 5:39:51 AM > *To:* devel@edk2.groups.io ; Ni, Ray > *Subject:* Re: [edk2-devel] [PATCH 0/4] Refactor MpInitLib > Hi Ray, >=20 > Do you have a public git tree with these patches that I can use to test > with? I'm having lots of problems pulling these patches out of my mail > client and applying them. >=20 > Thanks, > Tom >=20 > On 5/7/22 10:13, Ni, Ray via groups.io wrote: >>=20 >> Ray Ni (4): >>=C2=A0=C2=A0=C2=A0 MpInitLib: Allocate code buffer for PEI phase >>=C2=A0=C2=A0=C2=A0 MpInitLib: remove unneeded global ASM_PFX >>=C2=A0=C2=A0=C2=A0 MpInitLib: Put SEV logic in separate file >>=C2=A0=C2=A0=C2=A0 MpInitLib: Only allocate below 1MB memory for 16bit co= de >>=20 >>=C2=A0=C2=A0 UefiCpuPkg/Library/MpInitLib/AmdSev.c=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 6 +- >>=C2=A0=C2=A0 UefiCpuPkg/Library/MpInitLib/DxeMpLib.c=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |=C2=A0=C2=A0 2 +- >>=C2=A0=C2=A0 .../Library/MpInitLib/Ia32/MpFuncs.nasm=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |=C2=A0 11 +- >>=C2=A0=C2=A0 UefiCpuPkg/Library/MpInitLib/MpEqu.inc=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 2 +- >>=C2=A0=C2=A0 UefiCpuPkg/Library/MpInitLib/MpLib.c=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 99 +++++------ >>=C2=A0=C2=A0 UefiCpuPkg/Library/MpInitLib/MpLib.h=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 2 +- >>=C2=A0=C2=A0 UefiCpuPkg/Library/MpInitLib/PeiMpLib.c=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 |=C2=A0 15 +- >>=C2=A0=C2=A0 UefiCpuPkg/Library/MpInitLib/X64/AmdSev.nasm=C2=A0 | 148 +++= +++++++++++++ >>=C2=A0=C2=A0 UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm | 167 +-------= ---------- >>=C2=A0=C2=A0 9 files changed, 216 insertions(+), 236 deletions(-) >>=20 >=20 >=20 >=20 >=20 >=20