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:James Morse <james.morse@arm.com> Link: http://www.linux-arm.org/git?p=linux-jm.git;a=patch;h=b91f071ae923de34a0b0f7d3354d768ec64b2e59 Signed-off-by:
Wang ShaoBo <bobo.shaobowang@huawei.com> Reviewed-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by:
Cheng Jian <cj.chengjian@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment