]> git.baikalelectronics.ru Git - kernel.git/commit
PM / QoS: Initial kunit test
authorLeonard Crestez <leonard.crestez@nxp.com>
Tue, 26 Nov 2019 15:17:10 +0000 (17:17 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 29 Nov 2019 11:04:49 +0000 (12:04 +0100)
commit976988e4c941c324f859deae2d8d2398f7e4458d
tree42960c435c9f103a25df817d93c41a5ba4bb313b
parent7147c12fe53a379655ddcffa3544140a04a77bab
PM / QoS: Initial kunit test

The pm_qos family of APIs are used in relatively difficult to reproduce
scenarios such as thermal throttling so they benefit from unit testing.

Start by adding basic tests from the the freq_qos APIs. It includes
tests for issues that were brought up on mailing lists:

https://patchwork.kernel.org/patch/11252425/#23017005
https://patchwork.kernel.org/patch/11253421/

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/Kconfig
drivers/base/power/Makefile
drivers/base/power/qos-test.c [new file with mode: 0644]