From: Robert Lee <rob.lee@linaro.org>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 0/9] Consolidate cpuidle functionality
Date: Thu, 01 Mar 2012 00:42:49 +0000 [thread overview]
Message-ID: <1330562578-3410-1-git-send-email-rob.lee@linaro.org> (raw)
This patch series moves various functionality duplicated in platform
cpuidle drivers to the core cpuidle driver. Also, the platform irq
disabling was removed as it appears that all calls into
cpuidle_call_idle will have already called local_irq_disable().
Rafael,
Could you review this patchset and merge patch 1/9 once its ready? It
seems pretty close to being acceptable. The get_maintainer script shows
Len Brown as the cpuidle maintainer but I've been unable to get a response
from him so far. If you are not the right person, could you suggest
who I can make this request to? Thanks.
Note to platform maintainers:
Platform patches (2/9 to 9/9) in this patchset are not required to work
with patch 1/9 but please review and push these platform changes as possible
to allow this consolidation to occur.
Based on 3.3-rc5 plus recent exynos cpuidle patch (affects exynos cpuidle only):
http://www.spinics.net/lists/linux-samsung-soc/msg09467.html
v6 submission tested successfully on Exynos (thanks Amit Kacchap) and OMAP3
(thanks Jean Pihet) platforms.
v6 submission can be found here:
http://www.spinics.net/lists/arm-kernel/msg162018.html
Changes since v6:
* Made some struct whitespace alignment changes.
* Fixed a coding style violation (thanks Jean Pihet)
* Fixed a bug in davinci cpuidle (thanks Jean Pihet)
* Corrected the common ARM cpuidle WFI state description to be ARM platform
agnostic (thanks Kevin Hilman)
* Fixed the problem causing x86 and PPC builds to fail (thanks Deepthi)
* Re-added a line of code that was mistakenly removed (thanks Deepthi)
Robert Lee (9):
cpuidle: Add common time keeping and irq enabling
ARM: at91: Consolidate time keeping and irq enable
ARM: exynos: Consolidate time keeping and irq enable
ARM: kirkwood: Consolidate time keeping and irq enable
ARM: davinci: Consolidate time keeping and irq enable
ARM: omap: Consolidate OMAP3 time keeping and irq enable
ARM: omap: Consolidate OMAP4 time keeping and irq enable
ARM: shmobile: Consolidate time keeping and irq enable
SH: shmobile: Consolidate time keeping and irq enable
arch/arm/include/asm/cpuidle.h | 22 +++++++++
arch/arm/kernel/Makefile | 2 +-
arch/arm/kernel/cpuidle.c | 21 ++++++++
arch/arm/mach-at91/cpuidle.c | 67 ++++++++++-----------------
arch/arm/mach-davinci/cpuidle.c | 82 +++++++++++++-------------------
arch/arm/mach-exynos/cpuidle.c | 53 ++-------------------
arch/arm/mach-kirkwood/cpuidle.c | 72 ++++++++--------------------
arch/arm/mach-omap2/cpuidle34xx.c | 42 +++++++----------
arch/arm/mach-omap2/cpuidle44xx.c | 21 +-------
arch/arm/mach-shmobile/cpuidle.c | 31 +++----------
arch/sh/kernel/cpu/shmobile/cpuidle.c | 10 +---
drivers/cpuidle/cpuidle.c | 79 +++++++++++++++++++++++++------
include/linux/cpuidle.h | 13 +++++-
13 files changed, 233 insertions(+), 282 deletions(-)
create mode 100644 arch/arm/include/asm/cpuidle.h
create mode 100644 arch/arm/kernel/cpuidle.c
next reply other threads:[~2012-03-01 0:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-01 0:42 Robert Lee [this message]
2012-03-01 0:42 ` [PATCH v7 1/9] cpuidle: Add common time keeping and irq enabling Robert Lee
2012-03-01 4:27 ` Deepthi Dharwar
2012-03-01 20:42 ` Rob Lee
2012-03-01 0:42 ` [PATCH v7 2/9] ARM: at91: Consolidate time keeping and irq enable Robert Lee
2012-03-01 0:42 ` [PATCH v7 3/9] ARM: exynos: " Robert Lee
2012-03-01 0:42 ` [PATCH v7 4/9] ARM: kirkwood: " Robert Lee
2012-03-01 0:42 ` [PATCH v7 5/9] ARM: davinci: " Robert Lee
2012-03-01 0:42 ` [PATCH v7 6/9] ARM: omap: Consolidate OMAP3 " Robert Lee
2012-03-01 0:42 ` [PATCH v7 7/9] ARM: omap: Consolidate OMAP4 " Robert Lee
2012-03-01 0:42 ` [PATCH v7 8/9] ARM: shmobile: Consolidate " Robert Lee
2012-03-01 0:42 ` [PATCH v7 9/9] SH: " Robert Lee
2012-03-01 20:57 ` [PATCH v7 0/9] Consolidate cpuidle functionality Rob Lee
2012-03-05 16:43 ` Daniel Lezcano
2012-03-05 21:33 ` Kevin Hilman
2012-03-09 1:58 ` [git pull] " Rob Lee
2012-03-09 6:40 ` Stephen Rothwell
2012-03-12 18:45 ` Rob Lee
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=1330562578-3410-1-git-send-email-rob.lee@linaro.org \
--to=rob.lee@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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 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).