Bug 23273 - Backport upstream patches to optimize swiotlb initialization, fix DAX mapping under CVM
Summary: Backport upstream patches to optimize swiotlb initialization, fix DAX mapping...
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: virt (show other bugs) virt
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: 谭钦云
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-05 20:53 UTC by wojiaohanliyang
Modified: 2025-08-05 20:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wojiaohanliyang hygon_group 2025-08-05 20:53:08 UTC
Description of problem:

Backport the following 2 patches:

- dfcf2e017f5bb928094952d5d56d3566d3d07ba7 swiotlb: do not zero buffer in set_memory_decrypted()
  This change eliminates meaningless swiotlb initialization so that CVMs can boot faster when the swiotlb is too large.
- 867400af90f1f953ff9e10b1b87ecaf9369a7eb8 mm/memremap.c: map FS_DAX device memory as decrypted
  This change avoid FSDAX devices failure when launch SEV guest mulitple times.

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 2025-08-05 20:57:08 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/5578