Commit 5b5d00ab authored by James Morse's avatar James Morse Committed by Zeng Heng
Browse files

ACPI / PPTT: Find PPTT cache level by ID

maillist inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8T2RT

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/log/?h=mpam/snapshot/v6.7-rc2



---------------------------

The MPAM table identifies caches by id, but the driver also wants to know
the cache level, without having to wait for whichever core has that cache
to come online.

Add a helper that walks every possible cache, until it finds the one
identified by id, then return the level.

Signed-off-by: default avatarJames Morse <james.morse@arm.com>
Signed-off-by: default avatarZeng Heng <zengheng4@huawei.com>
parent 1ab6383e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment