提交 6330b351 编写于 作者: X Xie XiuQi

arm64/mpam: print mpam caps info when booting

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>
上级 57820859
......@@ -406,8 +406,10 @@ static __init bool get_rdt_mon_resources(void)
static __init bool get_resctrl_resources(void)
{
if (!cpus_have_const_cap(ARM64_HAS_MPAM))
if (!cpus_have_const_cap(ARM64_HAS_MPAM)) {
pr_info("This cpu don't support MPAM feature: pfr0: %016llx\n", read_sysreg_s(SYS_ID_AA64PFR0_EL1));
return false;
}
rdt_alloc_capable = get_rdt_alloc_resources();
rdt_mon_capable = get_rdt_mon_resources();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册