summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/thermal
Commit message (Collapse)AuthorAgeFilesLines
* selftests: thermal: intel: workload_hint: add missing gitignoreJavier Carrasco2024-02-201-0/+1
| | | | | | | | | | | The 'workload_hint_test' test generates an object with the same name, but there is no .gitignore file in the directory to add the object as stated in the selftest documentation. Add the missing .gitignore file and include 'workload_hint_test'. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
* selftests: thermal: intel: power_floor: add missing gitignoreJavier Carrasco2024-02-201-0/+1
| | | | | | | | | | | The 'power_floor' test generates an object with the same name, but there is no .gitignore file in the directory to add the object as stated in the selftest documentation. Add the missing .gitignore file and include 'power_floor'. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
* selftests/thermel/intel: Add test to read power floor statusSrinivas Pandruvada2023-10-122-0/+120
| | | | | | | | | | | | Some SoCs have firmware support to notify, if the system can't lower power limit to a value requested from user space via RAPL constraints. This test program waits for notification of power floor and prints. This program can be used to test this feature and also allows other user space programs to use as a reference. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
* selftests/thermel/intel: Add test to read workload hintSrinivas Pandruvada2023-09-142-0/+169
Some SoCs have in built firmware support to classify current running workload and pass to OS for making power management decisions. This test program waits for notification of workload type change and prints. This program can be used to test this feature and also allows other user space programs to use as a reference. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>