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

arm64/mpam: Support cdp on allocating monitors



hulk inclusion
category: feature
bugzilla: 34278
CVE: NA

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

This prepares for simultaneously monitoring LxDATA and LxCODE when cdp
is open, under our implementation, LxDATA and LxCODE is allocated closid
and closid+1, so we should keep two monitor once time for each.

Why there needs one monitors for each closid when cdp is open, but not
switch one between the two LxDATA and LxCODE is because this monitor kept
by target closid maybe busy for a long time, it would cause inaccuracy if
we force switching.

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