From: Viresh Kumar <viresh.kumar@linaro.org>
To: rjw@sisk.pl
Cc: linaro-kernel@lists.linaro.org, patches@linaro.org,
cpufreq@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Viresh Kumar <viresh.kumar@linaro.org>,
Andrew Lunn <andrew@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
Eric Miao <eric.y.miao@gmail.com>,
Guan Xuetao <gxt@mprc.pku.edu.cn>,
Hans-Christian Egtvedt <egtvedt@samfundet.no>,
Jesper Nilsson <jesper.nilsson@axis.com>,
John Crispin <blogic@openwrt.org>,
Kukjin Kim <kgene.kim@samsung.com>,
Linus Walleij <linus.walleij@linaro.org>,
linux-cris-kernel@axis.com, linux-sh@vger.kernel.org,
Mikael Starvik <starvik@axis.com>,
Paul Mundt <lethal@linux-sh.org>,
Santosh Shilimkar <santosh.shilimkar@ti.com>,
Sekhar Nori <nsekhar@ti.com>, Shawn Guo <shawn.guo@linaro.org>,
sparclinux@vger.kernel.org, spear-devel@list.st.com,
Stephen Warren <swarren@nv>
Subject: [PATCH 00/44] cpufreq: define generic routines for cpufreq drivers: for 3.13
Date: Sat, 10 Aug 2013 12:13:56 +0530 [thread overview]
Message-ID: <cover.1376116344.git.viresh.kumar@linaro.org> (raw)
Most of the CPUFreq drivers do similar things in .exit() and .verify() routines
and .attr. So its better if we have generic routines for them which can be used
by cpufreq drivers then.
This patchset first fixes all existing drivers to do
cpufreq_frequency_table_put_attr() corresponding to
cpufreq_frequency_table_get_attr() and then create generic routines which will
be used by most of the cpufreq drivers.
This is rebased on Rafael's bleeding edge + some more cleanup work that I posted
earlier:
https://lkml.org/lkml/2013/8/8/263
This patchset and its dependencies are pushed here:
https://git.linaro.org/gitweb?p=people/vireshk/linux.git;a=shortlog;h=refs/heads/for-v3.13
@Rafael: You would be very happy to see the changelog :)
49 files changed, 287 insertions(+), 1215 deletions(-)
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: David S. Miller <davem@davemloft.net>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Cc: Hans-Christian Egtvedt <egtvedt@samfundet.no>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: John Crispin <blogic@openwrt.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-cris-kernel@axis.com
Cc: linux-sh@vger.kernel.org
Cc: Mikael Starvik <starvik@axis.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
Cc: sparclinux@vger.kernel.org
Cc: spear-devel@list.st.com
Cc: Stephen Warren <swarren@nvidia.com>
Cc: Steven Miao <realmz6@gmail.com>
Cc: Tony Luck <tony.luck@intel.com>
Viresh Kumar (44):
cpufreq: arm_big_little: call cpufreq_frequency_table_put_attr()
cpufreq: blackfin: call cpufreq_frequency_table_put_attr()
cpufreq: exynos: call cpufreq_frequency_table_put_attr()
cpufreq: loongson2: call cpufreq_frequency_table_put_attr()
cpufreq: omap: call cpufreq_frequency_table_put_attr()
cpufreq: pxa: call cpufreq_frequency_table_put_attr()
cpufreq: sparc: call cpufreq_frequency_table_put_attr()
cpufreq: define generic .attr, .exit() and .verify() routines
cpufreq: acpi: Use generic cpufreq routines
cpufreq: arm_big_little: Use generic cpufreq routines
cpufreq: at32ap: Use generic cpufreq routines
cpufreq: blackfin: Use generic cpufreq routines
cpufreq: cpu0: Use generic cpufreq routines
cpufreq: cris: Use generic cpufreq routines
cpufreq: davinci: Use generic cpufreq routines
cpufreq: dbx500: Use generic cpufreq routines
cpufreq: e_powersaver: Use generic cpufreq routines
cpufreq: elanfreq: Use generic cpufreq routines
cpufreq: exynos: Use generic cpufreq routines
cpufreq: ia64-acpi: Use generic cpufreq routines
cpufreq: imx6q: Use generic cpufreq routines
cpufreq: kirkwood: Use generic cpufreq routines
cpufreq: longhaul: Use generic cpufreq routines
cpufreq: loongson2: Use generic cpufreq routines
cpufreq: maple: Use generic cpufreq routines
cpufreq: omap: Use generic cpufreq routines
cpufreq: p4-clockmod: Use generic cpufreq routines
cpufreq: pasemi: Use generic cpufreq routines
cpufreq: pcc: Use generic cpufreq routines
cpufreq: pmac: Use generic cpufreq routines
cpufreq: powernow: Use generic cpufreq routines
cpufreq: ppc-corenet: Use generic cpufreq routines
cpufreq: ppc_cbe: Use generic cpufreq routines
cpufreq: pxa: Use generic cpufreq routines
cpufreq: s3cx4xx: Use generic cpufreq routines
cpufreq: s5pv210: Use generic cpufreq routines
cpufreq: sc520: Use generic cpufreq routines
cpufreq: sh: Use generic cpufreq routines
cpufreq: sparc: Use generic cpufreq routines
cpufreq: spear: Use generic cpufreq routines
cpufreq: speedstep: Use generic cpufreq routines
cpufreq: tegra: Use generic cpufreq routines
cpufreq: unicore2: Use generic cpufreq routines
cpufreq: pass suitable index instead of freq to
cpufreq_driver->target()
drivers/cpufreq/acpi-cpufreq.c | 30 ++++---------------
drivers/cpufreq/arm_big_little.c | 34 +++++-----------------
drivers/cpufreq/at32ap-cpufreq.c | 12 +-------
drivers/cpufreq/blackfin-cpufreq.c | 29 ++++---------------
drivers/cpufreq/cpufreq-cpu0.c | 37 +++---------------------
drivers/cpufreq/cpufreq.c | 30 +++++++++++++++++--
drivers/cpufreq/cris-artpec3-cpufreq.c | 41 ++++----------------------
drivers/cpufreq/cris-etraxfs-cpufreq.c | 38 ++++--------------------
drivers/cpufreq/davinci-cpufreq.c | 30 ++++---------------
drivers/cpufreq/dbx500-cpufreq.c | 27 +++--------------
drivers/cpufreq/e_powersaver.c | 28 +++---------------
drivers/cpufreq/elanfreq.c | 53 ++++------------------------------
drivers/cpufreq/exynos-cpufreq.c | 40 ++++---------------------
drivers/cpufreq/exynos5440-cpufreq.c | 18 +++---------
drivers/cpufreq/freq_table.c | 20 +++++++++++++
drivers/cpufreq/ia64-acpi-cpufreq.c | 41 +++-----------------------
drivers/cpufreq/imx6q-cpufreq.c | 38 ++++--------------------
drivers/cpufreq/kirkwood-cpufreq.c | 40 ++++---------------------
drivers/cpufreq/longhaul.c | 34 +++-------------------
drivers/cpufreq/loongson2_cpufreq.c | 34 +++++-----------------
drivers/cpufreq/maple-cpufreq.c | 28 ++++--------------
drivers/cpufreq/omap-cpufreq.c | 44 ++++------------------------
drivers/cpufreq/p4-clockmod.c | 37 ++++--------------------
drivers/cpufreq/pasemi-cpufreq.c | 23 ++-------------
drivers/cpufreq/pcc-cpufreq.c | 9 +-----
drivers/cpufreq/pmac32-cpufreq.c | 23 +++------------
drivers/cpufreq/pmac64-cpufreq.c | 28 ++++--------------
drivers/cpufreq/powernow-k6.c | 32 +++-----------------
drivers/cpufreq/powernow-k7.c | 36 +++++------------------
drivers/cpufreq/powernow-k8.c | 36 +++++------------------
drivers/cpufreq/ppc-corenet-cpufreq.c | 30 ++++---------------
drivers/cpufreq/ppc_cbe_cpufreq.c | 24 ++-------------
drivers/cpufreq/pxa2xx-cpufreq.c | 29 ++-----------------
drivers/cpufreq/pxa3xx-cpufreq.c | 21 +++-----------
drivers/cpufreq/s3c2416-cpufreq.c | 48 ++++++++++--------------------
drivers/cpufreq/s3c24xx-cpufreq.c | 37 +++---------------------
drivers/cpufreq/s3c64xx-cpufreq.c | 25 +++-------------
drivers/cpufreq/s5pv210-cpufreq.c | 24 ++-------------
drivers/cpufreq/sc520_freq.c | 43 ++++-----------------------
drivers/cpufreq/sh-cpufreq.c | 7 +----
drivers/cpufreq/sparc-us2e-cpufreq.c | 23 ++++-----------
drivers/cpufreq/sparc-us3-cpufreq.c | 25 ++++------------
drivers/cpufreq/spear-cpufreq.c | 32 ++++----------------
drivers/cpufreq/speedstep-centrino.c | 42 +++++----------------------
drivers/cpufreq/speedstep-ich.c | 48 +++++-------------------------
drivers/cpufreq/speedstep-smi.c | 46 +++++------------------------
drivers/cpufreq/tegra-cpufreq.c | 22 +++-----------
drivers/cpufreq/unicore2-cpufreq.c | 16 +---------
include/linux/cpufreq.h | 10 ++++++-
49 files changed, 287 insertions(+), 1215 deletions(-)
--
1.7.12.rc2.18.g61b472e
next reply other threads:[~2013-08-10 6:43 UTC|newest]
Thread overview: 67+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-10 6:43 Viresh Kumar [this message]
2013-08-10 6:43 ` [PATCH 01/44] cpufreq: arm_big_little: call cpufreq_frequency_table_put_attr() Viresh Kumar
2013-08-10 6:43 ` [PATCH 02/44] cpufreq: blackfin: " Viresh Kumar
2013-08-10 6:43 ` [PATCH 03/44] cpufreq: exynos: " Viresh Kumar
2013-08-12 6:18 ` Viresh Kumar
2013-08-18 10:00 ` amit daniel kachhap
2013-08-18 21:59 ` Kukjin Kim
2013-08-10 6:44 ` [PATCH 04/44] cpufreq: loongson2: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 05/44] cpufreq: omap: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 06/44] cpufreq: pxa: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 07/44] cpufreq: sparc: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 08/44] cpufreq: define generic .attr, .exit() and .verify() routines Viresh Kumar
2013-08-10 6:44 ` [PATCH 09/44] cpufreq: acpi: Use generic cpufreq routines Viresh Kumar
2013-08-10 6:44 ` [PATCH 10/44] cpufreq: arm_big_little: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 11/44] cpufreq: at32ap: " Viresh Kumar
2013-08-10 8:23 ` Hans-Christian Egtvedt
2013-08-12 6:07 ` Viresh Kumar
2013-08-12 7:10 ` Hans-Christian Egtvedt
2013-08-12 7:13 ` Viresh Kumar
2013-08-12 7:30 ` Hans-Christian Egtvedt
2013-08-12 7:39 ` Viresh Kumar
2013-08-12 19:11 ` Hans-Christian Egtvedt
2013-08-13 4:54 ` Viresh Kumar
2013-08-10 6:44 ` [PATCH 12/44] cpufreq: blackfin: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 13/44] cpufreq: cpu0: " Viresh Kumar
2013-08-12 7:58 ` Shawn Guo
2013-08-10 6:44 ` [PATCH 14/44] cpufreq: cris: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 15/44] cpufreq: davinci: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 16/44] cpufreq: dbx500: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 17/44] cpufreq: e_powersaver: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 18/44] cpufreq: elanfreq: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 19/44] cpufreq: exynos: " Viresh Kumar
2013-08-18 10:03 ` amit daniel kachhap
2013-08-18 22:00 ` Kukjin Kim
2013-08-10 6:44 ` [PATCH 20/44] cpufreq: ia64-acpi: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 21/44] cpufreq: imx6q: " Viresh Kumar
2013-08-12 7:58 ` Shawn Guo
2013-08-12 8:10 ` Viresh Kumar
2013-08-12 8:34 ` Shawn Guo
2013-08-10 6:44 ` [PATCH 22/44] cpufreq: kirkwood: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 23/44] cpufreq: longhaul: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 24/44] cpufreq: loongson2: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 25/44] cpufreq: maple: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 26/44] cpufreq: omap: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 27/44] cpufreq: p4-clockmod: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 28/44] cpufreq: pasemi: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 29/44] cpufreq: pcc: " Viresh Kumar
2013-08-12 6:08 ` Viresh Kumar
2013-08-10 6:44 ` [PATCH 30/44] cpufreq: pmac: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 31/44] cpufreq: powernow: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 32/44] cpufreq: ppc-corenet: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 33/44] cpufreq: ppc_cbe: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 34/44] cpufreq: pxa: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 35/44] cpufreq: s3cx4xx: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 36/44] cpufreq: s5pv210: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 37/44] cpufreq: sc520: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 38/44] cpufreq: sh: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 39/44] cpufreq: sparc: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 40/44] cpufreq: spear: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 41/44] cpufreq: speedstep: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 42/44] cpufreq: tegra: " Viresh Kumar
2013-08-10 6:44 ` [PATCH 43/44] cpufreq: unicore2: " Viresh Kumar
2013-08-12 6:08 ` Viresh Kumar
2013-08-10 6:44 ` [PATCH 44/44] cpufreq: pass suitable index instead of freq to cpufreq_driver->target() Viresh Kumar
2013-08-10 7:45 ` Viresh Kumar
2013-08-12 6:50 ` Viresh Kumar
2013-08-10 7:46 ` [PATCH 00/44] cpufreq: define generic routines for cpufreq drivers: for 3.13 Viresh Kumar
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=cover.1376116344.git.viresh.kumar@linaro.org \
--to=viresh.kumar@linaro.org \
--cc=andrew@lunn.ch \
--cc=blogic@openwrt.org \
--cc=cpufreq@vger.kernel.org \
--cc=davem@davemloft.net \
--cc=dbaryshkov@gmail.com \
--cc=egtvedt@samfundet.no \
--cc=eric.y.miao@gmail.com \
--cc=gxt@mprc.pku.edu.cn \
--cc=jesper.nilsson@axis.com \
--cc=kgene.kim@samsung.com \
--cc=lethal@linux-sh.org \
--cc=linaro-kernel@lists.linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-cris-kernel@axis.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=nsekhar@ti.com \
--cc=patches@linaro.org \
--cc=rjw@sisk.pl \
--cc=santosh.shilimkar@ti.com \
--cc=shawn.guo@linaro.org \
--cc=sparclinux@vger.kernel.org \
--cc=spear-devel@list.st.com \
--cc=starvik@axis.com \
--cc=swarren@nv \
/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).