[PATCH 073/228] cpufreq: omap: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 patch uses these generic routines for this driver. Cc: Santosh Shilimkar santosh.shilim...@ti.com

[PATCH 055/228] cpufreq: define generic .attr, .exit() and .verify() routines

2013-09-13 Thread Viresh Kumar
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 patch introduces generic .attr, .exit() and .verify() cpufreq drivers. Signed-off-by: Viresh Kumar

[PATCH 076/228] cpufreq: pmac: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
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 patch uses these generic routines for this driver. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 170/228] cpufreq: ppc: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 153/228] cpufreq: cris: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Jesper Nilsson jesper.nils...@axis.com Cc: Mikael Starvik

[PATCH 147/228] cpufreq: Implement light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
Currently prototype of cpufreq_drivers target routines is: int target(struct cpufreq_policy *policy, unsigned int target_freq, unsigned int relation); And most of the drivers call cpufreq_frequency_table_target() to get a valid index of their frequency table which is closest to

[PATCH 168/228] cpufreq: pmac32: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 137/228] cpufreq: maple: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/maple-cpufreq.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/cpufreq/maple-cpufreq.c

[PATCH 169/228] cpufreq: powernow: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 148/228] cpufreq: acpi: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 140/228] cpufreq: pmac32: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/pmac32-cpufreq.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff

[PATCH 136/228] cpufreq: loongson2: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. This driver wasn't setting transition_latency and so is getting set to 0 by default. Lets mark it explicitly by calling the generic routine with transition_latency as 0. Cc: Aaro Koskinen aaro.koski...@iki.fi

[PATCH 133/228] cpufreq: exynos: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/exynos-cpufreq.c | 7 +-- drivers/cpufreq/exynos5440-cpufreq.c | 14 ++ 2 files changed, 3 insertions(+), 18

[PATCH 152/228] cpufreq: cpu0: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Shawn Guo shawn@linaro.org Signed-off-by: Viresh Kumar

[PATCH 167/228] cpufreq: pasemi: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 132/228] cpufreq: dbx500: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/dbx500-cpufreq.c | 21 + 1 file changed, 1 insertion(+), 20

[PATCH 156/228] cpufreq: e_powersaver: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 144/228] cpufreq: sa11x0: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/sa1100-cpufreq.c | 6 +- drivers/cpufreq/sa1110-cpufreq.c | 6 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git

[PATCH 155/228] cpufreq: dbx500: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Viresh

[PATCH 142/228] cpufreq: s3c: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/s3c2416-cpufreq.c | 6 ++ drivers/cpufreq/s3c24xx-cpufreq.c | 13 + drivers/cpufreq/s3c64xx-cpufreq.c | 5 ++--- 3 files

[PATCH 149/228] cpufreq: arm_big_little: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 172/228] cpufreq: s3c2416: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Viresh Kumar

[PATCH 175/228] cpufreq: sa11x0: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Some existing routines are no more required and so are removed now. Cc:

[PATCH 161/228] cpufreq: kirkwood: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Andrew Lunn and...@lunn.ch Signed-off-by: Viresh Kumar

[PATCH 129/228] cpufreq: cpu0: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Shawn Guo shawn@linaro.org Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cpufreq-cpu0.c | 19 +-- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git

[PATCH 131/228] cpufreq: davinci: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Cc: Sekhar Nori nsek...@ti.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/davinci-cpufreq.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git

[PATCH 165/228] cpufreq: omap: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: Viresh Kumar

[PATCH 159/228] cpufreq: ia64: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Tony Luck tony.l...@intel.com Signed-off-by: Viresh Kumar

[PATCH 176/228] cpufreq: sc520: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 151/228] cpufreq: blackfin: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Steven Miao real...@gmail.com Signed-off-by: Viresh Kumar

[PATCH 128/228] cpufreq: remove CONFIG_CPU_FREQ_TABLE

2013-09-13 Thread Viresh Kumar
CONFIG_CPU_FREQ_TABLE will be always enabled when cpufreq framework is used, as cpufreq core depends on it. So, we don't need this CONFIG option anymore as it is not configurable. Remove CONFIG_CPU_FREQ_TABLE and update its users. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 162/228] cpufreq: longhaul: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 164/228] cpufreq: maple: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Dmitry Eremin-Solenikov dbarysh...@gmail.com Signed-off-by: Viresh

[PATCH 166/228] cpufreq: p4: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: David S. Miller da...@davemloft.net Signed-off-by: Viresh Kumar

[PATCH 158/228] cpufreq: exynos: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Viresh Kumar

[PATCH 143/228] cpufreq: s5pv210: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/s5pv210-cpufreq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c

[PATCH 160/228] cpufreq: imx6q: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Shawn Guo shawn@linaro.org Signed-off-by: Viresh Kumar

[PATCH 134/228] cpufreq: imx6q: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/imx6q-cpufreq.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/cpufreq/imx6q-cpufreq.c

[PATCH 157/228] cpufreq: elanfreq: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

[PATCH 179/228] cpufreq: speedstep: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: David S. Miller da...@davemloft.net Signed-off-by: Viresh Kumar

[PATCH 173/228] cpufreq: s3c64xx: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Viresh Kumar

[PATCH 177/228] cpufreq: sparc: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: David S. Miller da...@davemloft.net Cc: sparcli...@vger.kernel.org

[PATCH 145/228] cpufreq: spear: use cpufreq_generic_init() routine

2013-09-13 Thread Viresh Kumar
Use generic cpufreq_generic_init() routine instead of replicating the same code here. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/spear-cpufreq.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/cpufreq/spear-cpufreq.c

[PATCH 174/228] cpufreq: s5pv210: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. This drivers wasn't as straight forward as other ones. It was doing some

[PATCH 226/228] cpufreq: spear: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. Cc: spear-de...@list.st.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/spear-cpufreq.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

[PATCH 194/228] cpufreq: imx6q: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 218/228] cpufreq: dbx500: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. We don't have to find closest frequency in platform specific -get() routine wihch dbx500 driver was doing and hence it can be removed as well. Acked-by: Linus Walleij

[PATCH 192/228] cpufreq: exynos: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 205/228] cpufreq: s5pv210: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 215/228] cpufreq: at32ap: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. Acked-by: Hans-Christian Egtvedt egtv...@samfundet.no Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/at32ap-cpufreq.c | 17 + 1 file changed, 5

[PATCH 203/228] cpufreq: pxa: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 186/228] cpufreq: cpu0: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 188/228] cpufreq: davinci: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[f2fs-dev][PATCH RESEND] f2fs: avoid allocating failure in bio_alloc

2013-09-13 Thread Chao Yu
This patch add macro MAX_BIO_BLOCKS to limit value of npages in f2fs_bio_alloc, it can avoid allocating failure in bio_alloc caused by npages is larger than UIO_MAXIOV. Signed-off-by: Yu Chao chao2...@samsung.com --- fs/f2fs/segment.c |4 +++- fs/f2fs/segment.h |3 +++ 2 files changed,

[PATCH 221/228] cpufreq: loongson2: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. We don't need a global variable to hold clock anymore. Cc: John Crispin blo...@openwrt.org Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/loongson2_cpufreq.c | 15

[PATCH 214/228] cpufreq: arm_big_little: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/arm_big_little.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git

[PATCH 213/228] cpufreq: create cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
CPUFreq drivers that use clock frameworks interface,i.e. clk_get_rate(), to get CPUs clk rate, has similar sort of code used for most of them. This patch adds a generic -get() which will do the same thing for them. All those drivers are required to now is to set .get to cpufreq_generic_get() and

[PATCH 220/228] cpufreq: imx6q: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. Acked-by: Shawn Guo shawn@linaro.org Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/imx6q-cpufreq.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-)

[PATCH 204/228] cpufreq: s3c: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 222/228] cpufreq: omap: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. We don't need a global variable to hold clock anymore. Cc: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/omap-cpufreq.c

[PATCH 227/228] cpufreq: tegra: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. Cc: Stephen Warren swar...@nvidia.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/tegra-cpufreq.c | 16 +++- 1 file changed, 3 insertions(+), 13

[PATCH 206/228] cpufreq: sa11x0: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 199/228] cpufreq: p4-clockmod: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 201/228] cpufreq: pmac: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 212/228] cpufreq: tegra: remove target_cpu_speed[] array

2013-09-13 Thread Viresh Kumar
Tegra's cpufreq driver was maintaining requested target frequencies in an array: target_cpu_speed. And then finally setting the highest requested freq in the core. This was probably done because both cores share clock line and logically we want to set both cores to the max frequency requested..

[PATCH 190/228] cpufreq: e_powersaver: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

Build failures due to commit 416161db (btrfs: offline dedupe)

2013-09-13 Thread Guenter Roeck
fs/btrfs/ioctl.c: In function 'btrfs_ioctl_file_extent_same': fs/btrfs/ioctl.c:2802:3: error: implicit declaration of function '__put_user_unaligned' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[2]: *** [fs/btrfs/ioctl.o] Error 1 make[2]: *** Waiting for

[PATCH 228/228] cpufreq: unicore2: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. We also do clk_get() once instead of doing it again and again in target init. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/unicore2-cpufreq.c | 21

[PATCH 219/228] cpufreq: exynos: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. Cc: Amit Daniel Kachhap amit.dan...@samsung.com Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/exynos-cpufreq.c | 10

[PATCH 184/228] cpufreq: at32ap: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

Re: [PATCH 063/228] cpufreq: dbx500: Use generic cpufreq routines

2013-09-13 Thread Viresh Kumar
On 13 September 2013 18:48, Linus Walleij linus.wall...@linaro.org wrote: On Fri, Sep 13, 2013 at 3:00 PM, Viresh Kumar viresh.ku...@linaro.org wrote: 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

[PATCH 207/228] cpufreq: sc520: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 202/228] cpufreq: ppc: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 208/228] cpufreq: sparc: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 191/228] cpufreq: elanfreq: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 216/228] cpufreq: cpu0: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. Acked-by: Shawn Guo shawn@linaro.org Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cpufreq-cpu0.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-)

[PATCH 217/228] cpufreq: davinci: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. Cc: Sekhar Nori nsek...@ti.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/davinci-cpufreq.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-)

[PATCH 180/228] cpufreq: tegra: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Cc: Stephen Warren swar...@nvidia.com Signed-off-by: Viresh Kumar

[PATCH 224/228] cpufreq: s3c: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. We don't need a global variable to hold clock anymore. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/s3c24xx-cpufreq.c | 10

[PATCH 211/228] cpufreq: tegra: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 210/228] cpufreq: speedstep: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 223/228] cpufreq: ppc: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. We don't need a variable to hold clock anymore in struct cpu_data. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/ppc-corenet-cpufreq.c | 17 - 1

[PATCH 198/228] cpufreq: omap: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

Re: [3.12-rc1] Dependency on module-init-tools = 3.11 ?

2013-09-13 Thread Tetsuo Handa
Waiman Long wrote: I would like to report that I also have the same boot problem on a RHEL6.4 box with the crypto patch. My workaround is to force kernel build to have the crc_t10dif code built-in by changing the config file: 4889c4889 CONFIG_CRYPTO_CRCT10DIF=m ---

[PATCH 189/228] cpufreq: dbx500: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 225/228] cpufreq: s5pv210: use cpufreq_generic_get() routine

2013-09-13 Thread Viresh Kumar
We have common infrastructure available with us for getting a CPUs clk rate. Lets use it for this driver. We don't need a global variable to hold clock anymore. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/s5pv210-cpufreq.c | 21

[PATCH 182/228] cpufreq: acpi: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 181/228] cpufreq: move freq change notifications to cpufreq core

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 195/228] cpufreq: kirkwood: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

Re: [PATCH 8/9] mm: implement split page table lock for PMD level

2013-09-13 Thread Peter Zijlstra
On Fri, Sep 13, 2013 at 04:06:15PM +0300, Kirill A. Shutemov wrote: The basic idea is the same as with PTE level: the lock is embedded into struct page of table's page. Split pmd page table lock only makes sense on big machines. Let's say = 32 CPUs for now. Why is this? Couldn't I generate

Re: [PATCH 0/4] Add smp support for Allwinner A20 and phy arch count timer

2013-09-13 Thread cinifr
On 13 September 2013 19:20, Mark Rutland mark.rutl...@arm.com wrote: On Thu, Sep 12, 2013 at 04:46:42PM +0100, cinifr wrote: You seem to be suggesting a kernel change (using CNTPCT), but also bootloader changes (setting CNTHCTL.PL1PCTEN) to make this possible at all. If the bootloader needs to

Re: [PATCH 8/9] mm: implement split page table lock for PMD level

2013-09-13 Thread Peter Zijlstra
On Fri, Sep 13, 2013 at 04:06:15PM +0300, Kirill A. Shutemov wrote: +#if USE_SPLIT_PMD_PTLOCKS + +static inline void pgtable_pmd_page_ctor(struct page *page) +{ + spin_lock_init(page-ptl); +#ifdef CONFIG_TRANSPARENT_HUGEPAGE + page-pmd_huge_pte = NULL; +#endif +} + +static

[PATCH 185/228] cpufreq: blackfin: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 178/228] cpufreq: SPEAr: Convert to light weight -target_index() routine

2013-09-13 Thread Viresh Kumar
This patch converts existing .target() to newly defined light weight .target_index() routine for this driver. CPUFreq core will call cpufreq_frequency_table_target() before calling this routine and will pass index to it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org ---

Re: [PATCH 3/4] Add physical count arch timer support for clocksource in ARMv7.

2013-09-13 Thread Marc Zyngier
On 13/09/13 14:09, cinifr wrote: I urge you to read the ARM ARM, and specifically the section dedicated to trapping access to CP15 operations. If you do, you'll quickly notice that you *cannot* trap accesses to the timer subsystem. I read it again. The ARMv7 manual said Is accessible from

[PATCH 187/228] cpufreq: cris: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 209/228] cpufreq: SPEAr: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 196/228] cpufreq: loongson2: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 197/228] cpufreq: maple: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

[PATCH 193/228] cpufreq: ia64-acpi: remove calls to cpufreq_notify_transition()

2013-09-13 Thread Viresh Kumar
Most of the drivers do following in their -target_index() routines: struct cpufreq_freqs freqs; freqs.old = old freq... freqs.new = new freq... cpufreq_notify_transition(policy, freqs, CPUFREQ_PRECHANGE); /* Change rate here */

<    6   7   8   9   10   11   12   13   14   15   >