Bug 7830 - [Anolis23.1][RC1]Fix cache coherent issue on .bss..decrypted section when booting a memory encrypted guest
Summary: [Anolis23.1][RC1]Fix cache coherent issue on .bss..decrypted section when boo...
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: 5.10.y-16.2
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-07 17:37 UTC by wojiaohanliyang
Modified: 2024-03-29 10:50 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wojiaohanliyang hygon_group 2024-01-07 17:37:16 UTC
Description of problem:

The memory region of .bss..decrypted section maybe mapped with encryption in OVMF stage. If the correspond stale caches lives in OVMF stage were not flushed before we access that memory region in Linux stages, then Linux will crash because the stale caches in OVMF stage will pollute the memory.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2024-01-07 17:48:48 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2569
Comment 2 Guanjun alibaba_cloud_group 2024-01-26 10:25:09 UTC
修复已经合并