[PATCH 1/1] cpufreq: interactive: New 'interactive' governor

2015-10-28 Thread Bálint Czobor
/interactive/go_maxspeed_load The CPU load at which to ramp to max speed. Default is 85. Signed-off-by: Mike Chan Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- Documentation/cpu-freq/governors.txt | 37 + drivers/cpufreq/Kconfig| 27 + drivers

[PATCH 1/1] cpufreq: interactive: New 'interactive' governor

2015-10-28 Thread Bálint Czobor
/interactive/go_maxspeed_load The CPU load at which to ramp to max speed. Default is 85. Signed-off-by: Mike Chan Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- Documentation/cpu-freq/governors.txt | 37 + drivers/cpufreq/Kconfig | 27 + drivers/cpufreq

[PATCH 1/1] cpufreq: interactive: New 'interactive' governor

2015-10-28 Thread Bálint Czobor
evices/system/cpu/cpufreq/interactive/go_maxspeed_load The CPU load at which to ramp to max speed. Default is 85. Signed-off-by: Mike Chan <m...@android.com> Signed-off-by: Todd Poynor <toddpoy...@google.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> ---

[PATCH 1/1] cpufreq: interactive: New 'interactive' governor

2015-10-28 Thread Bálint Czobor
evices/system/cpu/cpufreq/interactive/go_maxspeed_load The CPU load at which to ramp to max speed. Default is 85. Signed-off-by: Mike Chan <m...@android.com> Signed-off-by: Todd Poynor <toddpoy...@google.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> ---

[PATCH 07/70] cpufreq: interactive: adjust code and documentation to match

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Change-Id: If59c668d514a29febe5c35404fd9d01df8548eb1 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- Documentation/cpu-freq/governors.txt | 16 +--- drivers/cpufreq/cpufreq_interactive.c |6 +++--- 2 files changed, 16 insertions(+), 6 deletions

[PATCH 11/70] cpufreq: interactive: remove unused target_validate_time_in_idle

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Change-Id: I37c5085b91318242612440dfd775ad762996612f Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b

[PATCH 04/70] cpufreq: interactive: set at least hispeed when above hispeed load

2015-10-27 Thread Bálint Czobor
: I5b9d2a15ba25ce609b21bac7c724265cf6838dee Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index e3bbe82

[PATCH 09/70] cpufreq: interactive: Separate speed target revalidate time and initial set time

2015-10-27 Thread Bálint Czobor
. Change-Id: Ic25687a7a53d25e6544c30c47d7ab6f27a47bee8 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq

[PATCH 08/70] cpufreq: interactive: base hispeed bump on target freq, not actual

2015-10-27 Thread Bálint Czobor
about to drop to load levels that map to hispeed or below. Change-Id: I186f23dcfc5e2b6336cab8b0327f0c8a9a4482bc Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq

[PATCH 06/70] cpufreq: interactive: configurable delay before raising above hispeed

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Change-Id: I4d6ac40b23a3790d48e30c37408284e9f955e8fa Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 41 + 1 file changed, 41 insertions(+) diff --git a/drivers/cpufreq

[PATCH 03/70] cpufreq: interactive: apply intermediate load to max speed not current

2015-10-27 Thread Bálint Czobor
-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index 62e7456..e3bbe82 100644 --- a/drivers/cpufreq

[PATCH 05/70] cpufreq: interactive: don't drop speed if recently at higher load

2015-10-27 Thread Bálint Czobor
: I250bda657985de60373f9897cc41f480664d51a1 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 38 +++-- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq

[PATCH 15/70] cpufreq-interactive: Compile fixup

2015-10-27 Thread Bálint Czobor
From: John Stultz Looks like AOSP has a compile bug. Fix it up. Signed-off-by: John Stultz Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq

[PATCH 18/70] cpufreq: interactive: keep freezer happy when not current governor

2015-10-27 Thread Bálint Czobor
wake up the thread once all the necessary data structures are initialized. The latter required some minor code shuffle. Signed-off-by: Sam Leffler Change-Id: Ie2c058dd75dcb6460ea10e7ac997e46baf66b1fe Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 14

[PATCH 16/70] cpufreq: interactive: restart above_hispeed_delay at each hispeed load

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Change-Id: I2e5b91d45e8806b0ab94ca2301ed671c9af9ab13 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b

[PATCH 14/70] cpufreq: interactive: add boost pulse interface

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Change-Id: Icf1e86d2065cc8f0816ba9c6b065eb056d4e8249 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- Documentation/cpu-freq/governors.txt |9 ++-- drivers/cpufreq/cpufreq_interactive.c | 32 +++- include/trace/events

[PATCH 12/70] cpufreq: interactive: Add sysfs boost interface for hints from userspace

2015-10-27 Thread Bálint Czobor
From: Todd Poynor The explicit hint on/off version. Change-Id: Ibf62b6d45bf6fb8c9c055b9bdaf074ce9374c04f Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- Documentation/cpu-freq/governors.txt |3 ++ drivers/cpufreq/cpufreq_interactive.c | 48

[PATCH 21/70] cpufreq: interactive: always limit initial speed bump to hispeed

2015-10-27 Thread Bálint Czobor
between minimum and hispeed_freq. Change-Id: I04ec30bafabf5741e267ff289209b8c2d846824b Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c

[PATCH 23/70] cpufreq: interactive: pin timers to associated CPU

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Helps avoid waking up other CPUs to react to activity on the local CPU. Change-Id: Ife272aaa7916894a437705d44521b1a1693fbe8e Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 106 + 1 file

[PATCH 19/70] cpufreq: interactive: handle speed up and down in the realtime task

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Not useful to have a separate, non-realtime workqueue for speed down events, avoid priority inversion for speed up events. Change-Id: Iddcd05545245c847aa1bbe0b8790092914c813d2 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c

[PATCH 28/70] cpufreq: interactive: apply above_hispeed_delay to each step above hispeed

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Apply above_hispeed_delay whenever increasing speed to a new speed above hispeed (not just the first step above hispeed). Change-Id: Ibb7add7db47f2a4306a9458c4e1ebabb60698636 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c

[PATCH 26/70] cpufreq: interactive: trace actual speed in target speed decisions

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Tracing adds actual speed since this is expected to be key to the choice of target speed. Change-Id: Iec936102d0010c4e9dfa143c38a9fd0d551189c3 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 18

[PATCH 31/70] cpufreq: interactive: adjust load for changes in speed

2015-10-27 Thread Bálint Czobor
-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 87 +++-- 1 file changed, 71 insertions(+), 16 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index 3d8e7b4..d0d51ee 100644 --- a/drivers/cpufreq

[PATCH 30/70] cpufreq: interactive: remove load since last speed change

2015-10-27 Thread Bálint Czobor
Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 34 - 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index 6ea77a0..3d8e7b4 100644 --- a/drivers

[PATCH 33/70] cpufreq: interactive: add timer slack to limit idle at speed > min

2015-10-27 Thread Bálint Czobor
param and its timer management in idle. For platforms on which holding speed above mimum in idle costs power, use the new timer slack to select how long to wait before waking up to drop speed. Change-Id: I270b3980667e2c70a68e5bff534124b4411dbad5 Signed-off-by: Todd Poynor Signed-off-by: Bálint

[PATCH 34/70] cpufreq: interactive: fix boosting logic

2015-10-27 Thread Bálint Czobor
: Id420068480fcc7f5c4989ff523e2a8d22e2f4db2 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index

[PATCH 36/70] cpufreq: interactive: fix race on timer restart on governor start

2015-10-27 Thread Bálint Czobor
to the enable flag). Delete any existing timer for safety. Change-Id: Ife77cf9fe099e8fd8543224cbf148c6722c2ffb0 Reported-by: Francisco Franco Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 38/70] cpufreq: interactive: init default values at compile time

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Change-Id: Ia4966e949a6c24c34fdbd4a6e522cd7c37e4108e Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b

[PATCH 35/70] cpufreq: interactive: fix racy timer stopping

2015-10-27 Thread Bálint Czobor
-Id: Ib51165a735d73dcf964a06754c48bdc1913e13d0 Signed-off-by: Nicolas Pitre Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 38 - 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactiv

[PATCH 42/70] cpufreq: interactive: allow arbitrary speed / delay mappings

2015-10-27 Thread Bálint Czobor
the delay at or above 1.5GHz is 40 msecs when hispeed_freq is 1GHz. [toddpoy...@google.com: add documentation] Change-Id: Ifeebede8b1acbdd0a53e5c6916bccbf764dc854f Signed-off-by: Minsung Kim Signed-off-by: Bálint Czobor --- Documentation/cpu-freq/governors.txt | 12 ++- drivers/cpufreq/cpufreq_int

[PATCH 40/70] cpufreq: interactive: fix deadlock on spinlock in timer

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Need to use irqsave/restore spinlock calls to avoid a deadlock in calls from the timer. Change-Id: I15b6b590045ba1447e34ca7b5ff342723e53a605 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 29

[PATCH 45/70] cpufreq: interactive: base above_hispeed_delay on target freq, not current

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Time to wait should be based on the intended target speed, not the actual speed (which may be held high by another CPU). Change-Id: Ifc5bb55d06adddb9a02af90af05398a78f282272 Reported-by: Arve Hjønnevåg Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers

[PATCH 41/70] cpufreq: interactive: fix race on governor start/stop

2015-10-27 Thread Bálint Czobor
because the policy and cpu mask are all kfree in cpufreq driver. Replace atomic with mutex to lock the whole START/STOP sequence. Change-Id: I3762b3d44315ae021b8275aca84f5ea9147cc540 Signed-off-by: Lianwei Wang Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 21

[PATCH 44/70] cpufreq: interactive: fix crash on error paths in get_tokenized_data

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Use separate variable for error code, free proper pointer. Change-Id: Ia83cccb195997789ac6afbf5b8761f7b278196d6 Reported-by: Arve Hjønnevåg Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 17 ++--- 1 file

[PATCH 47/70] cpufreq: interactive: handle errors from cpufreq_frequency_table_target

2015-10-27 Thread Bálint Czobor
-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index baf8740..1b5d930 100644

[PATCH 46/70] cpufreq: interactive: fix uninitialized spinlock

2015-10-27 Thread Bálint Czobor
-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index 9dd4d38..baf8740 100644 --- a/drivers/cpufreq/cpufreq_interactive.c +++ b/drivers/cpufreq

[PATCH 50/70] cpufreq: interactive: fix race on cpufreq TRANSITION notifier

2015-10-27 Thread Bálint Czobor
Signed-off-by: Lianwei Wang Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index 7303f50..691923d 100644 --- a/drivers/cpufreq

[PATCH 49/70] cpufreq: interactive: avoid underflow on active time calculation

2015-10-27 Thread Bálint Czobor
From: Minsung Kim Check for idle time delta less than elapsed time delta, avoid underflow computing active time. Change-Id: I3e4c6ef1ad794eec49ed379c0c50fa727fd6ad28 Signed-off-by: Minsung Kim Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |7 ++- 1 file

[PATCH 48/70] cpufreq: interactive: reduce chance of zero time delta on load eval

2015-10-27 Thread Bálint Czobor
Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index 1b5d930..b4d12b2 100644 --- a/drivers/cpufreq

[PATCH 43/70] cpufreq: interactive: add io_is_busy interface

2015-10-27 Thread Bálint Czobor
is disabled. [toddpoy...@google.com: minor updates] Change-Id: If7d70ff864c43bc9c8d7fd7cfc66f930d339f9b4 Signed-off-by: Lianwei Wang Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 66 - 1 file changed, 64 insertions

[PATCH 53/70] cpufreq: interactive: Remove unnecessary cpu_online() check

2015-10-27 Thread Bálint Czobor
off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index a66748e..378835b 100644 --- a/drivers/cpufreq/cpufreq_interactive.c +++ b/drivers/cpuf

[PATCH 62/70] cpufreq: interactive: turn boost_pulse off on boost off

2015-10-27 Thread Bálint Czobor
From: Ruchi Kandoi Change-Id: I36fe217fa047d68ea90e78b12c7db4537ea8010b Signed-off-by: Ruchi Kandoi Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq

[PATCH 63/70] cpufreq: interactive: remove compilation error from commit 49cc72365fb7ee87762a7ccc6a32ef68627216c5

2015-10-27 Thread Bálint Czobor
From: Ruchi Kandoi Change-Id: I068b18281d03ac879ef64d8ff36ed43367293767 Signed-off-by: Ruchi Kandoi Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers

[PATCH 59/70] cpufreq: interactive: Use generic get_cpu_idle_time() from cpufreq.c

2015-10-27 Thread Bálint Czobor
-by: John Stultz Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 40 - 1 file changed, 40 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index 8297ac6..ff77b30 100644 --- a/drivers

[PATCH 25/70] cpufreq: interactive: kick timer on idle exit past expiry

2015-10-27 Thread Bálint Czobor
by actvity that does not run the normal timer list. Rename the field that timestamps the "time_in_idle" value to be more accurate. Change-Id: Ied590ecbefc83c9a9ec5eb9e31903557f6fa1614 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactiv

[PATCH 54/70] cpufreq: interactive: Move definition of cpufreq_gov_interactive downwards

2015-10-27 Thread Bálint Czobor
-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 23 ++- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index 378835b..b0685c7 100644 --- a/drivers/cpufreq

[PATCH 52/70] cpufreq: interactive: fix show_target_loads and show_above_hispeed_delay

2015-10-27 Thread Bálint Czobor
Signed-off-by: Minsung Kim Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index 90958fd..a66748e 100644 --- a/drivers

[PATCH 37/70] cpufreq: interactive: default go_hispeed_load 99%, doc updates

2015-10-27 Thread Bálint Czobor
Signed-off-by: Bálint Czobor --- Documentation/cpu-freq/governors.txt | 64 - drivers/cpufreq/cpufreq_interactive.c |2 +- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/Documentation/cpu-freq/governors.txt b/Documentation/cpu-freq

[PATCH 56/70] cpufreq: interactive: delete timers for GOV_START

2015-10-27 Thread Bálint Czobor
From: Shridhar Rasal Make sure that timers cpu_timer and cpu_slack_timer deactivated before addition of new. Change-Id: If31c4049606871df6f00efdc24b1d713c86a6f69 Signed-off-by: Shridhar Rasal Signed-off-by: Bharat Nihalani Signed-off-by: Bálint Czobor --- drivers/cpufreq

[PATCH 13/70] cpufreq: interactive: set floor for boosted speed

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Allow speed to drop to flooor frequency but not below, don't pin to speed at last boost. Change-Id: I0147c2b7a2e61ba16820605af6baaf09570be787 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 23 +-- 1

[PATCH 58/70] cpufreq: interactive: fix NULL pointer dereference at sysfs ops

2015-10-27 Thread Bálint Czobor
From: Minsung Kim sysfs ops for target_loads and above_hispeed_delay can be called before initializing tunables at CPUFREQ_GOV_POLICY_INIT. Create sysfs entries after initialization. Change-Id: I50356198d7629731c0d32a3066d61fe8354e0001 Signed-off-by: Minsung Kim Signed-off-by: Bálint Czobor

[PATCH 51/70] cpufreq: interactive: resched timer if max freq raised

2015-10-27 Thread Bálint Czobor
at a lower freq too. Reschedule the timer on gov limits callback. Change-Id: I6c187001ab43e859731429b64f75a74eebc37a24 Signed-off-by: Lianwei Wang Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 64 +++-- 1 file changed, 54 insertions(+), 10

[PATCH 65/70] cpufreq: interactive: make common_tunables static

2015-10-27 Thread Bálint Czobor
From: Todd Poynor From: Cylen Yao common_tunables should be static. Change-Id: I502ee3062bece5082fea7861eff2f6237e25cede Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 61/70] cpufreq: interactive: restructure CPUFREQ_GOV_LIMITS

2015-10-27 Thread Bálint Czobor
for long duration. The patch removes the need of cancelling the timers when policy->min is changed. Signed-off-by: Badhri Jagan Sridharan Change-Id: Ibd98d151e1c73b8bd969484583ff98ee9f1135ef Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |

[PATCH 67/70] cpufreq: interactive: Put global cpufreq kobject on failure

2015-10-27 Thread Bálint Czobor
From: Junjie Wu Fix failure recovery path in cpufreq_governor_interactive(). Call cpufreq_put_global_kobject() to release cpufreq global kobject upon governor init failure. Change-Id: I7a977070b7a3c75c90acccd2c117064ed1a10d0e Signed-off-by: Junjie Wu Signed-off-by: Bálint Czobor --- drivers

[PATCH 69/70] cpufreq: interactive: Don't set floor_validate_time during boost

2015-10-27 Thread Bálint Czobor
inconsistent since it depends on min_sample_time. Avoid setting floor_freq and floor_validate_time when boost starts. Change-Id: I12852998af46cfbfaf8661eb5e8d5301b6f631e7 Signed-off-by: Junjie Wu Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |8 1 file changed, 8

[PATCH 70/70] cpufreq: interactive: Round up timer_rate to match jiffy

2015-10-27 Thread Bálint Czobor
From: Junjie Wu Timers are scheduled in unit of jiffies. Round up timer_rate so that it matches the actual sampling period. Change-Id: I88386a5a448e40333f9a9b9f0cf72af58cb54656 Signed-off-by: Junjie Wu Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 10

[PATCH 66/70] cpufreq: interactive: Fix compile errors in accordance with changes from 3.14 to 3.18

2015-10-27 Thread Bálint Czobor
Signed-off-by: Ruchi Kandoi Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index a0a7c3a..9faa189 100644

[PATCH 68/70] subsystem: CPU FREQUENCY DRIVERS- Set cpu_load calculation on current frequency

2015-10-27 Thread Bálint Czobor
cur; Change-Id: I89db6b68e9f82aa52077f6bf7d819dab74265790 Signed-off-by: rahul.khandelwal Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index 2055266.

[PATCH 64/70] cpufreq: interactive: prevents the frequency to directly raise above the hispeed_freq from a lower frequency.

2015-10-27 Thread Bálint Czobor
to raise higher than that. Added a check to prevent the frequency to be directly raised to something higher than the hispeed_freq. Change-Id: Icda5d848dd9beadcc18835082ddf269732c75bd0 Signed-off-by: Ruchi Kandoi Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |3 +++ 1

[PATCH 60/70] cpufreq: interactive: hold reference on global cpufreq kobject if needed

2015-10-27 Thread Bálint Czobor
() returns false). Otherwise a parentless kobject will be passed to sysfs_create_group() which will subsequently BUG(). Change-Id: I7dd03956e1d3c6c3c0cc17c799882c235804ae09 Signed-off-by: Greg Hackmann Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |8 +++- 1

[PATCH 57/70] cpufreq: interactive: fix compiling warnings

2015-10-27 Thread Bálint Czobor
. Just discarding the result of sprintf(...) leads to the result that the committer of cf0fad49d17cb8273ce555dd5b7afab67d7923bf wants. Change-Id: Ifed1cef6d6a31c3ed23dad03a567b3b9eddf3a57 Signed-off-by: Chih-Wei Huang Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |4

[PATCH 55/70] cpufreq: Interactive: Implement per policy instances of governor

2015-10-27 Thread Bálint Czobor
: I70436d4a5a45c6cb6edf37f3e46d0b9fbc930982 [toddpoy...@google.com: merge with later code, minor changes] Signed-off-by: Viresh Kumar Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 629 - 1 file changed, 383 insertions(+), 246 deletions(-) diff --git

[PATCH 29/70] cpufreq: interactive: allow arbitrary speed / target load mappings

2015-10-27 Thread Bálint Czobor
ch load 99% is targeted. Attempt to avoid oscillations by evaluating the current speed weighted by current load against each new choice of speed, choosing a higher speed if the current load requires a higher speed. Change-Id: Ie3300206047c84eca5a26b0b63ea512e5207550e Signed-off-by: Todd Poynor Signed-off-

[PATCH 24/70] cpufreq: interactive: use deferrable timer by default

2015-10-27 Thread Bálint Czobor
=1. Change-Id: Id6c43eb35caecf9b0574fcdd5b769711bc7e6de6 Signed-off-by: LianWei WANG Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/cpufreq

[PATCH 32/70] cpufreq: interactive: specify duration of CPU speed boost pulse

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Sysfs attribute boostpulse_duration specifies the duration of boosting CPU speed in response to bootpulse events. Duration is specified in usecs, default 80ms. Change-Id: Ifd41625574891a44f1787a4e85d1e7b4f2afb52b Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor

[PATCH 20/70] cpufreq: interactive: remove input_boost handling

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Now handled in userspace Power HAL instead. Change-Id: I78a4a2fd471308bfcd785bbefcc65fede27314cf Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 146 - 1 file changed, 146 deletions

[PATCH 17/70] cpufreq: interactive: take idle notifications only when active

2015-10-27 Thread Bálint Czobor
From: Sam Leffler Register an idle notifier only when the governor is active. Also short-circuit work of idle end if the governor is not enabled. Signed-off-by: Sam Leffler Change-Id: I4cae36dd2e7389540d337d74745ffbaa0131870f Signed-off-by: Bálint Czobor --- drivers/cpufreq

[PATCH 22/70] cpufreq: interactive: run at fraction of hispeed_freq when load is low

2015-10-27 Thread Bálint Czobor
Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index f85fbbd..16bd23b 100644 --- a/drivers/cpufreq

[PATCH 27/70] cpufreq: interactive: change speed according to current speed and target load

2015-10-27 Thread Bálint Czobor
(fraction). cpufreq_frequency_table_target() call use CPUFREQ_RELATION_L to set the next higher speed rather than next lower speed. Change-Id: If432451da82f5fed12e15c9421d7d27792376150 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 35

[PATCH 39/70] cpufreq: interactive: don't handle transition notification if not enabled

2015-10-27 Thread Bálint Czobor
-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/drivers/cpufreq/cpufreq_interactive.c index c8358a3..51c34bf 100644 --- a/drivers/cpufreq/cpufreq_interactive.c +++ b

[PATCH 10/70] cpufreq: interactive: Boost frequency on touchscreen input

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Based on previous patches by Tero Kristo , Brian Steuer , David Ng , Antti P Miettinen , and Thomas Renninger Change-Id: Ic55fedcf6f9310f43a7022fb88e23b0392122769 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- Documentation/cpu-freq/governors.txt |3

[PATCH 02/70] cpufreq interactive governor: event tracing

2015-10-27 Thread Bálint Czobor
From: Todd Poynor Change-Id: Ic13614a3da2faa2d4bd215ca3eb7191614f0cf66 Signed-off-by: Todd Poynor Signed-off-by: Bálint Czobor --- drivers/cpufreq/cpufreq_interactive.c | 19 +- include/trace/events/cpufreq_interactive.h | 87 2 files changed, 105

[PATCH 01/70] cpufreq: interactive: New 'interactive' governor

2015-10-27 Thread Bálint Czobor
/interactive/go_maxspeed_load The CPU load at which to ramp to max speed. Default is 85. Change-Id: Ib2b362607c62f7c56d35f44a9ef3280f98c17585 Signed-off-by: Mike Chan Signed-off-by: Todd Poynor Bug: 3152864 Signed-off-by: Bálint Czobor --- Documentation/cpu-freq/governors.txt | 37

[PATCH 2/3] mmc: sd: When resuming, try a little harder to init the card

2015-10-27 Thread Bálint Czobor
From: San Mehat Signed-off-by: San Mehat Signed-off-by: Bálint Czobor --- drivers/mmc/core/sd.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index dcbbd33..359facd 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc

[PATCH 3/3] mmc: sd: Add retries in re-detection

2015-10-27 Thread Bálint Czobor
From: San Mehat Signed-off-by: San Mehat mmc: sd: Remove debugging printk Signed-off-by: Dima Zavin Signed-off-by: Bálint Czobor --- drivers/mmc/core/sd.c | 42 +- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/core/sd.c

[PATCH 1/3] mmc: sd: Add new CONFIG_MMC_PARANOID_SD_INIT for enabling retries during SD detection

2015-10-27 Thread Bálint Czobor
From: San Mehat Signed-off-by: San Mehat Signed-off-by: Bálint Czobor --- drivers/mmc/core/Kconfig |8 drivers/mmc/core/sd.c| 22 ++ 2 files changed, 30 insertions(+) diff --git a/drivers/mmc/core/Kconfig b/drivers/mmc/core/Kconfig index 9ebee72

[PATCH 3/3] input: misc: keychord: move header to uapi

2015-10-27 Thread Bálint Czobor
From: Colin Cross Move the entire contents of linux/keychord.h header to uapi, it only contains a userspace interface. Change-Id: If94f83328b19efb58c66391dce3bd8e927788d8d Signed-off-by: Colin Cross Signed-off-by: Bálint Czobor --- include/linux/keychord.h | 31

[PATCH 1/3] input: keychord: Add keychord driver

2015-10-27 Thread Bálint Czobor
ID for the keychord is returned from read() when a keychord press is detected. Signed-off-by: Mike Lockwood keychord: fix to build without CONFIG_PREEMPT Change-Id: I911f13aeda4224b6fa57863bc7e8972fec8837fb Signed-off-by: Bálint Czobor --- drivers/input/misc/Kconfig| 11 ++ drivers

[PATCH 2/3] input: misc: keychord: log when keychord triggered

2015-10-27 Thread Bálint Czobor
From: JP Abgrall log keychord id at info level just before waking up processes. Signed-off-by: JP Abgrall Signed-off-by: Bálint Czobor --- drivers/input/misc/keychord.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/input/misc/keychord.c b/drivers/input

[PATCH 3/3] input: Made keyreset more robust

2015-10-27 Thread Bálint Czobor
From: Daniel Rosenberg Switched do_restart to run in a seperate workqueue to handle cases where kernel_restart hangs. Signed-off-by: Daniel Rosenberg Signed-off-by: Bálint Czobor --- drivers/input/keyreset.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH 1/3] input: Add keyreset driver.

2015-10-27 Thread Bálint Czobor
for this to work. Signed-off-by: Arve Hjønnevåg Signed-off-by: Bálint Czobor --- drivers/input/Kconfig|9 ++ drivers/input/Makefile |1 + drivers/input/keyreset.c | 239 ++ include/linux/keyreset.h | 28 ++ 4 files changed, 277 insertions

[PATCH 2/3] input: Changed keyreset to act as a wrapper for keycombo.

2015-10-27 Thread Bálint Czobor
From: Daniel Rosenberg keyreset now registers a keycombo driver that acts as the old keyreset driver acted. Signed-off-by: Daniel Rosenberg Signed-off-by: Bálint Czobor --- drivers/input/Kconfig|1 + drivers/input/keyreset.c | 206

[PATCH 1/3] input: keychord: Add keychord driver

2015-10-27 Thread Bálint Czobor
ychord for notifications. A client specified ID for the keychord is returned from read() when a keychord press is detected. Signed-off-by: Mike Lockwood <lockw...@android.com> keychord: fix to build without CONFIG_PREEMPT Change-Id: I911f13aeda4224b6fa57863bc7e8972fec8837fb Signed-off-by: Bálint Czobo

[PATCH 2/3] input: misc: keychord: log when keychord triggered

2015-10-27 Thread Bálint Czobor
From: JP Abgrall <j...@google.com> log keychord id at info level just before waking up processes. Signed-off-by: JP Abgrall <j...@google.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/input/misc/keychord.c |6 +- 1 file changed, 5 inserti

[PATCH 2/3] mmc: sd: When resuming, try a little harder to init the card

2015-10-27 Thread Bálint Czobor
From: San Mehat <s...@android.com> Signed-off-by: San Mehat <s...@android.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/mmc/core/sd.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/

[PATCH 3/3] mmc: sd: Add retries in re-detection

2015-10-27 Thread Bálint Czobor
From: San Mehat <s...@android.com> Signed-off-by: San Mehat <s...@android.com> mmc: sd: Remove debugging printk Signed-off-by: Dima Zavin <d...@android.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/mmc/core/sd.c | 42 ++

[PATCH 2/3] input: Changed keyreset to act as a wrapper for keycombo.

2015-10-27 Thread Bálint Czobor
From: Daniel Rosenberg <dro...@google.com> keyreset now registers a keycombo driver that acts as the old keyreset driver acted. Signed-off-by: Daniel Rosenberg <dro...@google.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/input/Kconfig|

[PATCH 1/3] input: Add keyreset driver.

2015-10-27 Thread Bálint Czobor
panic should be set for this to work. Signed-off-by: Arve Hjønnevåg <a...@android.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/input/Kconfig|9 ++ drivers/input/Makefile |1 + drivers/input/keyreset.c | 239 +

[PATCH 3/3] input: Made keyreset more robust

2015-10-27 Thread Bálint Czobor
From: Daniel Rosenberg <dro...@google.com> Switched do_restart to run in a seperate workqueue to handle cases where kernel_restart hangs. Signed-off-by: Daniel Rosenberg <dro...@google.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/input/keyreset.c |

[PATCH 3/3] input: misc: keychord: move header to uapi

2015-10-27 Thread Bálint Czobor
From: Colin Cross <ccr...@android.com> Move the entire contents of linux/keychord.h header to uapi, it only contains a userspace interface. Change-Id: If94f83328b19efb58c66391dce3bd8e927788d8d Signed-off-by: Colin Cross <ccr...@android.com> Signed-off-by: Bálint Czobor <czoborb

[PATCH 1/3] mmc: sd: Add new CONFIG_MMC_PARANOID_SD_INIT for enabling retries during SD detection

2015-10-27 Thread Bálint Czobor
From: San Mehat <s...@google.com> Signed-off-by: San Mehat <s...@google.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/mmc/core/Kconfig |8 drivers/mmc/core/sd.c| 22 ++ 2 files changed, 30 insertions(+) diff -

[PATCH 64/70] cpufreq: interactive: prevents the frequency to directly raise above the hispeed_freq from a lower frequency.

2015-10-27 Thread Bálint Czobor
_delay and then be allowed to raise higher than that. Added a check to prevent the frequency to be directly raised to something higher than the hispeed_freq. Change-Id: Icda5d848dd9beadcc18835082ddf269732c75bd0 Signed-off-by: Ruchi Kandoi <kandoiru...@google.com> Signed-off-by: Bálint Czobo

[PATCH 66/70] cpufreq: interactive: Fix compile errors in accordance with changes from 3.14 to 3.18

2015-10-27 Thread Bálint Czobor
Signed-off-by: Ruchi Kandoi<kandoiru...@google.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/cpufreq/cpufreq_interactive.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c b/dri

[PATCH 60/70] cpufreq: interactive: hold reference on global cpufreq kobject if needed

2015-10-27 Thread Bálint Czobor
where have_governor_per_policy() returns false). Otherwise a parentless kobject will be passed to sysfs_create_group() which will subsequently BUG(). Change-Id: I7dd03956e1d3c6c3c0cc17c799882c235804ae09 Signed-off-by: Greg Hackmann <ghackm...@google.com> Signed-off-by: Bálint Czobo

[PATCH 68/70] subsystem: CPU FREQUENCY DRIVERS- Set cpu_load calculation on current frequency

2015-10-27 Thread Bálint Czobor
cur; Change-Id: I89db6b68e9f82aa52077f6bf7d819dab74265790 Signed-off-by: rahul.khandelwal <rahul.khandel...@spreadtrum.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/cpufreq/cpufreq_interactive.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/cpufr

[PATCH 50/70] cpufreq: interactive: fix race on cpufreq TRANSITION notifier

2015-10-27 Thread Bálint Czobor
nge-Id: Ie0f1718124f61e2f9b5da57abc6981ada5b83908 Signed-off-by: Lianwei Wang <a22...@motorola.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/cpufreq/cpufreq_interactive.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/cpufreq/cpufreq_interactive.c

[PATCH 49/70] cpufreq: interactive: avoid underflow on active time calculation

2015-10-27 Thread Bálint Czobor
From: Minsung Kim <ms925@samsung.com> Check for idle time delta less than elapsed time delta, avoid underflow computing active time. Change-Id: I3e4c6ef1ad794eec49ed379c0c50fa727fd6ad28 Signed-off-by: Minsung Kim <ms925@samsung.com> Signed-off-by: Bálint Czobor <czoborb

[PATCH 48/70] cpufreq: interactive: reduce chance of zero time delta on load eval

2015-10-27 Thread Bálint Czobor
0dbc10 Signed-off-by: Todd Poynor <toddpoy...@google.com> Signed-off-by: Bálint Czobor <czoborbal...@gmail.com> --- drivers/cpufreq/cpufreq_interactive.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/drivers/cpufreq/cpufreq_interactive.c

[PATCH 43/70] cpufreq: interactive: add io_is_busy interface

2015-10-27 Thread Bálint Czobor
erface. By default, io_is_busy is disabled. [toddpoy...@google.com: minor updates] Change-Id: If7d70ff864c43bc9c8d7fd7cfc66f930d339f9b4 Signed-off-by: Lianwei Wang <lian-wei.w...@motorola.com> Signed-off-by: Todd Poynor <toddpoy...@google.com> Signed-off-by: Bálint Czobor <czoborbal...@gm

  1   2   >