drivers: base: cacheinfo: Add helper to search cacheinfo by of_node
hulk inclusion category: feature bugzilla: 34278 CVE: NA ------------------------------------------------- The MPAM ACPI table holds a PPTT-offset that describes a cache. Add a helper cacheinfo_shared_cpu_map_search() to search the cacheinfo structures for a cache that represents this firmware description. The cacheinfo structures are freed and allocated over CPU online/offline, the caller of this helper must hold the cpu-hotplug read lock while the helper runs, and while it holds the return value. Signed-off-by:James Morse <james.morse@arm.com> Link: http://www.linux-arm.org/git?p=linux-jm.git;a=patch;h=9e5b7ec7c145019f7160c56795ede536f0de5347 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:
Cheng Jian <cj.chengjian@huawei.com>
Loading
Please sign in to comment