linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/2] amba/dma: pl330: add Power Management support
@ 2014-09-12 14:56 Krzysztof Kozlowski
  2014-09-12 14:56 ` [RFC PATCH v2 1/2] amba: Allow AMBA drivers to use their own runtime PM Krzysztof Kozlowski
  2014-09-12 14:56 ` [RFC PATCH v2 2/2] dma: pl330: add Power Management support Krzysztof Kozlowski
  0 siblings, 2 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2014-09-12 14:56 UTC (permalink / raw)
  To: Russell King, Dan Williams, Vinod Koul, linux-kernel, dmaengine,
	Ulf Hansson, Grant Likely, Lars-Peter Clausen, Michal Simek
  Cc: Kyungmin Park, Marek Szyprowski, Bartlomiej Zolnierkiewicz,
	Krzysztof Kozlowski

Hi,


This is second request for comments for adding runtime PM to the pl330
driver.

The runtime PM of pl330 driver requires interrupt safe suspend/resume
callbacks which is in conflict with amba bus driver. The latter
also unprepares and prepares the AMBA bus clock which is not safe
for atomic context.

The patchset solves this in patch 1/2.

Any comments are welcome.


TODO:
=====
 - Document somewhere the suspend/resume callbacks behavior between
   amba bus driver and device driver.

Changes since v1:
=================
1. Add patch 1 (amba: Allow AMBA drivers to use their own runtime PM).
2. Patch 2/2: Apply Michal Simek's suggestions.
3. Patch 2/2: Fix atomic context safeness in pl330_issue_pending().


Best regards,
Krzysztof Kozlowski

Krzysztof Kozlowski (2):
  amba: Allow AMBA drivers to use their own runtime PM
  dma: pl330: add Power Management support

 drivers/amba/bus.c  | 15 +++++++++++-
 drivers/dma/pl330.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++----
 2 files changed, 79 insertions(+), 5 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-15  7:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-12 14:56 [RFC PATCH v2 0/2] amba/dma: pl330: add Power Management support Krzysztof Kozlowski
2014-09-12 14:56 ` [RFC PATCH v2 1/2] amba: Allow AMBA drivers to use their own runtime PM Krzysztof Kozlowski
2014-09-12 15:13   ` Russell King - ARM Linux
2014-09-15  7:07     ` Krzysztof Kozlowski
2014-09-12 14:56 ` [RFC PATCH v2 2/2] dma: pl330: add Power Management support Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).