arm64/mpam: correct num of partid/pmg
hulk inclusion category: bugfix bugzilla: 14212 CVE: NA Perious we hard code num of partids and pmgs, now we get it from MPAMF_IDS regs. The id is start from 0, so NUM = MAX + 1. Fix it. Hi1620's new spec use NUM_MAX as the MAX id of partid/pmg. Signed-off-by: NXie XiuQi <xiexiuqi@huawei.com> Reviewed-by: NHanjun Guo <guohanjun@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录