]> git.baikalelectronics.ru Git - kernel.git/commit
PM: QoS: Drop debugfs interface
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Feb 2020 22:52:35 +0000 (23:52 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 12 Feb 2020 09:28:42 +0000 (10:28 +0100)
commite54e6b2c059ce330602826f85f5ff6d9cbb98adf
tree04f86b651fe0f626fb93af638b0d15660d72c4ff
parent900abd43b6d837ba70928a9ee9599ba3be1d2fb6
PM: QoS: Drop debugfs interface

After commit f7fa70e11848 ("PM: QoS: Get rid of unused flags") the
only global PM QoS class in use is PM_QOS_CPU_DMA_LATENCY and the
existing PM QoS debugfs interface has become overly complicated (as
it takes other potentially possible PM QoS classes that are not there
any more into account).  It is also not particularly useful (the
"type" of the PM_QOS_CPU_DMA_LATENCY is known, its aggregate value
can be read from /dev/cpu_dma_latency and the number of requests in
the queue does not really matter) and there are no known users
depending on it.  Moreover, there are dedicated trace events that
can be used for tracking PM QoS usage with much higher precision.

For these reasons, drop the PM QoS debugfs interface altogether.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
kernel/power/qos.c