arm64/mpam: resctrl: Support cdp on monitoring data
hulk inclusion
category: feature
bugzilla: 34278
CVE: NA
-------------------------------------------------
commit 43be0de7be8f ("arm64/mpam: Support cdp on allocating monitors")
allows us to allocate two monitor once, we apply this two monitors to
different monitor sysfile under mon_data directory according to its'
closid, as following illustrates.
-- resctrl/
+-- schemata
L3CODE:0=xx # closid
L3DATA:1=xx # closid+1
MB:0=xx # closid
+-- mon_data/
+-- mon_L3CODE_00 # monitor
+-- mon_L3DATA_00 # monitor+1
+-- mon_MB_00 # monitor
When monitoring happens, we read the private data of each monitor
sysfile which contains closid, monitor and pmg, this is used for
obtaining monitor data.
Signed-off-by: NWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: NXiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: NCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NCheng Jian <cj.chengjian@huawei.com>
Showing
想要评论请 注册 或 登录