From 2a17fba827ad98137032b7a7267be7d47b7262e6 Mon Sep 17 00:00:00 2001 From: Adriaan Schmidt Date: Tue, 9 Apr 2024 11:26:01 +0200 Subject: [PATCH] plugin_cpu: decrease the severity of _has_pm_qos==False The feature depends on kernel configuration (CONFIG_CPU_IDLE). While this seems to be commonly enabled on x86, we've seen ARM systems where it's disabled, and in this case it's perfectly valid for /dev/cpu_dma_latency to be missing. Since we cannot opt-out of the PM QoS feature in the cpu plugin, this case should not be an error. Signed-off-by: Adriaan Schmidt --- tuned/plugins/plugin_cpu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuned/plugins/plugin_cpu.py b/tuned/plugins/plugin_cpu.py index 9475854f..648c5e4d 100644 --- a/tuned/plugins/plugin_cpu.py +++ b/tuned/plugins/plugin_cpu.py @@ -325,7 +325,7 @@ def _instance_init(self, instance): try: self._cpu_latency_fd = os.open(consts.PATH_CPU_DMA_LATENCY, os.O_WRONLY) except OSError: - log.error("Unable to open '%s', disabling PM_QoS control" % consts.PATH_CPU_DMA_LATENCY) + log.info("Unable to open '%s', disabling PM_QoS control" % consts.PATH_CPU_DMA_LATENCY) self._has_pm_qos = False self._latency = None