The driver currently waits 1us after issuing a RST, but the spec
requires it to wait 1ms. This adds a msleep(1) before polling the
reset bit.
Signed-off-by: Dan Streetman
Signed-off-by: Dan Streetman
---
changes since v1:
use msleep(1) instead of mdelay(1), per Peter Hurley
move msleep(1)
Hi,
On Sat, Oct 24, 2015 at 01:11:52PM +0100, Adam Sampson wrote:
> The power amplifier for the headphone output is called "the PA" and "the
> headphone amplifier" in Allwinner's documentation for the A10 and A20.
> sun4i-codec calls it "PA" in some places and "Pre-Amplifier" (which
> isn't
On 10/27/2015 01:46 PM, Denys Vlasenko wrote:
> This function compiles to 141 bytes of machine code.
Reviewed-by: Peter Hurley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at
On Tue 27-10-15 09:23:31, Johannes Weiner wrote:
[...]
> > Fixes: 424cdc141380 ("memcg: convert threshold to bytes")
> > Fixes: 3e32cb2e0a12 ("mm: memcontrol: lockless page counters")
> > CC: sta...@vger.kernel.org
> > Reported-by: Ben Hutchings
> > Signed-off-by: Michal Hocko
>
> Acked-by:
I think that comment "Currently supported enable-method is psci v0.2" is a
statement of
intent, not what is available currently. And the only plan I am aware of is
PSCI
with UEFI based firmware.
U-boot is a key firmware platform for us and has no PSCI implementation
available.
So, we need
On 10/27/2015 01:46 PM, Denys Vlasenko wrote:
> This function compiles to 172 bytes of machine code.
>
> Signed-off-by: Denys Vlasenko
> CC: Greg Kroah-Hartman
> CC: Peter Hurley
> CC: Jiri Slaby
> CC: linux-ser...@vger.kernel.org
> ---
> drivers/tty/serial/fsl_lpuart.c | 2 +-
> 1 file
On 10/27/2015 01:46 PM, Denys Vlasenko wrote:
> This function compiles to 58 bytes of machine code.
Reviewed-by: Peter Hurley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at
On Tue, 2015-10-27 at 10:49 -0700, Joe Perches wrote:
> On Tue, 2015-10-27 at 11:29 +0100, Wolfram Sang wrote:
> > > act as reviewers, they should have a mention in MAINTAINERS for
> > > get_maintiner.pl to pull information from:
> > >
> > > R: Designated reviewer: FullName
> > >These
> On 10/27/2015 03:10 AM, yga...@codeaurora.org wrote:
>>> On 10/26/2015 08:41 AM, Yaniv Gardi wrote:
Tnis patch fixes the following compilation warnings:
...ufs-qcom.c:1201:40:
warning: incorrect type in argument 1 (different address spaces)
...ufs-qcom.c:1201:40:
On Tue, Oct 27, 2015 at 12:16:52PM -0600, Jason Gunthorpe wrote:
> On Tue, Oct 27, 2015 at 02:12:36PM -0400, ira.weiny wrote:
> > On Tue, Oct 27, 2015 at 09:17:40PM +0530, Saurabh Sengar wrote:
> > > replace GFP_KERNEL with GFP_ATOMIC, as code while holding a spinlock
> > > should be atomic
> > >
On 10/27/2015 01:46 PM, Denys Vlasenko wrote:
> This function compiles to 181 bytes of machine code.
Reviewed-by: Peter Hurley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at
On Tue, Oct 27, 2015 at 02:12:36PM -0400, ira.weiny wrote:
> On Tue, Oct 27, 2015 at 09:17:40PM +0530, Saurabh Sengar wrote:
> > replace GFP_KERNEL with GFP_ATOMIC, as code while holding a spinlock
> > should be atomic
> > GFP_KERNEL may sleep and can cause deadlock, where as GFP_ATOMIC may
> >
On Tue, 27 Oct 2015, Sebastian Reichel wrote:
> On Tue, Oct 27, 2015 at 03:42:37PM +, Lee Jones wrote:
> > Since eafbaac ("MAINTAINERS: Add "R:" designated-reviewers tag") we
> > have been able to tag specific people as Reviewers. These are key
> > individuals who are tasked with or volunteer
Hi Denys,
On 10/27/2015 01:46 PM, Denys Vlasenko wrote:
> For Peter's review.
> (Pater, I removed a few patches which looked most problematic)
I'd take 'Deinline finish_erasing, save 112 bytes' as well.
Regards,
Peter Hurley
> Denys Vlasenko (15):
> cyclades: Deinline cyz_is_loaded, save 240
* Russell King - ARM Linux wrote:
> On Thu, Oct 22, 2015 at 05:09:59PM +0200, Peter Zijlstra wrote:
> > Hmm, I was sure I send a reply, but I cannot even find it in my own sent
> > folder so who knows.
> >
> > My current preference is to keep the thing a macro and work around it in
> > the
On Tue, Oct 27, 2015 at 09:17:40PM +0530, Saurabh Sengar wrote:
> replace GFP_KERNEL with GFP_ATOMIC, as code while holding a spinlock
> should be atomic
> GFP_KERNEL may sleep and can cause deadlock, where as GFP_ATOMIC may
> fail but certainly avoids deadlock
Great catch. Thanks!
However,
Gotcha, tested it and took a look at the changes, looks good to me.
On Mon, 2015-10-26 at 16:26 -0700, Dmitry Torokhov wrote:
> Hi,
>
> On Mon, Oct 26, 2015 at 09:51:57AM -0400, Lyude wrote:
> > Hi! So, I'm guessing you want me to merge this with the patch I've got
> > right now and post the new
On 25/10/15 08:06, Siddhesh Poyarekar wrote:
On Tuesday 13 October 2015 10:52 PM, Suzuki K. Poulose wrote:
Apart from the selected feature registers, we expose MIDR_EL1 (Main
ID Register). The user should be aware that, reading MIDR_EL1 can be
tricky on a heterogeneous system (just like
On Tue, 27 Oct 2015, Joe Perches wrote:
> On Tue, 2015-10-27 at 08:21 +, Lee Jones wrote:
> > On Mon, 26 Oct 2015, j...@perches.com wrote:
> > > On 2015-10-26 19:47, Theodore Ts'o wrote:
> > > >What if we have a git_fallback "auto" mode which only falls back to
> > > >using git if there is no
On 10/27/2015 01:46 PM, Denys Vlasenko wrote:
> This function compiles to 198 bytes of machine code.
>
> Signed-off-by: Denys Vlasenko
> CC: Greg Kroah-Hartman
> CC: Peter Hurley
> CC: Jiri Slaby
> CC: linux-ser...@vger.kernel.org
> ---
> drivers/tty/n_tty.c | 2 +-
> 1 file changed, 1
On Tue, 27 Oct 2015 09:33:44 -0500, Seth Forshee wrote:
> On Tue, Oct 20, 2015 at 04:09:19PM +0200, Dirk Steinmetz wrote:
> > Attempting to hardlink to an unsafe file (e.g. a setuid binary) from
> > within an unprivileged user namespace fails, even if CAP_FOWNER is held
> > within the namespace.
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
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
On Tue, 27 Oct 2015 17:50:20 +0100
Jens Kuske wrote:
> Changes since v3:
> - add a clock driver specific to the bus gates instead of listing parents in
> the DTSI
> - skip the holes in the reset controller with of_xlate()
Hi, Maxime, there we are :(. The H3 description is hardcoded and the
Regards,
Igal Liberman
> -Original Message-
> From: Wood Scott-B07421
> Sent: Saturday, September 26, 2015 2:02 AM
> To: Liberman Igal-B31950
> Cc: net...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; linux-
> ker...@vger.kernel.org; Bucur Madalin-Cristian-B32716
>
> Subject: Re:
From: Todd Poynor
If load is above go_hispeed_load, always go to at least hispeed_freq,
even when reducing speed from a higher speed, not just when jumping
up from minimum speed. Avoids running at a lower than intended
speed after a burst of even higher load.
Change-Id:
From: Todd Poynor
Allow speed drop after min_sample_time elapses from last time
the current speed was last re-validated as appropriate for
current load / input boost.
Allow speed bump after min_sample_time (or above_hispeed_delay)
elapses from the time the current speed was originally set.
From: Todd Poynor
For systems that set a common speed for all CPUs, checking current
speed here could bypass the intermediate hispeed bump decision for
this CPU when another CPU was already at hispeed. This could
result in an overly high setting (for all CPUs) in situations
where all CPUs were
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
From: Todd Poynor
Evaluate spikes in load (below go_hispeed_load) against the maximum
speed supported by the device, not the current speed (which tends to
make it too difficult to raise speed to intermediate levels until
very busy).
Change-Id: Ib937006abf8bedb60891a739acd733e89b732ae0
From: Todd Poynor
Apply min_sample_time to the last time the current target speed
was originally requested or re-validated as appropriate for the
current load, not to the time since the current speed was
originally set. Avoids periodic dips in speed during bursty
loads.
Change-Id:
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
Add support for Cortex A57 and A53 EDAC driver.
Signed-off-by: Brijesh Singh
CC: robh...@kernel.org
CC: pawel.m...@arm.com
CC: mark.rutl...@arm.com
CC: ijc+devicet...@hellion.org.uk
CC: ga...@codeaurora.org
CC: dougthomp...@xmission.com
CC: b...@alien8.de
CC: mche...@osg.samsung.com
CC:
From: Sam Leffler
Fix a problem where the hung task mechanism was deeming the interactive
clock boost thread as hung. This was because the thread is created at
module init but never run/woken up until needed. If the governor is not
being used this can be forever. To workaround this explicitly
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
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 +++-
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
From: Todd Poynor
First bump speed up to hispeed_freq whenever the current speed is below
hispeed_freq, instead of only when the current speed is the minimum speed.
The previous code made it too difficult to use hispeed_freq as a common
intermediate speed on systems that frequently run at speeds
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
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
Hi Dan,
On 10/26/2015 08:16 PM, dan.street...@canonical.com wrote:
> From: Dan Streetman
>
> The driver currently waits 1us after issuing a RST, but the spec
> requires it to wait 1ms.
>
> Signed-off-by: Dan Streetman
> Signed-off-by: Dan Streetman
> ---
>
https://github.com/0day-ci/linux
Neil-Armstrong/net-dsa-cleanup-dsa-driver/20151028-003842
943beed83806cdd6149e6cf69db108f4c0b6fe31 net: dsa: make usage of mv88e6xxx
common remove function
drivers/net/dsa/bcm_sf2.c:1077:14: warning: initialization from incompatible
pointer type
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 |
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 +++---
2015-10-27 15:27 GMT-02:00 Ivan Safonov :
> Not tested. Is this transformation can to break the code?
Send email to LKML.
Read: https://www.kernel.org/doc/Documentation/SubmittingPatches
Albino
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a
Hi Boris,
On Tue, Oct 27, 2015 at 08:42:00AM +0100, Boris Brezillon wrote:
> On Mon, 26 Oct 2015 19:31:06 -0700
> Brian Norris wrote:
>
> > It seems more logical to use a device node directly associated with the
> > MTD master device (i.e., mtd->dev.of_node field) rather than requiring
> >
On 10/27/2015 06:23 PM, Linus Walleij wrote:
> On Tue, Oct 27, 2015 at 5:18 PM, Grygorii Strashko
> wrote:
>> On 10/27/2015 05:53 PM, Linus Walleij wrote:
>>>
>>> On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann
>>> wrote:
>>>
The driver uses runtime PM to leverage low power techniques. For
From: Todd Poynor
Add notifier for speed transitions. Keep a count of CPU active
microseconds times current frequency, converted to a percentage relative
to the current frequency when load is evaluated.
Change-Id: I5c27adb11081c50490219784ca57cc46e97fc28c
Signed-off-by: Todd Poynor
On Tue, 2015-10-27 at 08:21 +, Lee Jones wrote:
> On Mon, 26 Oct 2015, j...@perches.com wrote:
> > On 2015-10-26 19:47, Theodore Ts'o wrote:
> > >What if we have a git_fallback "auto" mode which only falls back to
> > >using git if there is no entry in the MAINTAINERS file? That might
> >
From: Todd Poynor
The longer-term load since last speed change isn't terribly useful,
may delay recognition of dropping load, and would need forthcoming
changes to adjust load for changing CPU speeds. Drop it.
Change-Id: Ic3cbb0542cc3484617031787e03ed9bdd632dec1
Signed-off-by: Todd Poynor
From: Todd Poynor
Always use deferrable timer for load sampling.
Set a non-deferrable timer to an additional slack time to allow prior to
waking up from idle to drop speed when not at minimum speed. Slack value
-1 avoids wakeups to drop speed. Default is 80ms.
Remove the governidle module
On Tue, Oct 27, 2015 at 1:03 PM, Skidmore, Donald C
wrote:
>
>
>> -Original Message-
>> From: dan.street...@canonical.com
>> [mailto:dan.street...@canonical.com]
>> Sent: Monday, October 26, 2015 5:16 PM
>> To: Kirsher, Jeffrey T
>> Cc: Brandeburg, Jesse; Nelson, Shannon; Wyborny,
From: Todd Poynor
35a84de cpufreq: interactive: apply above_hispeed_delay to each step above
hispeed
caused the speed choice logic to osciallate between boosting and not boosting.
Add back code to ensure speed does not drop below boost frequency while
boosting.
Change-Id:
On Thu, Oct 22, 2015 at 07:05:58AM -0700, Drew Richardson wrote:
> On Fri, Oct 09, 2015 at 03:13:38AM -0700, Will Deacon wrote:
> > Also, would you be able to do something similar for AArch64 too, please?
> > (take a look at our for-next/core branch for the latest perf changes).
>
> Here are some
From: Todd Poynor
Starting the governor, or restarting on a hotplugged-in CPU, can race
with the timer start in idle, triggering a BUG on timer already pending.
Start the timer before setting the enable flag, and use enable_sem to
protect the sequence (and ensure correct order of the update to
Hi Michal,
On Tue, Oct 27, 2015 at 05:20:47PM +0100, Michal Hocko wrote:
> Yes this is a mess. But I think it is worth cleaning up.
> dump_stack_print_info (arch independent) has a log level parameter.
> show_stack_log_lvl (x86) has a loglevel parameter which is unused.
>
> I haven't checked
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
From: Todd Poynor
When stopping the governor, del_timer_sync() can race against an
invocation of the idle notifier callback, which has the potential
to reactivate the timer.
To fix this issue, a read-write semaphore is used. Multiple readers are
allowed as long as pcpu->governor_enabled is
From: Minsung Kim
Accept a string of delays and speeds at which to apply the delay before
raising each step above hispeed. For example, "8 130:20
150:4" means that the delay at or above 1GHz, until 1.3GHz is 80 msecs,
the delay until 1.5GHz is 200 msecs and the delay at or
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
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
---
From: Lianwei Wang
There is race condition when both two cpu do CPUFREQ_GOV_STOP and one cpu
do CPUFREQ_GOV_START soon. The sysfs_remove_group is not done yet on one
cpu, but sysfs_create_group is called on another cpu, which cause governor
start failed and then kernel panic in timer callback
This function compiles to 181 bytes of machine code.
Signed-off-by: Denys Vlasenko
CC: Greg Kroah-Hartman
CC: Peter Hurley
CC: Jiri Slaby
CC: linux-ser...@vger.kernel.org
---
drivers/tty/isicom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/isicom.c
On Tue, 2015-10-27 at 11:29 +0100, Wolfram Sang wrote:
> > act as reviewers, they should have a mention in MAINTAINERS for
> > get_maintiner.pl to pull information from:
> >
> > R: Designated reviewer: FullName
> >These reviewers should be CCed on patches.
>
> I think this should do.
>
>
This function compiles to 141 bytes of machine code.
Signed-off-by: Denys Vlasenko
CC: Greg Kroah-Hartman
CC: Peter Hurley
CC: Jiri Slaby
CC: linux-ser...@vger.kernel.org
---
drivers/tty/serial/msm_serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
This function compiles to 198 bytes of machine code.
Signed-off-by: Denys Vlasenko
CC: Greg Kroah-Hartman
CC: Peter Hurley
CC: Jiri Slaby
CC: linux-ser...@vger.kernel.org
---
drivers/tty/n_tty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/n_tty.c
This function compiles to 172 bytes of machine code.
Signed-off-by: Denys Vlasenko
CC: Greg Kroah-Hartman
CC: Peter Hurley
CC: Jiri Slaby
CC: linux-ser...@vger.kernel.org
---
drivers/tty/serial/fsl_lpuart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
This function compiles to 141 bytes of machine code.
Signed-off-by: Denys Vlasenko
CC: Greg Kroah-Hartman
CC: Peter Hurley
CC: Jiri Slaby
CC: linux-ser...@vger.kernel.org
---
drivers/tty/serial/pxa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/pxa.c
This function compiles to 141 bytes of machine code.
Signed-off-by: Denys Vlasenko
CC: Greg Kroah-Hartman
CC: Peter Hurley
CC: Jiri Slaby
CC: linux-ser...@vger.kernel.org
---
drivers/tty/serial/omap-serial.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
This function compiles to 141 bytes of machine code.
Signed-off-by: Denys Vlasenko
CC: Greg Kroah-Hartman
CC: Peter Hurley
CC: Jiri Slaby
CC: linux-ser...@vger.kernel.org
---
drivers/tty/serial/m32r_sio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
This function compiles to 58 bytes of machine code.
Signed-off-by: Denys Vlasenko
CC: Greg Kroah-Hartman
CC: Peter Hurley
CC: Jiri Slaby
CC: linux-ser...@vger.kernel.org
---
drivers/tty/cyclades.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/cyclades.c
This function compiles to 98 bytes of machine code.
Signed-off-by: Denys Vlasenko
CC: Greg Kroah-Hartman
CC: Peter Hurley
CC: Jiri Slaby
CC: linux-ser...@vger.kernel.org
---
drivers/tty/serial/men_z135_uart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
For Peter's review.
(Pater, I removed a few patches which looked most problematic)
Denys Vlasenko (15):
cyclades: Deinline cyz_is_loaded, save 240 bytes
isicom: Deinline drop_dtr, save 112 bytes
tty: Deinline n_tty_receive_char_inline, save 224 bytes
serial/fsl_lpuart: Deinline
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
From: Todd Poynor
Add checks for error return from cpufreq_frequency_table_target, and be
less noisy on the existing call with an error check. CPU hotplug and
system shutdown may cause this call to return -EINVAL.
Bug: 8613560
Change-Id: Id78d8829920462c0db1c7e14e717d91740d6cb44
Signed-off-by:
From: Minsung Kim
Add missing spinlock init
Backtrace:
[] (dump_backtrace+0x0/0x10c) from [] (dump_stack+0x18/0x1c)
r6:0032 r5:c0bd09ec r4:e6848000 r3:
[] (dump_stack+0x0/0x1c) from [] (spin_dump+0x80/0x94)
[] (spin_dump+0x0/0x94) from [] (spin_bug+0x2c/0x30)
r5:c08f91fc
From: Lianwei Wang
The cpufreq TRANSTION notifier callback does not check the
governor_enabled state on affected CPUS, which will case
kernel panic in update_load because the policy object maybe
NULL or invalid when governor_enabled is false.
Change-Id: Ie0f1718124f61e2f9b5da57abc6981ada5b83908
From: Marc Titinger
Devices may register an intermediate retention state into the domain
upon attaching. Currently generic domain would register an array of
states upon init. This patch prepares for later insertion (sort per
depth, remove).
Signed-off-by: Marc Titinger
Signed-off-by: Lina Iyer
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
From: Todd Poynor
Reschedule load sampling timer after timestamp of sample start taken,
hold spinlock across entire sequence to avoid preemption. Avoid the
WARN for zero time delta in the load sampling timer function.
Change-Id: Idc10a756f09141decb6df92669521a1ebf0dbc10
Signed-off-by: Todd
From: Lianwei Wang
Previously the idle time returned from get_cpu_idle_time_us included the
iowait time. So the iowait time was always calculated as idle time.
But now the idle time returned from get_cpu_idle_time_us does not include
the iowait time anymore because of below commit which cause
From: Marc Titinger
This patch allows cluster-level idle-states to being soaked in as generic
domain power states, in order for the domain governor to chose the most
efficient power state compatible with the device constraints. Similarly,
devices can register power-states into the cluster
From: Viresh Kumar
Cpufreq no longer calls governor callback for offlined cpus. i.e. All
policy->cpus are guaranteed to be online. Hence we don't need explicit check to
see if cpu is online or not.
Change-Id: I9ad85ea4addd5b4a40952e59ed730dd15e328690
Signed-off-by: Viresh Kumar
Signed-off-by:
Hi Lina,
this is the rebased version of my patches to handle cluster sleep with genpd.
I rebased over your current patches in the linaro git, and Axels v10, and
finally linux-next.
The arm64/Juno stuff is mainly for testing, it may not be 100% up-to-date with
the CPU-pd discussion outcomes, and
From: Jon Medhurst
Signed-off-by: Jon Medhurst
---
arch/arm64/boot/dts/arm/juno.dts | 29 +
1 file changed, 29 insertions(+)
diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts
index 53442b5..b3fcee8 100644
---
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
From: Marc Titinger
re-instate a two step init, first register the CPU-power domains, then
attach the CPUs, because CPU ordering does not match cluster/PD boundaries.
Signed-off-by: Marc Titinger
---
drivers/base/power/cpu-pd.c | 29 -
include/linux/cpu-pd.h |
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
From: Viresh Kumar
Now that a generic version of get_cpu_idle_time() is available, use that for
the interactive governor.
[toddpoy...@google.com: commit text changes]
Change-Id: Ia38b57085aac99ec3d415fe44471d5dfde519c2c
Signed-off-by: Viresh Kumar
Signed-off-by: Jon Medhurst
Signed-off-by:
From: Marc Titinger
Using Juno to exercise the code that prepares for OS-initiated idle-state
handling, using genpd platform callbacks. In opposition to platform-
initiated mode as currently with pcsi/ATF.
Signed-off-by: Marc Titinger
---
arch/arm64/boot/dts/arm/juno.dts | 2 ++
1 file
From: Marc Titinger
Signed-off-by: Marc Titinger
---
arch/arm64/boot/dts/arm/juno.dts | 19 +++
1 file changed, 19 insertions(+)
diff --git a/arch/arm64/boot/dts/arm/juno.dts b/arch/arm64/boot/dts/arm/juno.dts
index b3fcee8..0a72c07 100644
---
Hi Chen,
[auto build test ERROR on iommu/next -- if it's inappropriate base, please
suggest rules for selecting the more suitable base]
url:
https://github.com/0day-ci/linux/commits/Chen-Feng/bindings-for-hisilicon-hi6220-iommu-driver/20151027-152147
config: arm64-allyesconfig (attached
* Matt Fleming wrote:
> Folks, please pull the following bugfix from Sai which prevents a
> kernel panic when booting an EFI machine with CONFIG_DEBUG_VIRTUAL
> enabled.
>
> This bug was reported last year by Dave Hansen,
>
> https://lkml.kernel.org/r/5462999a.7090...@intel.com
>
> and
From: Marc Titinger
Signed-off-by: Marc Titinger
---
arch/arm64/kernel/Makefile | 1 +
arch/arm64/kernel/cpu_domain.c | 19 +++
2 files changed, 20 insertions(+)
create mode 100644 arch/arm64/kernel/cpu_domain.c
diff --git a/arch/arm64/kernel/Makefile
From: Todd Poynor
The deferrable timer list isn't checked on all idle exits, such as when
hi-res timers expire or ISRs schedule workers. If the idle loop is
exited and it's past time to run the governor load polling timer,
run it immediately. This ensures we handle load spikes caused by
From: Viresh Kumar
This moves definition of cpufreq_gov_interactive towards the bottom of file, so
that we don't have to add prototype of cpufreq_governor_interactive() in the
beginning of file.
Change-Id: I04bd1004954eb36502c5cd7e35d3d7274cddaf95
Signed-off-by: Viresh Kumar
Signed-off-by:
From: Minsung Kim
Remove a trailing whitespace from target_loads and above_hispeed_delay. Problem
happens when user-space program tried to restore parameters that saved before
changing parameters. In this case was returned error(EINVAL).
Change-Id: I5a74e3824602cd6f2b74651adda5ec1b627e61e9
From: Todd Poynor
Update default go_hispeed_load from 85% to 99%. Recent changes to the
governor now use a default target_load of 90%. go_hispeed_load should
not be lower than the target load for hispeed_freq, which could lead
to oscillating speed decisions. Other recent changes reduce the
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
---
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
601 - 700 of 2552 matches
Mail list logo