Commit 34a7d3f7 authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Yang Yingliang
Browse files

arm64/mpam: resctrl: Supplement cdpl2,cdpl3 for mount options



hulk inclusion
category: feature
bugzilla: 34278
CVE: NA

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

This supports cdpl2,cdpl3 parameters for mount options, some other options
including capabilities' feature such as priority and hardlimit will be
supported in the future, a simple example like this.

e.g.
   > mount -t resctrl resctrl /sys/fs/resctrl -o cdpl3
   > cd /sys/fs/resctrl && cat schemata
     L3CODE:0=7fff;1=7fff;2=7fff;3=7fff
     L3CODE:0=7fff;1=7fff;2=7fff;3=7fff
     MB:0=100;1=100;2=100;3=100

Note that we only complete this part interface adaption, not mean cdp is
supported currently.

Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
parent c397a143
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment