395 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

[openEuler 22.03] 增加MPAM resctl sysfs rmid 动态配置及配置 SMMU mpamid特性

已完成
需求 拥有者
创建于  
2021-09-14 14:19

MPAM 驱动 resctlfs 增加 rmid 的 write 接口,支持动态配置分区rmid
引入需求原因:resctlfs 中 group 的rmid可能从其它模块分配,CPU 侧的MPAM驱动需要支持用户动态配置rmid

修改:增加 mpam resctrl文件系统分区 rmid 的可写接口 resctrl_group_rmid_write
当配置新的rmid到指定分区时,进行一系列的检查,当配置的rmid合法并且分区是 可配置的时候,修改分区为新的rmid,释放已有的rmid,然后将新的rmid配置到分 区包含所有进程的task_struct ,将分区包含的所有CPU对应的rmid更新为新的, 更新监控文件关联的 rmid 并将新的config重新刷新

支持通过SVM驱动配置加速器mpamid 到SMMU驱动
引入需求原因:为了限制设备可用的总线带宽,需要配置设备对应的MPAMID到SMMU驱动中,加速器设备统一由SVM提供配置接口

修改:SMMU驱动增加MPAM的set/get配置接口,SVM驱动增加加速器的MPAM set/get 接口

评论 (3)

Hi xiexiuqi, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at
https://gitee.com/openeuler/community/blob/master/en/sig-infrastructure/command.md.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers: @Xie XiuQi, @YangYingliang, @成坚 (CHENG Jian).

Xie XiuQi 创建了需求
Xie XiuQi 关联仓库设置为openEuler/kernel
openeuler-ci-bot 添加了
 
sig/Kernel
标签
Xie XiuQi 关联分支设置为OLK-5.10
Xie XiuQi 修改了描述
展开全部操作日志

openEuler 22.03-LTS和openEuler 20.03均已合入:
8127bbfcfae mpam: update monitor rmid and group configuration
3622ff886117 mpam: Add support for group rmid modify
85dd77d6a613 mpam: enable rdt_mon_capable for mbw monitor
708520e61ddd iommu/arm-smmu-v3: Add support to enable/disable SMMU user_mpam_en
156610f78a81 iommu/arm-smmu-v3: Add support to get SMMU mpam configuration
ae86d53ea068 iommu/arm-smmu-v3: Add support to configure mpam in STE/CD context
9662b1baa84f iommu: add iommu interface to set/get device configuration

zhengzengkai 任务状态新建 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
5329419 openeuler ci bot 1632792936
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助