lkml.org 
[lkml]   [2016]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] Exynos IOMMU: proper runtime pm support
Date
Hello,

This patch series finally implements proper runtime pm support in Exynos
IOMMU driver. This has been achieved by adding runtime pm notifiers,
which lets SYSMMU controller to follow it's master device (the device
which actually performs DMA transaction) runtime pm. The main idea
behind this solution is an observation that any DMA activity from master
device can be done only when master device is active, thus when master
device is suspended SYSMMU controller device can also be suspended.

This patchset finally solves the situation that power domains are always
enabled, because all SYSMMU controllers (which belongs to those domains)
are permanently active (because existing driver was simplified and kept
SYSMMU device active all the time after initialization).

This patchset requires my previous changes to Exynos IOMMU driver
submitted in the "Exynos IOMMU: improve clock management" thread:
http://www.spinics.net/lists/arm-kernel/msg505695.html

Best regards
Marek Szyprowski
Samsung R&D Institute Poland

Krzysztof Kozlowski (1):
PM / Runtime: Add notifiers for device runtime PM events

Marek Szyprowski (2):
iommu/exynos: Remove excessive, useless debug
iommu/exynos: Add proper runtime pm support

drivers/base/power/generic_ops.c | 9 ++
drivers/base/power/power.h | 6 ++
drivers/base/power/runtime.c | 34 ++++++-
drivers/iommu/exynos-iommu.c | 214 ++++++++++++++++++---------------------
include/linux/pm.h | 2 +
include/linux/pm_runtime.h | 51 ++++++++++
6 files changed, 201 insertions(+), 115 deletions(-)

--
1.9.2

\
 
 \ /
  Last update: 2016-06-08 12:41    [W:0.056 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site