All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/5] Dove PMU support
@ 2014-04-27 13:23 ` Russell King - ARM Linux
  0 siblings, 0 replies; 49+ messages in thread
From: Russell King - ARM Linux @ 2014-04-27 13:23 UTC (permalink / raw)
  To: devicetree, linux-arm-kernel, linux-pm, Mark Rutland, Pawel Moll,
	Rafael J. Wysocki, Rob Herring, Sebastian Hesselbarth

The following series of patches add better PMU support for Dove.  This
has been developed on the Cubox, and tested in non-DT and DT modes.

This also improves the interrupt handling over the existing code: the
existing code ends up calling the interrupt handlers twice for every
interrupt raised, because the interrupt clear-down is done at the
wrong point - we need to clear down the interrupt in the device first,
then clear it down in the controller.

The problem this gives is that it can be racy (see comments in the
driver) so we're careful about how we do that to minimise the window.

I've included all patches here - the initial set are targetted towards
adding DT support, with the final adding the non-DT support.  There is
a call to the initialisation function missing for DT mode - I'd like
the mvebu people to comment on how that should be handled, as it needs
to be done pretty early.

Also included are two PM domain changes: the first I've discussed with
Rafael who seems happy with it.  The second is necessary because we
have no way to know if a generic PM domain is associated with a device
or whether something else making use of the PM domain is installed in
the dev->pm_domain pointer, so this allows that decision to be made by
core PM code.

This is more a "this is where I'm at" with this stuff than a real
submission, nevertheless comments on how to get it ready for submission
would be welcome.  I'd like to get this off my plate ASAP.

 arch/arm/Kconfig                     |   1 +
 arch/arm/boot/dts/dove.dtsi          |   7 +
 arch/arm/mach-dove/Makefile          |   1 +
 arch/arm/mach-dove/common.c          |   2 +
 arch/arm/mach-dove/common.h          |   1 +
 arch/arm/mach-dove/include/mach/pm.h |  17 --
 arch/arm/mach-dove/irq.c             |  87 ------
 arch/arm/mach-dove/pmu.c             | 531 +++++++++++++++++++++++++++++++++++
 drivers/base/power/domain.c          |   8 +-
 9 files changed, 547 insertions(+), 108 deletions(-)

-- 
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.

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

end of thread, other threads:[~2015-02-13 16:12 UTC | newest]

Thread overview: 49+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-27 13:23 [PATCH RFC 0/5] Dove PMU support Russell King - ARM Linux
2014-04-27 13:23 ` Russell King - ARM Linux
     [not found] ` <20140427132312.GC26756-l+eeeJia6m9vn6HldHNs0ANdhmdF6hFW@public.gmane.org>
2014-04-27 13:28   ` [PATCH 1/5] pm: domains: quieten down generic pm domains Russell King
2014-04-27 13:28     ` Russell King
2014-04-30 23:46     ` Rafael J. Wysocki
2014-04-30 23:46       ` Rafael J. Wysocki
2014-05-02  9:24       ` Ulf Hansson
2014-05-02  9:24         ` Ulf Hansson
2014-05-04 22:36         ` Rafael J. Wysocki
2014-05-04 22:36           ` Rafael J. Wysocki
     [not found]           ` <1412882.XTDX0QPJ6V-sKB8Sp2ER+y1GS7QM15AGw@public.gmane.org>
2015-02-13 11:54             ` Russell King - ARM Linux
2015-02-13 11:54               ` Russell King - ARM Linux
2014-04-27 13:28 ` [PATCH 2/5] pm: domains: avoid potential oops in pm_genpd_remove_device() Russell King
2014-04-27 13:28   ` Russell King
2014-04-30 23:46   ` Rafael J. Wysocki
2014-04-30 23:46     ` Rafael J. Wysocki
2014-04-27 13:29 ` [PATCH 3/5] ARM: dove: create a proper PMU driver for power domains, PMU IRQs and resets Russell King
2014-04-27 13:29   ` Russell King
2014-04-28 11:55   ` Ulf Hansson
2014-04-28 11:55     ` Ulf Hansson
2014-04-28 12:17     ` Russell King - ARM Linux
2014-04-28 12:17       ` Russell King - ARM Linux
2015-02-13 13:29     ` Russell King - ARM Linux
2015-02-13 13:29       ` Russell King - ARM Linux
2015-02-13 14:11       ` Russell King - ARM Linux
2015-02-13 14:11         ` Russell King - ARM Linux
2015-02-13 16:12         ` Russell King - ARM Linux
2015-02-13 16:12           ` Russell King - ARM Linux
2014-04-27 13:29 ` [PATCH 4/5] ARM: dove: add Dove PMU DT entries to dove.dtsi Russell King
2014-04-27 13:29   ` Russell King
2014-04-27 13:29 ` [PATCH 5/5] ARM: dove: add non-DT PMU support Russell King
2014-04-27 13:29   ` Russell King
2014-04-28  7:47 ` [PATCH RFC 0/5] Dove " Sebastian Hesselbarth
2014-04-28  7:47   ` Sebastian Hesselbarth
     [not found]   ` <535E079B.6010701-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-04-28  8:31     ` Andrew Lunn
2014-04-28  8:31       ` Andrew Lunn
2014-04-29  9:15       ` Sebastian Hesselbarth
2014-04-29  9:15         ` Sebastian Hesselbarth
2014-06-15 15:25         ` Russell King - ARM Linux
2014-06-15 15:25           ` Russell King - ARM Linux
2014-06-18 14:11           ` Dove DT and HDMI on v3.16-rc1 (was: Re: [PATCH RFC 0/5] Dove PMU support) Sebastian Hesselbarth
2014-06-18 14:34             ` Ezequiel Garcia
2014-06-18 15:01               ` Russell King - ARM Linux
2014-06-18 15:10                 ` Dove DT and HDMI on v3.16-rc1 Sebastian Hesselbarth
2014-06-18 15:30                   ` Russell King - ARM Linux
2014-06-18 15:39                     ` Sebastian Hesselbarth
2014-06-18 15:59                       ` Russell King - ARM Linux
2014-06-18 16:09                 ` Dove DT and HDMI on v3.16-rc1 (was: Re: [PATCH RFC 0/5] Dove PMU support) Nicolas Pitre
2014-06-21 19:39             ` Ezequiel Garcia

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.