Commit 3fb32794 authored by James Morse's avatar James Morse Committed by Yang Yingliang
Browse files

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: default avatarJames Morse <james.morse@arm.com>
Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
Reviewed-By: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 4cde2252
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment