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 4B721941023 for ; Thu, 23 Jan 2025 03:39:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=P+QRZqkPr1NJHRK189X7YLym7lHffmZ59+VjkDyIbhI=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels: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=20240830; t=1737603560; v=1; x=1737862758; b=fDdsXNVoK/YhPVCGRmRjr3QICsFPCe9JJfvrXLeb+mW0pdYcjOUX9WheK8DqcuWQFHaUHJFO t+hw3RsQl9Bnt5Yhw30swQGEc+hNxDRfRqzCSevcseGTIB+oHf90OHpnrgPO5mZfJwgublkCVyS rlDP8wu20LQVgdLnVvuZSJBQk4PrBJ8eq2zDFBOs9yigErx6GxMJEn9Nz7aYDpKpoePbhuGz5s9 KXW6entykd4QDE1igsFxZ9bzoPSf0HNfluQYN38hvqs6txUedlSL5UwEVWcdH3YNTlmLrIuLExx Bdruh0fp7fhXzjmOY2R8kUnJ8mbppIWBE6ghYUN2ota1A== X-Received: by 127.0.0.2 with SMTP id 7LwrYY7687511xfZOQfkvHL6; Wed, 22 Jan 2025 19:39:18 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by mx.groups.io with SMTP id smtpd.web10.3636.1737603557783489889 for ; Wed, 22 Jan 2025 19:39:17 -0800 X-CSE-ConnectionGUID: 22a0Y6c2Q7iDKxqxoJaUDw== X-CSE-MsgGUID: wbwyPWNKTj6ImYTNEvk9Cw== X-IronPort-AV: E=McAfee;i="6700,10204,11323"; a="38341007" X-IronPort-AV: E=Sophos;i="6.13,227,1732608000"; d="scan'208,217";a="38341007" X-Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jan 2025 19:39:17 -0800 X-CSE-ConnectionGUID: vceyyMKYSKa28K+sWYA3UA== X-CSE-MsgGUID: 3NuWa0YzQsyAaKV1ykou5w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.13,227,1732608000"; d="scan'208,217";a="107260324" X-Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmviesa007.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 22 Jan 2025 19:39:17 -0800 X-Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44; Wed, 22 Jan 2025 19:39:16 -0800 X-Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.44 via Frontend Transport; Wed, 22 Jan 2025 19:39:16 -0800 X-Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.46) 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.2507.44; Wed, 22 Jan 2025 19:39:16 -0800 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com (2603:10b6:208:470::14) by SA3PR11MB7582.namprd11.prod.outlook.com (2603:10b6:806:31e::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8377.16; Thu, 23 Jan 2025 03:39:12 +0000 X-Received: from MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::41a4:c775:32e6:76a8]) by MN6PR11MB8244.namprd11.prod.outlook.com ([fe80::41a4:c775:32e6:76a8%5]) with mapi id 15.20.8356.020; Thu, 23 Jan 2025 03:39:12 +0000 From: "Ni, Ray via groups.io" To: "devel@edk2.groups.io" , "zhangchen@loongson.cn" CC: gaoliming , lichao , =?gb2312?B?x662q9Hl?= , "Kinney, Michael D" Subject: Re: [edk2-devel] Problems with modifying variables after S4 recovery Thread-Topic: [edk2-devel] Problems with modifying variables after S4 recovery Thread-Index: AQHbayMyLXbGfYOnoEG2WS5YGU+l0rMjufQ+ Date: Thu, 23 Jan 2025 03:39:11 +0000 Message-ID: References: <316709e6.1c917.194736e03ba.Coremail.zhangchen@loongson.cn> In-Reply-To: <316709e6.1c917.194736e03ba.Coremail.zhangchen@loongson.cn> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN6PR11MB8244:EE_|SA3PR11MB7582:EE_ x-ms-office365-filtering-correlation-id: 04c12bf7-9bb6-43b2-377c-08dd3b5f807e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: =?gb2312?B?QnVQQ3ErKzE0SEsxdE8wd0MvWmVnOWVtQVpLcllGZkFEWGRXZDlkV1Uyc0dr?= =?gb2312?B?TGxveVAzaER0eDhPMXAzZ2JieFF4eFU2SXhsdTdVYlZwMHBBTVRwSUVZK0lr?= =?gb2312?B?blFZSURLNUcrcU16N3FEZEFLQVY5R1d6d1ZNZnJoWlBVTDVMNThSWWJnc2ZG?= =?gb2312?B?RXkwREFMZUY1TXRpSDY5ajdPdGlxbWdscU9QaWcxYmRZR3lSdklBVXp3QndK?= =?gb2312?B?N2NJSlFXUU92bHZPZytBeGljd2JMSXdOVVlWRDI3alhyN3d5Z0dQYkJwTW53?= =?gb2312?B?NDc5V1U2L3NkYm54eVh6dUZqaFFvcEw5ejNxUEJmNWlJaS9NQ0J3RW5vUWF1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V5?= =?gb2312?B?TXpZRDM3VHFKZTdWWTBDZFlKelJBbzBQMjBlcGlkN2ZZYTBEbER3ekRHNVRX?= =?gb2312?B?Q3JkM0pPUHd2eVhiZVJNSVBST21ESkRzRkdCUVpRdEdQVHpWM1JMK2Y2T2VC?= =?gb2312?B?c2NsOTBxRUxBZ1hJNmpVSTdEeWNwYUlpZ0loMWdiUnJRNEwyVjk0VS8rMjhQ?= =?gb2312?B?cHRjZDRwNERsWW5TQ0Fkd2JzZjJaa1B3NGhTNGRmbDNBbTBKYmNvNWZyUEZs?= =?gb2312?B?WkVnM0NpNHYrU3NQZ3ZmRldhV3JsU1kzUzcxcjRidDB5dVhJdW1iUzBWOU5k?= =?gb2312?B?NzNTWW9xT3pXclpwUU90ME9hK0lNYXdTSmF2Q2d3TWd5eE15YkFCL2VrMjFz?= =?gb2312?B?VllQV1JnUm1CWDAyNFMvVE5iekI0RlZ5dEh6dmJQTzgrd0d0TFEzUVhLWjBL?= =?gb2312?B?dFNWcnZvYmRPSFpxejRGOHBXeitNSXRaY0JhcXNJK2QyT3dML0RnWS9SaHFr?= =?gb2312?B?emxMb2IvR21XUm5aNERTcjNDWkJ4c3hydkxwVldkRC9uT2U2SCsrdXhjcFBN?= =?gb2312?B?L2s5cXlHVVIxMHBBazFCaVVuY0JnNEdLRCs2MElsKzBaMTJDY2hDNnp5bWZa?= =?gb2312?B?b21kelk4aXR4YksxZk1LVGMyU2RXUUNlZEVoTFpoeGNVTWc9PQ==?= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?gb2312?B?S245UGY5b01UczZhMkRteThjbUJRMHVpVDhrWlFaZE15Y2syTmFTblordmZC?= =?gb2312?B?MGlZcmkzYjUwYW5qOHEwNi9LalFmK1o0YmVpVGdaSVJEWVB0V2JYNWVUV292?= =?gb2312?B?UUlDdnk1dkNGY05Mc0FZanlmaXBrZHBPaTgvRGp1b1pqczNLVFBaTmFibm5U?= =?gb2312?B?M2N2R1B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FIvL0p3TkVV?= =?gb2312?B?OThLSEZwd2ZiSndJR0tTVGh1OWNVaTJGL2Z4UmdPeWtjMU9nOGI2WER2L09O?= =?gb2312?B?RWV6QWJSZTRTQ0o5dVpXbmxST21vMkxSU2FQQnpyNStNellGNzl4TVJhL3E2?= =?gb2312?Q?Qysk=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN6PR11MB8244.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04c12bf7-9bb6-43b2-377c-08dd3b5f807e X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jan 2025 03:39:11.9637 (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: x41oPv0FkxsS6ddMum4gHLeUpS6iFjujblHFTt59J85B4Wf3LotmLoP7EMPwci3MupfRI42UQ06zYt9nbEXz4g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR11MB7582 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, 22 Jan 2025 19:39:17 -0800 Resent-From: ray.ni@intel.com Reply-To: devel@edk2.groups.io,ray.ni@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: TfvjTGqDcUwHMS0VQQMIzZfHx7686176AA= Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MN6PR11MB82440D6B54AB3F43AFC8B9358CE02MN6PR11MB8244namp_" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240830 header.b=fDdsXNVo; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.7 as permitted sender) smtp.mailfrom=bounce@groups.io --_000_MN6PR11MB82440D6B54AB3F43AFC8B9358CE02MN6PR11MB8244namp_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SSBjaGVja2VkIHRoZSBBQ1BJIHNwZWMgYW5kIGl0IHNheXMgdGhlIFVFRkkgUnVudGltZUNvZGUv UnVudGltZURhdGEgaXMgdHJlYXRlZCBhcyBBZGRyZXNzUmFuZ2VSZXNlcnZlZCB0eXBlIGJ5IE9T IChzZWUgQUNQSSBzcGVjIDE1LjMgVUVGSSBHZXRNZW1vcnlNYXAoKSBCb290IFNlcnZpY2VzIEZ1 bmN0aW9uKQ0KDQpJIHRoaW5rIHRoZSBBZGRyZXNzUmFuZ2VSZXNlcnZlZCB0eXBlIGlzIE5PVCBy ZXN0b3JlZCBieSBPUyB3aGVuIHJlc3VtaW5nIGZyb20gUzQuDQpDYW4geW91IGRvdWJsZSBjaGVj az8NCg0KDQoNClRoYW5rcywNClJheQ0KDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f Xw0KRnJvbTogZGV2ZWxAZWRrMi5ncm91cHMuaW8gPGRldmVsQGVkazIuZ3JvdXBzLmlvPiBvbiBi ZWhhbGYgb2Yg1cWzvSA8emhhbmdjaGVuQGxvb25nc29uLmNuPg0KU2VudDogRnJpZGF5LCBKYW51 YXJ5IDE3LCAyMDI1IDE2OjQyDQpUbzogZGV2ZWxAZWRrMi5ncm91cHMuaW8gPGRldmVsQGVkazIu Z3JvdXBzLmlvPg0KQ2M6IGdhb2xpbWluZyA8Z2FvbGltaW5nQGJ5b3NvZnQuY29tLmNuPjsgbGlj aGFvIDxsaWNoYW9AbG9vbmdzb24uY24+OyDHrrar0eUgPHFpYW5kb25neWFuQGxvb25nc29uLmNu PjsgS2lubmV5LCBNaWNoYWVsIEQgPG1pY2hhZWwuZC5raW5uZXlAaW50ZWwuY29tPg0KU3ViamVj dDogW2VkazItZGV2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wcy5pbyBMaW5rczogWW91IHJlY2VpdmUgYWxsIG1lc3NhZ2Vz IHNlbnQgdG8gdGhpcyBncm91cC4KVmlldy9SZXBseSBPbmxpbmUgKCMxMjEwNDApOiBodHRwczov L2VkazIuZ3JvdXBzLmlvL2cvZGV2ZWwvbWVzc2FnZS8xMjEwNDAKTXV0ZSBUaGlzIFRvcGljOiBo dHRwczovL2dyb3Vwcy5pby9tdC8xMTA3MTIyOTkvNzY4NjE3NgpHcm91cCBPd25lcjogZGV2ZWwr b3duZXJAZWRrMi5ncm91cHMuaW8KVW5zdWJzY3JpYmU6IGh0dHBzOi8vZWRrMi5ncm91cHMuaW8v Zy9kZXZlbC91bnN1YiBbcmViZWNjYUBvcGVuZncuaW9dCi09LT0tPS09LT0tPS09LT0tPS09LT0t CgoNCg== --_000_MN6PR11MB82440D6B54AB3F43AFC8B9358CE02MN6PR11MB8244namp_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
I checked the ACPI spec and it says the UEFI RuntimeCode/RuntimeData is tre= ated as AddressRangeReserved type by OS (see ACPI spec 15.3 UEFI GetMemoryMap() Boot Services Function)

I think the AddressRangeReserved type is NOT restored by OS when resuming f= rom S4.
Can you double check?



Thanks,
Ray


From: devel@edk2.groups.io = <devel@edk2.groups.io> on behalf of =D5=C5=B3=BD <zhangchen@loongs= on.cn>
Sent: Friday, January 17, 2025 16:42
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: gaoliming <gaoliming@byosoft.com.cn>; lichao <lichao@lo= ongson.cn>; =C7=AE=B6=AB=D1=E5 <qiandongyan@loongson.cn>; Kinney, = Michael D <michael.d.kinney@intel.com>
Subject: [edk2-devel] Problems with modifying variables after S4 rec= overy
 
Hello=A3=AC

An issue regarding the variable has been encountered on the LoongArch platfor= m. Modifying the variable using efivar after S4 resume will cause data corr= uption in the flash.
It was found that when starting from S4, the BIOS might write to the variable= . After the system resumes, the data in the runtime memory will also be res= tored, resulting in inconsistent data between that in the VARIABLE_MODULE_G= LOBAL structure and the actual data. There is already data in the flash area corresponding to NonVolatileLastVa= riableOffset.
It's suspected that there will also be problems on other platforms. I'd like to= know whether other platforms have encountered similar problems and if ther= e are any solutions?

Thanks

zhangchen@l= oongson.cn


=B1=BE=D3=CA=BC=FE=BC=B0=C6=E4=B8=BD=BC=FE=BA=AC=D3=D0=C1=FA=D0=BE= =D6=D0=BF=C6=B5=C4=C9=CC=D2=B5=C3=D8=C3=DC=D0=C5=CF=A2=A3=AC=BD=F6=CF=DE=D3= =DA=B7=A2=CB=CD=B8=F8=C9=CF=C3=E6=B5=D8=D6=B7=D6=D0=C1=D0=B3=F6=B5=C4=B8=F6= =C8=CB=BB=F2=C8=BA=D7=E9=A1=A3=BD=FB=D6=B9=C8=CE=BA=CE=C6=E4=CB=FB=C8=CB=D2= =D4=C8=CE=BA=CE=D0=CE=CA=BD=CA=B9=D3=C3=A3=A8=B0=FC=C0=A8=B5=AB=B2=BB=CF=DE= =D3=DA=C8=AB=B2=BF=BB=F2=B2=BF=B7=D6=B5=D8=D0=B9=C2=B6=A1=A2=B8=B4=D6=C6=BB=F2=C9=A2= =B7=A2=A3=A9=B1=BE=D3=CA=BC=FE=BC=B0=C6=E4=B8=BD=BC=FE=D6=D0=B5=C4=D0=C5=CF= =A2=A1=A3=C8=E7=B9=FB=C4=FA=B4=ED=CA=D5=B1=BE=D3=CA=BC=FE=A3=AC=C7=EB=C4=FA= =C1=A2=BC=B4=B5=E7=BB=B0=BB=F2=D3=CA=BC=FE=CD=A8=D6=AA=B7=A2=BC=FE=C8=CB=B2= =A2=C9=BE=B3=FD=B1=BE=D3=CA=BC=FE=A1=A3 
This email and its attachments contain confidential information from Loongs= on Technology , which is intended only for the person or entity whose addre= ss is listed above. Any use of the information contained herein in any way = (including, but not limited to, total or partial disclosure, reproduction or dissemination) by persons oth= er than the intended recipient(s) is prohibited. If you receive this email = in error, please notify the sender by phone or email immediately and delete= it. 
_._,_._,_

Groups.io Links:

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

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

_._,_._,_
--_000_MN6PR11MB82440D6B54AB3F43AFC8B9358CE02MN6PR11MB8244namp_--