Searched hist:"8 e0469a4" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hwtracing/stm/ |
H A D | core.c | 8e0469a4 Tue Jun 28 03:35:02 CDT 2016 Alexander Shishkin <alexander.shishkin@linux.intel.com> stm class: Add runtime power management handling
Currently, there's no runtime pm in stm class devices, which makes it harder for the underlying hardware drivers to handle their power management.
This patch applies the following runtime pm policy to stm class devices, which their parents can rely on for their power management tracking:
* device is in use during character device writes, * delayed autosuspend is used to keep it active between adjacent writes, * device is in use while mmio regions are mapped, * device is is use while any stm_source devices are linked to it.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Chunyan Zhang <zhang.chunyan@linaro.org> 8e0469a4 Tue Jun 28 03:35:02 CDT 2016 Alexander Shishkin <alexander.shishkin@linux.intel.com> stm class: Add runtime power management handling Currently, there's no runtime pm in stm class devices, which makes it harder for the underlying hardware drivers to handle their power management. This patch applies the following runtime pm policy to stm class devices, which their parents can rely on for their power management tracking: * device is in use during character device writes, * delayed autosuspend is used to keep it active between adjacent writes, * device is in use while mmio regions are mapped, * device is is use while any stm_source devices are linked to it. Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Chunyan Zhang <zhang.chunyan@linaro.org>
|