diff options
| author | Pierre Gondois <[email protected]> | 2023-01-04 19:30:24 +0100 |
|---|---|---|
| committer | Sudeep Holla <[email protected]> | 2023-01-17 21:59:52 +0000 |
| commit | c3719bd9eeb2edf84bd263d662e36ca0ba262a23 (patch) | |
| tree | 2f007a63a19cdeb9ffcc8138be77e991903ae4ce /tools/perf/scripts/python | |
| parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) | |
cacheinfo: Use RISC-V's init_cache_level() as generic OF implementation
RISC-V's implementation of init_of_cache_level() is following
the Devicetree Specification v0.3 regarding caches, cf.:
- s3.7.3 'Internal (L1) Cache Properties'
- s3.8 'Multi-level and Shared Cache Nodes'
Allow reusing the implementation by moving it.
Also make 'levels', 'leaves' and 'level' unsigned int.
Signed-off-by: Pierre Gondois <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions