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
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
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
---
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
---
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
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
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
---
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
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
---
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
---
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
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
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
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
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
---
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
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
---
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
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
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
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
---
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
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:
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
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
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
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
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
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
---
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
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
---
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
---
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
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
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
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
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
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
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
---
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
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
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
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
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
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
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 */
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
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 */
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 */
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
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 */
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 */
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 */
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,
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
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
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
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(-)
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 */
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
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
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 */
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 */
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 */
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..
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 */
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
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
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
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 */
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
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 */
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 */
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 */
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 */
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(-)
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(-)
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
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
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 */
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 */
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
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 */
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
---
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 */
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
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 */
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 */
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 */
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
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
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
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 */
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
---
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
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 */
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 */
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 */
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 */
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 */
1001 - 1100 of 1492 matches
Mail list logo