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 <adriaan.schmidt@siemens.com>
This commit is contained in:
parent
1fb7c803b6
commit
2a17fba827
1 changed files with 1 additions and 1 deletions
|
|
@ -325,7 +325,7 @@ class CPULatencyPlugin(hotplug.Plugin):
|
|||
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue