arm64/mpam: Probe supported partid/pmg ranges from devices
hulk inclusion category: feature feature: ARM MPAM support bugzilla: 48265 CVE: NA -------------------------------- Once we know where all the devices are, we can register cpu hotplug callbacks to probe the devices each CPU can access. Once we've probed all the devices, we can enable MPAM. As a first step, we learn whether the MSC supports MPAMv1.x, and update our system wide view of the commonly supported partid/pmg range. As noted in the ACPI code, we learn the cache affinities as CPUs come online. This ensures the data we export via resctrl matches the data cacheinfo exports via sysfs. [Wang ShaoBo: version adaption and few changes in mpam_sysprops_prop] Signed-off-by: NJames Morse <james.morse@arm.com> Link: http://www.linux-arm.org/git?p=linux-jm.git;a=patch;h=b91f071ae923de34a0b0f7d3354d768ec64b2e59Signed-off-by: NWang ShaoBo <bobo.shaobowang@huawei.com> Reviewed-by: NXiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by: NCheng Jian <cj.chengjian@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录