selftests/thermel/intel: Add test to read workload hint
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Tue, 29 Aug 2023 00:23:46 +0000 (17:23 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 14 Sep 2023 19:52:19 +0000 (21:52 +0200)
commit27801542b2b815dad2759b7b1f85858627671a3b
tree83f40ace5d5fa8438eb498a072a93b0a85fd4b9a
parente682b86211a1f6d5f1f6286a4296bcab1b18a4f8
selftests/thermel/intel: Add test to read workload hint

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>
tools/testing/selftests/Makefile
tools/testing/selftests/thermal/intel/workload_hint/Makefile [new file with mode: 0644]
tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c [new file with mode: 0644]