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

arm64/mpam: resctrl: Write and read schemata by schema_list



hulk inclusion
category: feature
bugzilla: 34278
CVE: NA

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

schemata labels each row with hw_closid, which can be parsed into closid
according to fixed rules (LxCODE and MBA are given closid, LxDATA is
given to closid + 1), so the maximum number of rdtgroup can be created
is also restricted by half if cdp enabled.

The length of Lx Cache domains displayed in schemata is compressed, this
is because for specified hardware platform, domains of each resource may
be too many to be easily operated for user interaction.

This patch also move parse_cbm() and parse_bw() to mpam_resctrl.c for clarity.

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