-
Notifications
You must be signed in to change notification settings - Fork 102
[Deepin-Kernel-SIG] [linux 6.6-y] [Deepin] config: deepin: enable iommufd #1294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Deepin-Kernel-SIG] [linux 6.6-y] [Deepin] config: deepin: enable iommufd #1294
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis patch introduces the CONFIG_IOMMUFD option into Deepin’s x86 and ARM64 desktop kernel defconfig files, aligning them with the LoongArch configuration and enabling IOMMU file descriptors support across architectures. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
deepin inclusion category: feature our LoongArch has enable the config, many distro has enable it, just enable in x86 and arm64 now. Signed-off-by: Wentao Guan <[email protected]>
dadb84f to
025af43
Compare
deepin pr auto review我来分析一下这个内核配置变更的 diff:
代码质量:
性能影响:
安全性:
改进建议:
# 建议添加相关的安全配置
CONFIG_IOMMUFD=m
CONFIG_IOMMUFD_TEST=n # 除非需要测试,否则禁用
# 考虑是否真的需要 NOIOMMU
# 如果不是必需的,建议禁用
# CONFIG_VFIO_NOIOMMU=y
这个变更看起来是合理的,但建议进行充分的测试,特别是在涉及 IOMMU 和设备分配的场景下。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enables IOMMUFD (IOMMU Userspace API) support in Deepin kernel configurations for x86 and ARM64 architectures. IOMMUFD is a modern user API to control the IOMMU subsystem for managing I/O page tables, designed to eventually replace the legacy VFIO container model. The PR aligns with the existing LoongArch configuration which already has IOMMUFD enabled.
- Adds
CONFIG_IOMMUFD=mto both x86 and ARM64 Deepin defconfigs - Changes
CONFIG_VFIOfrom built-in (y) to module (m) in x86 to maintain consistency
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| arch/x86/configs/deepin_x86_desktop_defconfig | Enables IOMMUFD module and changes VFIO to module for consistency |
| arch/arm64/configs/deepin_arm64_desktop_defconfig | Enables IOMMUFD module (VFIO was already a module) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: lanlanxiyiji The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
deepin inclusion
category: feature
our LoongArch has enable the config, many distro has enable it,
just enable in x86 and arm64 now.
Summary by Sourcery
New Features: