Hello,

An issue regarding the variable has been encountered on the LoongArch platform. Modifying the variable using efivar after S4 resume will cause data corruption 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 restored, resulting in inconsistent data between that in the VARIABLE_MODULE_GLOBAL structure and the actual data. There is already data in the flash area corresponding to NonVolatileLastVariableOffset.
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 there are any solutions?

Thanks

zhangchen@loongson.cn


本邮件及其附件含有龙芯中科的商业秘密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制或散发)本邮件及其附件中的信息。如果您错收本邮件,请您立即电话或邮件通知发件人并删除本邮件。 
This email and its attachments contain confidential information from Loongson Technology , which is intended only for the person or entity whose address 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 other 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:

You receive all messages sent to this group.

View/Reply Online (#121028) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_