Commit 3e04af4e authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Zheng Zengkai
Browse files

arm64/mpam: Add helper for getting mpam sysprops



hulk inclusion
category: feature
feature: ARM MPAM support
bugzilla: 48265
CVE: NA

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

Now mpam sysprops have been probed, maximum support of partid
and pmg should be exported to resctrl.

For MPAM, Processing elements (PEs) issue memory-system requests,
PEs must implement the MPAMn_ELx registers and their behaviors to
generate the PARTID and PMG fields of memory-system requests.

For resctrl, partid and pmg should be used to combined into a unique
rmid for labeling each group, and partid for determining the maximum
number of ctrl groups.

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 avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 2cf7960c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment