提交 85dd77d6 编写于 作者: X Xingang Wang 提交者: Zheng Zengkai

mpam: enable rdt_mon_capable for mbw monitor

ascend inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I4L735
CVE: NA

-------------------------------------------------

The rdt_mon_capable should be enabled when the msmon_mbwu
feature is supported, so that the mpam monitor function
can be effective.
Signed-off-by: NXingang Wang <wangxingang5@huawei.com>
Reviewed-by: NWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: NWeilong Chen <chenweilong@huawei.com>
Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 708520e6
......@@ -335,6 +335,7 @@ static void mpam_resctrl_pick_event_mbm_local(void)
if (mpam_has_feature(mpam_feat_msmon_mbwu, res->class->features)) {
res->resctrl_res.mon_capable = true;
rdt_mon_capable = true;
mpam_resctrl_events[QOS_L3_MBM_LOCAL_EVENT_ID] = *res;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册