From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 1EACBD806C0 for ; Mon, 8 Apr 2024 08:33:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=nw6iCoaidCZDyKw+KPewJHTrTFUaD5QBXdhADNl1Tqw=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID: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; s=20240206; t=1712565214; v=1; b=zitTP2rtS+HT51s1jstQ8oIuta+j5b+2O1CbpNdPtNTHE01wWBJrcOg/Vhr0IoNlHlx6bgxY jgzm7bpJSS4c4eZcz4HNa3+rrUSBfTbum0MSnrj2/5KS49+2ma/cpefe27xyPCcwXPrdQn/mp5s 1fLnc1/5O3Yib3WIT0S0uBqQDEy9h9COvRZdVKB+WbWzhabXR/KU/zEJ8djGNzJ32TusswyO63i +iZ+YdHQyaPm5CgeDLShrnbbVRukR3sYdWfFqPedBQol8UexlN0rsDBBuz98xKXOK23BSloEK/V LJvO3YQFgQ1h+3Fru7di0SuPS+rhXszWhGJQ3a2cSuMRw== X-Received: by 127.0.0.2 with SMTP id SUtVYY7687511xrACfmpkNd6; Mon, 08 Apr 2024 01:33:34 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by mx.groups.io with SMTP id smtpd.web10.101438.1712565213586286869 for ; Mon, 08 Apr 2024 01:33:33 -0700 X-CSE-ConnectionGUID: Biep+kdVRJq3B9QboG22IA== X-CSE-MsgGUID: HrhsfxhjR9+6X6+Enn+c8w== X-IronPort-AV: E=McAfee;i="6600,9927,11037"; a="7688975" X-IronPort-AV: E=Sophos;i="6.07,186,1708416000"; d="scan'208,217";a="7688975" X-Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 01:33:33 -0700 X-CSE-ConnectionGUID: PNzWDVlBSD6yWLiP+mm9Bg== X-CSE-MsgGUID: rVP4RJ2cSuKNI010IaK7iw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,186,1708416000"; d="scan'208,217";a="24288127" X-Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmviesa003.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 Apr 2024 01:33:33 -0700 X-Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 8 Apr 2024 01:33:32 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 8 Apr 2024 01:33:32 -0700 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 8 Apr 2024 01:33:32 -0700 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 8 Apr 2024 01:33:32 -0700 X-Received: from MN0PR11MB6158.namprd11.prod.outlook.com (2603:10b6:208:3ca::18) by DM6PR11MB4531.namprd11.prod.outlook.com (2603:10b6:5:2a5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.26; Mon, 8 Apr 2024 08:33:31 +0000 X-Received: from MN0PR11MB6158.namprd11.prod.outlook.com ([fe80::be1b:c524:662c:7941]) by MN0PR11MB6158.namprd11.prod.outlook.com ([fe80::be1b:c524:662c:7941%7]) with mapi id 15.20.7452.019; Mon, 8 Apr 2024 08:33:30 +0000 From: "Wu, Jiaxin" To: Gerd Hoffmann CC: "devel@edk2.groups.io" Subject: [edk2-devel] OVMF SMM Support Thread-Topic: OVMF SMM Support Thread-Index: AdqJj1DNeqe3JYxtRNqaWHwYuM4YYQ== Date: Mon, 8 Apr 2024 08:33:30 +0000 Message-ID: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN0PR11MB6158:EE_|DM6PR11MB4531:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: JAT0jhi/0+Xuj96AWgTKTOjTApl82T50dnH1H2+XaQmKtrqSyaPDbJYluHfxd5AVwFY+a7w6NHlARwOXTkD1DvhOpg4kSHb+X4ElvsDKz+VHREpg+UoWJdWCb1HW99gqc/z+OjGx45AK95DkGzAM4Z/A4yrnTQEipYFc10if1PwcnHSk2R8W3HzrYyZZzNraPFz1tnGEcMXz0tl+4o6yaKXpG+9iqvq44n1kYy5gYJAoyozeGMb9W9EujFRW5VVjVbn9vBaBYG9J0AipodAMsqEcyLyLW4LHPGJGlideL+BM1jxUTYPP1DGI7csIagahBce/PV7ebSlK57Tok3iC0dkoCSKDPIDzRENS+Smo510jKAoUzHio2bRMQUdZZqWLMXjMnUuz6sS2EPKGLZUY7eAd7tk/hl6c82EQPeUX9wXCobhFENMNViVPvNV/6X/3mKkOS6XH9Jdu00m8X6cAc/a77fKHvl+2WpADnZnfIyNgq3OqUmkh8p6Niza4gAKfF9U6aTJfhIUbNMUBWskvXdcQce4zR1ZA7BCS/5IZVSBSEaTHOphCZsl1pKowPTmAAGBkRvlIG+xraxlVFvpRK5d61LZ6ZldTTW+GLXq1m2g8Ny/K+dU30FwHvjDQA74Xl9RO4Oj6OfiWK295Pn6RwyZAa/ZdEuc9jd+srfIdh/g= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Sh44OA8DimRUfTrjx73r1ncJqcCr1Fk84yXE/ahR2HWwnRsxrb334iov+ZR0?= =?us-ascii?Q?rPfQ8NCquveW4Tqti28/uBw9iV79HyiDchESKM0vYg/JMxkwIrCIyA86MpUR?= =?us-ascii?Q?/gSos1HGZo6FbbfeOw8HN/Um+diXiqXDYp5fK2SqVu+SFOxX206dQJ6rf3IT?= =?us-ascii?Q?qW3lQaGn0EMEyS6VdflDO15ZU0YgOPO5TkFdwFc4hsx6QzrmraKWQVmwlaSK?= =?us-ascii?Q?ZqcN/7rKo2xpuNcw4R374e8/OcHCd2o72e8GAKUTQ3NhcaRxt41qYm28j8+9?= =?us-ascii?Q?4b5wsljOijvZHwsE5tdTy9i/QY8qrDKW4VZk/yJiaLD2W4drdLx90fj4PbHp?= =?us-ascii?Q?BOSqcvdv+/9oBOuoBDd4U7PcOfmu8UcM5HNMC2MiML49Qs+xzucO0yLu7OlS?= =?us-ascii?Q?HwwK49U3/kSl5fwIVTevQkLeKmVUajMfvrhAyefki+ACD//n5WiS1KShj1Rt?= =?us-ascii?Q?lx4W2m4g0QAYTwWozrZQyQur9mZpAwxaQoVIUSgvjmeKCMFwHSWcxbMtCtbu?= =?us-ascii?Q?2vpwol0DdWDv8Fzg6OwEhh6oNIZFvaHgwNZfKPt5pN8vm1K2qHlENMELsn/l?= =?us-ascii?Q?083p//9QhYXWxbdJGt85IDZH1AF62nK/XgMcIBoyzckqHVlsF6KCyfLisFjw?= =?us-ascii?Q?rY8XSUsWX5vKRbHRi0yvIhArQAisAH6aHlqgG0fygyxSXE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wdh/HOwbHgX5tIUCKmbmvGwNIyfuxs5?= 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: 80ad87b9-a65a-4973-8202-08dc57a69241 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2024 08:33:30.9481 (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: bd/GphZTF5lQwaVpGK35tlECFnGpK7962feesfACS9Xh5EB9KSOMyDYPoWtraveZUH14+a3+fBKWvnuQpbEi5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4531 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: Mon, 08 Apr 2024 01:33:33 -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: SKawXCLuvj8136JcjHaApdnux7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MN0PR11MB61587D482EF8D48CB5D04438FE002MN0PR11MB6158namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=zitTP2rt; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 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) --_000_MN0PR11MB61587D482EF8D48CB5D04438FE002MN0PR11MB6158namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Gerd, With below OVMF build and QEMU command, OVMF hangs after SendSmiIpi (mBspAp= icId) during SmmRelocateBases(), is there any issues with latest code to su= pport SMM on OVMF or my local command/configuration issue? Build (latest edk2 code): build -p OvmfPkg\OvmfPkgIa32X64.dsc -a IA32 -a X64 -D SECURE_BOOT -D SMM_RE= QUIRE -D DEBUG_ON_SERIAL_PORT QEMU command (QEMU version: 8.2.0): qemu-system-x86_64 -machine q35,smm=3Don -m 4G -net none -drive if=3Dpflash= ,format=3Draw,unit=3D0,file=3DC:\Dev\Code\edk2\Build\Ovmf3264\DEBUG_VS2019\= FV\OVMF_CODE.fd,readonly=3Don -drive if=3Dpflash,format=3Draw,unit=3D1,file= =3DC:\Dev\Code\edk2\Build\Ovmf3264\DEBUG_VS2019\FV\OVMF_VARS.fd -hda fat:rw= :hda-contents -serial file:log.log Thanks, Jiaxin -=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 (#117493): https://edk2.groups.io/g/devel/message/117493 Mute This Topic: https://groups.io/mt/105397533/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- --_000_MN0PR11MB61587D482EF8D48CB5D04438FE002MN0PR11MB6158namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Gerd,

 

With below OVMF build and QEMU command, OVMF hangs a= fter SendSmiIpi (mBspApicId) during SmmRelocateBases(), is there any issues= with latest code to support SMM on OVMF or my local command/configuration = issue?

 

Build (latest edk2 code):

build -p OvmfPkg\OvmfPkgIa32X64.dsc -a IA32 -a X64 -= D SECURE_BOOT -D SMM_REQUIRE -D DEBUG_ON_SERIAL_PORT

 

QEMU command (QEMU version: 8.2.0):

qemu-system-x86_64 -machine q35,smm=3Don -m 4G -net = none -drive if=3Dpflash,format=3Draw,unit=3D0,file=3DC:\Dev\Code\edk2\Build= \Ovmf3264\DEBUG_VS2019\FV\OVMF_CODE.fd,readonly=3Don -drive if=3Dpflash,for= mat=3Draw,unit=3D1,file=3DC:\Dev\Code\edk2\Build\Ovmf3264\DEBUG_VS2019\FV\O= VMF_VARS.fd -hda fat:rw:hda-contents -serial file:log.log

 

Thanks,

Jiaxin

_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#117493) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--_000_MN0PR11MB61587D482EF8D48CB5D04438FE002MN0PR11MB6158namp_--