From: Sricharan R <sricharan@codeaurora.org>
To: m.szyprowski@samsung.com, will.deacon@arm.com,
robin.murphy@arm.com, joro@8bytes.org,
iommu@lists.linux-foundation.org,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org, srinivas.kandagatla@linaro.org
Cc: sricharan@codeaurora.org
Subject: [PATCH 0/4] iommu/arm-smmu: Add runtime pm/sleep support
Date: Fri, 21 Oct 2016 22:44:22 +0530 [thread overview]
Message-ID: <1477070066-15044-1-git-send-email-sricharan@codeaurora.org> (raw)
This series provides the support for turning on the arm-smmu's
clocks/powerdomains using runtime pm. This is done using the
recently introduced device links patches, which lets the symmu's
runtime to follow the master's runtime pm, so the smmu remains
powered only when the masters use it.
Also added a patch to do the context/save restore during suspend.
But a way to find if the context is really lost during suspend
has to be added in some way.
This is based on the device_link series [1].
Took some reference from the exynos runtime patches in post [2].
Tested this on a platform where context is not really lost,
but atleast the sequence to restore the context is verified.
[1] http://lkml.iu.edu/hypermail/linux/kernel/1609.3/02637.html
[2] https://lkml.org/lkml/2016/10/20/70
Sricharan R (4):
Docs: dt: document ARM SMMU clocks/powerdomains bindings
iommu/arm-smmu: Add pm_runtime/sleep ops
iommu/arm-smmu: Add context save restore support
iommu/arm-smmu: Add the device_link between masters and smmu
.../devicetree/bindings/iommu/arm,smmu.txt | 12 ++
drivers/iommu/arm-smmu.c | 168 ++++++++++++++++++++-
2 files changed, 179 insertions(+), 1 deletion(-)
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
WARNING: multiple messages have this Message-ID (diff)
From: sricharan@codeaurora.org (Sricharan R)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/4] iommu/arm-smmu: Add runtime pm/sleep support
Date: Fri, 21 Oct 2016 22:44:22 +0530 [thread overview]
Message-ID: <1477070066-15044-1-git-send-email-sricharan@codeaurora.org> (raw)
This series provides the support for turning on the arm-smmu's
clocks/powerdomains using runtime pm. This is done using the
recently introduced device links patches, which lets the symmu's
runtime to follow the master's runtime pm, so the smmu remains
powered only when the masters use it.
Also added a patch to do the context/save restore during suspend.
But a way to find if the context is really lost during suspend
has to be added in some way.
This is based on the device_link series [1].
Took some reference from the exynos runtime patches in post [2].
Tested this on a platform where context is not really lost,
but atleast the sequence to restore the context is verified.
[1] http://lkml.iu.edu/hypermail/linux/kernel/1609.3/02637.html
[2] https://lkml.org/lkml/2016/10/20/70
Sricharan R (4):
Docs: dt: document ARM SMMU clocks/powerdomains bindings
iommu/arm-smmu: Add pm_runtime/sleep ops
iommu/arm-smmu: Add context save restore support
iommu/arm-smmu: Add the device_link between masters and smmu
.../devicetree/bindings/iommu/arm,smmu.txt | 12 ++
drivers/iommu/arm-smmu.c | 168 ++++++++++++++++++++-
2 files changed, 179 insertions(+), 1 deletion(-)
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
next reply other threads:[~2016-10-21 17:14 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-21 17:14 Sricharan R [this message]
2016-10-21 17:14 ` [PATCH 0/4] iommu/arm-smmu: Add runtime pm/sleep support Sricharan R
[not found] ` <1477070066-15044-1-git-send-email-sricharan-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2016-10-21 17:14 ` [PATCH 1/4] Docs: dt: document ARM SMMU clocks/powerdomains bindings Sricharan R
2016-10-21 17:14 ` Sricharan R
2016-10-21 17:14 ` [PATCH 2/4] iommu/arm-smmu: Add pm_runtime/sleep ops Sricharan R
2016-10-21 17:14 ` Sricharan R
2016-10-24 16:40 ` Mathieu Poirier
2016-10-24 16:40 ` Mathieu Poirier
[not found] ` <CANLsYkw8Y-5MkeM2U9fLWX951Mo7ErsMCUBjSx3-0689jWD4rQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-10-25 6:27 ` Sricharan
2016-10-25 6:27 ` Sricharan
2016-10-21 17:14 ` [PATCH 3/4] iommu/arm-smmu: Add context save restore support Sricharan R
2016-10-21 17:14 ` Sricharan R
2016-10-24 16:45 ` Mathieu Poirier
2016-10-24 16:45 ` Mathieu Poirier
2016-10-25 6:43 ` Sricharan
2016-10-25 6:43 ` Sricharan
2016-10-26 16:51 ` Robin Murphy
2016-10-26 16:51 ` Robin Murphy
2016-10-21 17:14 ` [PATCH 4/4] iommu/arm-smmu: Add the device_link between masters and smmu Sricharan R
2016-10-21 17:14 ` Sricharan R
2016-10-25 10:07 ` Marek Szyprowski
2016-10-25 10:07 ` Marek Szyprowski
[not found] ` <d0489bcc-573f-de7a-fb6e-59fee521dac8-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2016-10-26 4:14 ` Sricharan
2016-10-26 4:14 ` Sricharan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1477070066-15044-1-git-send-email-sricharan@codeaurora.org \
--to=sricharan@codeaurora.org \
--cc=iommu@lists.linux-foundation.org \
--cc=joro@8bytes.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=robin.murphy@arm.com \
--cc=srinivas.kandagatla@linaro.org \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.