From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail05.groups.io (mail05.groups.io [45.79.224.7]) by spool.mail.gandi.net (Postfix) with ESMTPS id BEACED804EA for ; Thu, 25 Apr 2024 00:54:11 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=qWT3ExlQv6vyVt+dTqQc1UZIuwh7po4YVOvNxCl491U=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1714006450; v=1; b=zoppTeVrD63IundJkzO6ED1RzWKPLTXUQbZmlCUBq0B7QniglkKohlStxyZGis+5Eh/mtIbh KcxFm7eNDzDESJg0Fe+ocNrKlUvSMQxHwd0yfS35Jb9qr5VslCbl1SMab4hgk9WkXbFOqeNN3rp A2OOwQsr66EmfXThlmrghIbxZ2si7UYjgN4XMqa7khv5EcStwfquEISAQLeO9SiJcR6jF4YMRwO Spejh82hf0CzcM6awMncGUNoyQsmphrJr7cu5L9FOCKciurQnoN+oOX8C2VAZB2A7oQ1w+Hmn3a EKCuKOweGtFRZ9CASV8KO9i+WZiWmoDa38OoMGn58QHew== X-Received: by 127.0.0.2 with SMTP id iRE3YY7687511xOiq4ChKMYr; Wed, 24 Apr 2024 17:54:10 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) by mx.groups.io with SMTP id smtpd.web10.5736.1714006444805240143 for ; Wed, 24 Apr 2024 17:54:04 -0700 X-CSE-ConnectionGUID: ghEia2PDTs+0tDSuPuHxzw== X-CSE-MsgGUID: pV9i0Ou3TvyluVXyzkOs3A== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="12603768" X-IronPort-AV: E=Sophos;i="6.07,227,1708416000"; d="scan'208";a="12603768" X-Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 17:54:04 -0700 X-CSE-ConnectionGUID: I0+gjCKsQki9zjEO7Z5tag== X-CSE-MsgGUID: h1AF3n9iR9Ox8jcctalv6Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,227,1708416000"; d="scan'208";a="24934838" X-Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmviesa007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 24 Apr 2024 17:54:04 -0700 X-Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 24 Apr 2024 17:54:03 -0700 X-Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 24 Apr 2024 17:54:03 -0700 X-Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 24 Apr 2024 17:54:03 -0700 X-Received: from MN0PR11MB6158.namprd11.prod.outlook.com (2603:10b6:208:3ca::18) by CH0PR11MB8216.namprd11.prod.outlook.com (2603:10b6:610:192::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.49; Thu, 25 Apr 2024 00:54:01 +0000 X-Received: from MN0PR11MB6158.namprd11.prod.outlook.com ([fe80::b0c8:dcaf:59ea:9e99]) by MN0PR11MB6158.namprd11.prod.outlook.com ([fe80::b0c8:dcaf:59ea:9e99%6]) with mapi id 15.20.7519.021; Thu, 25 Apr 2024 00:54:00 +0000 From: "Wu, Jiaxin" To: Gerd Hoffmann CC: "devel@edk2.groups.io" , "Ni, Ray" , "Zeng, Star" , "Kumar, Rahul R" , "Dong, Guo" , "Rhodes, Sean" , "Lu, James" , "Guo, Gua" , Ard Biesheuvel , "Yao, Jiewen" , Abdul Lateef Attar , Abner Chang , Tom Lendacky Subject: Re: [edk2-devel] [PATCH v3 00/13] Add SmmRelocationLib Thread-Topic: [edk2-devel] [PATCH v3 00/13] Add SmmRelocationLib Thread-Index: AQHakV2GkVjeKzZueEqpL2F3/efgwrFtqcSAgAZI9YCAAYbkEIAAGEAAgAA6z7CAAQM8kIAAgp6AgADgg0A= Date: Thu, 25 Apr 2024 00:54:00 +0000 Message-ID: References: <17C74D78B0B952AD.15491@groups.io> <3v4gqem2libtqyxyw6gzuqrifjxurj7lahdbrfn4474fvgkit2@kojgaroebe3o> <4p5no7tieltk7n2p4mzkuy2ypd2kkxdwxs6lsfnwlrlucosmba@zs5cfcjhfz5y> In-Reply-To: <4p5no7tieltk7n2p4mzkuy2ypd2kkxdwxs6lsfnwlrlucosmba@zs5cfcjhfz5y> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN0PR11MB6158:EE_|CH0PR11MB8216:EE_ x-ms-office365-filtering-correlation-id: 29a8c945-14a1-4271-56ae-08dc64c23226 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?us-ascii?Q?qlEYNzS5mHcWl2mRriCZKB0gb6qunDpRVoRyEqOetbIDWikA+E51VNW9NUYM?= =?us-ascii?Q?sEzBQeOsXCro21iq2SgN5q7xkD5MoF6CYYXpinO3xklkxaiAIW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TR5DxnApzFepn0clCPOCwVItRcGj5HZ4ZO25yN7Rrm/KY0FmpX?= =?us-ascii?Q?72OOBASAFgVMInB6mZLnw0DOp6/+Pt0rS7nqXk2RUqqqAvoCmoaxXZ0g5FH3?= =?us-ascii?Q?BT5hylNyBnns4Cq2kN6X7hk1BY4AXuk7wpsqwrXpRtehfzUGHIARCAzcXqwa?= =?us-ascii?Q?nsbGbmqW45OhvdsnbdyUyCYu5+th3t3bXX7C93E8FY8icdrYKczOZVUV6G/P?= =?us-ascii?Q?EEaXxWM2cvcBPxpUwWYqEw99qMimXiWOzvdT3gC2rTBfqFbBf4c9aIRzp4Dm?= =?us-ascii?Q?mehbA9JNo9SKPHMqUiQn93Svw8qM8uCvCQjRNyfVk4vJOKNkdoCVAM+9oK2J?= =?us-ascii?Q?a31hPumygSujrfELo1JIwu3wP2PNhGoKQrNQaUnpYDY5sw=3D=3D?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5FJeE4Vp3TY7GUUATMH0CcCGnUGojUk7pmVyx/Of+OcBzOus0706mQX7zOSn?= =?us-ascii?Q?CM4Tuot2OhnPH/bgrB7Ug2NFSINCB2yfD3RDHyrD/3f1JtKMQ8Ai+Iuh4oDM?= =?us-ascii?Q?AxqUTIbyiIGKWLrBLPvhO10XPfYLL+QHj3bvnzvJPi5+eykOJBWmglX9Zn8x?= =?us-ascii?Q?92l1ATOZcTdCf4ayYw5c1Ep7jdPdj2GJVb85h6hiyodJbSaMIBj8SywZQP+o?= =?us-ascii?Q?2kHQMTlRyFUbgx3ReGvag8QO04g+dEmWSlvhNt1eZAzO/4VkShqZGg9/NHHS?= =?us-ascii?Q?xc7KY4AN8mFKy9fV6up8alQdNaN9fFSlhVaoQelAyLSaMu7pYJZ1R9f3Pl64?= =?us-ascii?Q?qWy6JeHQkVAtVIyAILfLA6qQliiUhSHYccENg5Xdkd2EOjjGSNf+p/Ogg3Do?= =?us-ascii?Q?sUzQP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PfXZaS?= =?us-ascii?Q?ZX81S1/beiWgXzCLmWkPmIhZs3U620BnAlhYa4CEILHXlKQXNJI12hi0wZ7C?= =?us-ascii?Q?WKNPL2HWCF0t2v02laBTfq5Emk6IeNehsO65Nr3TDCYeYpviHn87+zHkbDaU?= =?us-ascii?Q?hYnG9MX9eCzRPjK2SGJ9UeVTjR9UOkqgfHJ8vOU55G0onin8cW0tc2MwamSm?= =?us-ascii?Q?mzjexx5+2SGTumXCG4vzGM1dvNb0jurWfyb2KupaFtdwS/rl66W8ge3g3wHa?= =?us-ascii?Q?bJQSFug1AfIGkxwTu5TvT1osnGu0gsY9do3v9OyO?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN0PR11MB6158.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29a8c945-14a1-4271-56ae-08dc64c23226 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2024 00:54:00.7063 (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: 8jSyHTus+kHgwLElVhIaRmkD9mb1+eTUKjr3QiQJZynrqm5fqwuVvCnZzqd1iwfULKBtuVXAernuc5qpf41tUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB8216 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Wed, 24 Apr 2024 17:54:05 -0700 Resent-From: jiaxin.wu@intel.com Reply-To: devel@edk2.groups.io,jiaxin.wu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: zIU6RmrOzWkLrnGhaln8Yuw0x7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=zoppTeVr; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) > > > > AMD version is not work for IA32X64 ovmf. > > > > I checked the detailed: CpuSaveState->x64 is always used for OVMF no > matter IA32 or X64, while AMD is not, which is decided by the MSR > EFER_ADDRESS LMA bit check. >=20 > Hmm, probably because only PEI runs in 32-bit mode whereas DXE and SMM > run in 64-bit mode, so 32-bit PEI has to prepare things for the 64-bit > SMM. >=20 > > There is a potential issue/open in OVMF why need use the X64 > > CpuSaveState for IA32. Before this open resolved, I still prefer to > > keep use the ovmf specific lib instance. >=20 > Yes, lets stick to the ovmf version for now, and maybe remove it later > when fixing the ia32 ovmf builds. >=20 Ok, no problem. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#118249): https://edk2.groups.io/g/devel/message/118249 Mute This Topic: https://groups.io/mt/105593568/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-