cpu: Add test to validate die_id and die_cpumask support#3104
cpu: Add test to validate die_id and die_cpumask support#3104sacsant wants to merge 1 commit intoavocado-framework-tests:masterfrom
Conversation
Add comprehensive Avocado test to validate kernel commit fb2ff9fa72e2 which added die_id and die_cpumask support for PowerPC systems. The test validates: - die_id sysfs interface presence and validity - die_cpus and die_cpus_list sysfs interfaces - die_cpumask consistency across CPUs in same die - die-package relationship (CPUs in same die are in same package) - cpu_die_mask() kernel function behavior The test handles both systems with coregroup support (die_id >= 0) and systems without coregroup support (die_id = -1). Code assisted by AI Signed-off-by: Sachin Sant <sachinp@linux.ibm.com>
|
Test results: (1/7) cpu/cpu_die_topology.py:CPUDieTopology.test_die_id_presence: STARTED |
Add comprehensive Avocado test to validate kernel commit
fb2ff9fa72e2 which added die_id and die_cpumask support for
PowerPC systems.
The test validates:
The test handles both systems with coregroup support (die_id >= 0) and
systems without coregroup support (die_id = -1).
Code assisted by AI
Signed-off-by: Sachin Sant sachinp@linux.ibm.com