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 接口
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).
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
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
登录 后才可以发表评论