Skip to content
Commit 2625ad19 authored by Wang ShaoBo's avatar Wang ShaoBo Committed by Zheng Zengkai
Browse files

arm64/mpam: Add hook-events id for ctrl features



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

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

Reading/Writing registers directly for getting or putting configuration
is not friendly with expansion and legibility, multiple types of schemata
ctrls is supported, of which value should be converted to a proper value
based on specific definition and range in corresponding register according
to MPAM spec, Using event id instead to indicate which type configuration
we want to get looks easier for us.

Besides, different hook-events have different setting bound such as bwa_wd
for adaptive range conversion when writing configuration, this can be
associated with specific event for conversion.

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