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

arm64/mpam: Allocate mpam component configuration arrays



hulk inclusion
category: feature
bugzilla: 34278
CVE: NA

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

To bridge resctrl resources and mpam devices, we need somewhere
to store the configuration information.

We allocate a configuration array for each mpam component, which
gets configuration from intermediate structure of resctrl and write
to mpam devices(MSCs).

This config element's categories can be classified as cache ctrl
feature (CPBM and CMAX) and memory ctrl feature (MAX and PBM),
meanwhile some extended features are also supported, including
priority, and hardlimit choice,

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 0268484e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment