arm64/mpam: resctrl: Update resources reset process
hulk inclusion
category: feature
feature: ARM MPAM support
bugzilla: 48265
CVE: NA
--------------------------------
resctrl_resource_reset() would be excuted if resctrl sysfs umount, this
help to reset all settings stored in related structures (such as mpam_cfg)
and put MSCs back to default state.
This is similar to 6ab0b81f2c18 ("arm64/mpam: Fix unreset resources when mkdir
ctrl group or umount resctrl") but using helpers from mpam devices module.
Signed-off-by:
Wang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by:
Cheng Jian <cj.chengjian@huawei.com>
Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment