ACPI / PPTT: Add helper to validate cache nodes from an offset [dead]
hulk inclusion category: feature bugzilla: 28055 CVE: NA ------------------------------ The MPAM table holds a PPTT-offset that describes a cache. Add a helper acpi_pptt_validate_cache_node(), which checks this offset really is in the PPTT, on a node boundary, and that node really is a cache. With this the MPAM probe code can go poking through struct cacheinfo looking for a level with a matching firmware_node. Signed-off-by: NJames Morse <james.morse@arm.com> Signed-off-by: NWang ShaoBo <bobo.shaobowang@huawei.com> Reviewed-By: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录