提交 903aa1a5 编写于 作者: X Xie XiuQi

arm64/mpam: fix HHA MAX SET/GET operation

hulk inclusion
category: feature
bugzilla: 5510
CVE: NA
Signed-off-by: NXie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: NHanjun Guo <guohanjun@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
上级 f70278e9
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
#define MSMON_CFG_CSU_CTL_SET(m) (BIT(31)|(m)) #define MSMON_CFG_CSU_CTL_SET(m) (BIT(31)|(m))
/* [FIXME] hard code for hardlim */ /* [FIXME] hard code for hardlim */
#define MBW_MAX_SET(v) (MBW_MAX_HARDLIM|((v) << (15 - BWA_WD))) #define MBW_MAX_SET(v) (MBW_MAX_HARDLIM|((v) << (16 - BWA_WD)))
#define MBW_MAX_GET(v) (((v) & MBW_MAX_MASK) >> (15 - BWA_WD)) #define MBW_MAX_GET(v) (((v) & MBW_MAX_MASK) >> (16 - BWA_WD))
/* /*
* emulate the mpam nodes * emulate the mpam nodes
* These should be reported by ACPI MPAM Table. * These should be reported by ACPI MPAM Table.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册