diff options
author | Jiaxun Yang <[email protected]> | 2024-09-24 15:32:20 +0800 |
---|---|---|
committer | Huacai Chen <[email protected]> | 2024-09-24 15:32:20 +0800 |
commit | 34e3c4500cdc06094b37a41b622598098308ba8f (patch) | |
tree | 8e4f982087039a3a5d0d1ddde08c008c531bd98d /tools/perf/scripts/python/sctop.py | |
parent | d0bb0b600081bc7c246b97b2901abbb6c357ff7b (diff) |
LoongArch: Rework CPU feature probe from CPUCFG/IOCSR
Probe ISA level, TLB, IOCSR information from CPUCFG to improve kernel
resilience to different core implementations.
BTW, IOCSR register definition appears to be a platform-specific spec
instead of an architecture spec, even for the Loongson CPUs there is no
guarantee that IOCSR will always present.
Thus it's dangerous to perform IOCSR probing without checking CPU type
and instruction availability.
Signed-off-by: Jiaxun Yang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions