[PATCHv2] ixgbe: Wait for 1ms, not 1us, after RST

2015-10-27 Thread Dan Streetman
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)

Re: [PATCH] ASoC: sun4i-codec: use consistent names for PA controls

2015-10-27 Thread Maxime Ripard
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

Re: [PATCH 05/15] serial/m32r_sio: Deinline wait_for_xmitr, save 165 bytes

2015-10-27 Thread Peter Hurley
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

Re: [PATCH] memcg: Fix thresholds for 32b architectures.

2015-10-27 Thread Michal Hocko
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:

RE: [PATCH] arm64: dts: Added syscon-reboot node for FSL's LS2085A SoC

2015-10-27 Thread Stuart Yoder
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

Re: [PATCH 04/15] serial/fsl_lpuart: Deinline lpuart_transmit_buffer, save 176 bytes

2015-10-27 Thread Peter Hurley
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

Re: [PATCH 01/15] cyclades: Deinline cyz_is_loaded, save 240 bytes

2015-10-27 Thread Peter Hurley
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

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-27 Thread Joe Perches
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

Re: [PATCH v2 17/17] scsi: ufs-qcom: fix compilation warnings

2015-10-27 Thread ygardi
> 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:

Re: [PATCH] IB/sa: replace GFP_KERNEL with GFP_ATOMIC

2015-10-27 Thread ira.weiny
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 > > >

Re: [PATCH 02/15] isicom: Deinline drop_dtr, save 112 bytes

2015-10-27 Thread Peter Hurley
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

Re: [PATCH] IB/sa: replace GFP_KERNEL with GFP_ATOMIC

2015-10-27 Thread Jason Gunthorpe
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 > >

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-27 Thread Lee Jones
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

Re: [PATCH 00/15] drivers/tty/: Deinline smaller/less used functions

2015-10-27 Thread Peter Hurley
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

Re: [PATCH] mutex: make mutex_lock_nested an inline function

2015-10-27 Thread Ingo Molnar
* 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

Re: [PATCH] IB/sa: replace GFP_KERNEL with GFP_ATOMIC

2015-10-27 Thread ira.weiny
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,

Re: [PATCH v6.2 1/1] Input: Add userio module

2015-10-27 Thread Lyude
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

Re: [PATCH v3 00/24] arm64: Consolidate CPU feature handling

2015-10-27 Thread Suzuki K. Poulose
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

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-27 Thread Lee Jones
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

Re: [PATCH 03/15] tty: Deinline n_tty_receive_char_inline, save 224 bytes

2015-10-27 Thread Peter Hurley
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

Re: [PATCH] namei: permit linking with CAP_FOWNER in userns

2015-10-27 Thread Dirk Steinmetz
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.

[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

[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

Re: [PATCH v4 0/6] ARM: sunxi: Introduce Allwinner H3 support

2015-10-27 Thread Jean-Francois Moine
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

RE: [V5, 2/6] fsl/fman: Add FMan support

2015-10-27 Thread Liberman Igal
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:

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

2015-10-27 Thread Bálint Czobor
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:

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

2015-10-27 Thread Bálint Czobor
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.

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

2015-10-27 Thread Bálint Czobor
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

[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

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

2015-10-27 Thread Bálint Czobor
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

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

2015-10-27 Thread Bálint Czobor
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:

[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

[PATCH v3] EDAC: Add ARM64 EDAC

2015-10-27 Thread Brijesh Singh
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:

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

2015-10-27 Thread Bálint Czobor
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

[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

[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 +++-

[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
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

[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

Re: [PATCH] ixgbe: Wait for 1ms, not 1us, after RST

2015-10-27 Thread Peter Hurley
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 > --- >

[linux-review:Neil-Armstrong/net-dsa-cleanup-dsa-driver/20151028-003842] 943beed83806cdd6149e6cf69db108f4c0b6fe31 BUILD DONE

2015-10-27 Thread kbuild test robot
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

[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 +++---

Re: [PATCH v2 01/20] staging: rtl8188eu: sizeof/sizeof replaced by ARRAY_SIZE kernel macro

2015-10-27 Thread Albino B Neto
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

Re: [PATCH 1/5] mtd: ofpart: grab device tree node directly from master device node

2015-10-27 Thread Brian Norris
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 > >

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-27 Thread Grygorii Strashko
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

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

2015-10-27 Thread Bálint Czobor
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

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-27 Thread Joe Perches
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 > >

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

2015-10-27 Thread Bálint Czobor
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

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

2015-10-27 Thread Bálint Czobor
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

Re: [PATCH] ixgbe: Wait for 1ms, not 1us, after RST

2015-10-27 Thread Dan Streetman
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,

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

2015-10-27 Thread Bálint Czobor
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:

Re: [PATCHv2] arm: perf: Add event descriptions

2015-10-27 Thread Will Deacon
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

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

2015-10-27 Thread Bálint Czobor
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

Re: [PATCH] oom_kill: add option to disable dump_stack()

2015-10-27 Thread Aristeu Rozanski
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

[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

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

2015-10-27 Thread Bálint Czobor
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

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

2015-10-27 Thread Bálint Czobor
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

[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 ---

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

2015-10-27 Thread 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

[PATCH 02/15] isicom: Deinline drop_dtr, save 112 bytes

2015-10-27 Thread Denys Vlasenko
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

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-27 Thread Joe Perches
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. > >

[PATCH 07/15] serial/msm_serial: Deinline wait_for_xmitr, save 165 bytes

2015-10-27 Thread Denys Vlasenko
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

[PATCH 03/15] tty: Deinline n_tty_receive_char_inline, save 224 bytes

2015-10-27 Thread Denys Vlasenko
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

[PATCH 04/15] serial/fsl_lpuart: Deinline lpuart_transmit_buffer, save 176 bytes

2015-10-27 Thread Denys Vlasenko
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

[PATCH 09/15] serial/pxa: Deinline wait_for_xmitr, save 165 bytes

2015-10-27 Thread Denys Vlasenko
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

[PATCH 08/15] serial/omap-serial: Deinline wait_for_xmitr, save 165 bytes

2015-10-27 Thread Denys Vlasenko
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

[PATCH 05/15] serial/m32r_sio: Deinline wait_for_xmitr, save 165 bytes

2015-10-27 Thread Denys Vlasenko
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

[PATCH 01/15] cyclades: Deinline cyz_is_loaded, save 240 bytes

2015-10-27 Thread Denys Vlasenko
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

[PATCH 06/15] serial/men_z135_uart: Deinline men_z135_reg_clr, save 176 bytes

2015-10-27 Thread Denys Vlasenko
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

[PATCH 00/15] drivers/tty/: Deinline smaller/less used functions

2015-10-27 Thread Denys Vlasenko
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

[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
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:

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

2015-10-27 Thread Bálint Czobor
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

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

2015-10-27 Thread Bálint Czobor
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

[RFC v3 1/7] PM / Domains: prepare for devices that might register a power state

2015-10-27 Thread Marc Titinger
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

[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
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

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

2015-10-27 Thread Bálint Czobor
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

[RFC v3 2/7] PM / Domains: support idle-states as genpd multiple-state.

2015-10-27 Thread Marc Titinger
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

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

2015-10-27 Thread Bálint Czobor
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:

[RFC v3 0/7] Managing cluser-level idle-states with generic power domains

2015-10-27 Thread Marc Titinger
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

[RFC v3 3/7] arm64: dts: Add idle-states for Juno

2015-10-27 Thread Marc Titinger
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 ---

[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

[RFC v3 5/7] drivers: cpu-pd: allow calling of_cpu_pd_init from platform code.

2015-10-27 Thread Marc Titinger
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 |

[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

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

2015-10-27 Thread Bálint Czobor
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:

[RFC v3 7/7] arm64: Juno: declare idle-state cluster-sleep-0 as genpd state

2015-10-27 Thread Marc Titinger
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

[RFC v3 4/7] arm64: Juno: declare generic power domains for both clusters.

2015-10-27 Thread Marc Titinger
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 ---

Re: [PATCH V3 RESEND 3/3] Add iommu node for hi6220 SoC platform

2015-10-27 Thread kbuild test robot
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

Re: [GIT PULL] EFI changes for v4.4

2015-10-27 Thread Ingo Molnar
* 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

[RFC v3 6/7] arm64: PM /Domains: Initialize CPU-domains from DT.

2015-10-27 Thread Marc Titinger
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

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

2015-10-27 Thread Bálint Czobor
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

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

2015-10-27 Thread Bálint Czobor
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:

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

2015-10-27 Thread Bálint Czobor
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

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

2015-10-27 Thread Bálint Czobor
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

[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 ---

[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

<    2   3   4   5   6   7   8   9   10   11   >