Re: [PATCH v4 3/8] ARM: mediatek: Add basic support for mt8135

2014-11-03 Thread Matthias Brugger
2014-10-22 12:29 GMT+02:00 Joe.C : > From: "Joe.C" > > This adds a basic dtsi for MT8135 based SoC. > > Signed-off-by: Joe.C > --- > arch/arm/boot/dts/mt8135.dtsi | 115 > ++ > arch/arm/mach-mediatek/mediatek.c | 1 + > 2 files changed, 116

Re: [PATCH v3 00/47] kernel: Add support for power-off handler call chain

2014-11-03 Thread Felipe Balbi
Hi, On Mon, Oct 27, 2014 at 08:55:07AM -0700, Guenter Roeck wrote: > Various drivers implement architecture and/or device specific means to > remove power from the system. For the most part, those drivers set the > global variable pm_power_off to point to a function within the driver. > > This

Re: [PATCH v3 16/47] mfd: tps6586x: Register with kernel power-off handler

2014-11-03 Thread Felipe Balbi
On Mon, Oct 27, 2014 at 08:55:23AM -0700, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Cc: Samuel Ortiz > Cc: Lee

Re: [PATCH v4 4/8] ARM: mediatek: add dts for MT8135 evaluation board.

2014-11-03 Thread Matthias Brugger
2014-10-22 12:29 GMT+02:00 Joe.C : > From: "Joe.C" > > Evbp1 is a tablet evaluation board based on MT8135 SoC. > > Signed-off-by: Joe.C > --- > arch/arm/boot/dts/mt8135-evbp1.dts | 24 > 1 file changed, 24 insertions(+) > create mode 100644

Re: [PATCH v3 17/47] mfd: tps65910: Register with kernel power-off handler

2014-11-03 Thread Felipe Balbi
On Mon, Oct 27, 2014 at 08:55:24AM -0700, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Cc: Samuel Ortiz > Cc: Lee

Re: [PATCH v3 11/47] mfd: retu: Register with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Cc: Lee Jones > Cc: Samuel Ortiz > Signed-off-by:

Re: [PATCH v3 18/47] mfd: twl4030-power: Register with kernel power-off handler

2014-11-03 Thread Felipe Balbi
Hi, On Mon, Nov 03, 2014 at 05:54:27PM +, Lee Jones wrote: > On Mon, 27 Oct 2014, Guenter Roeck wrote: > > > Register with kernel power-off handler instead of setting pm_power_off > > directly. Register with low priority to reflect that the original code > > only sets pm_power_off if it was

Re: [PATCH v3 10/47] mfd: axp20x: Register with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with a low priority value of 64 to reflect that > the original code only sets pm_power_off if it was not already set. > > Cc: Lee Jones > Cc: Samuel Ortiz >

Re: [RFC PATCH 1/2] zap_pte_range: update addr when forcing flush after TLB batching faiure

2014-11-03 Thread Will Deacon
On Sat, Nov 01, 2014 at 05:01:30PM +, Linus Torvalds wrote: > On Wed, Oct 29, 2014 at 2:27 PM, Benjamin Herrenschmidt > wrote: > > > > TLB flushing is only me I think, I'll engage my brain after breakfast > > and see if is all good > > Ping? Breakfast is either long over, of you're starting

Re: [PATCH v3 12/47] mfd: ab8500-sysctrl: Register with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > sysctrl_dev is set prior to power-off handler

Re: [PATCH v3 13/47] mfd: max8907: Register with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Note that this patch fixes a problem on driver

Re: [PATCH v3 09/47] mfd: palmas: Register with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Cc: Samuel Ortiz > Cc: Lee Jones > Signed-off-by:

Re: [PATCH v3 14/47] mfd: tps80031: Register with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Cc: Samuel Ortiz > Cc: Lee Jones > Signed-off-by:

Re: [PATCH v4 2/8] ARM: mediatek: add dts for 8127 Moose board

2014-11-03 Thread Matthias Brugger
2014-10-22 12:29 GMT+02:00 Joe.C : > From: "Joe.C" > > Moose is a tablet evalutation board based on MT8127 SoC. > > Signed-off-by: Joe.C > --- > arch/arm/boot/dts/mt8127-moose.dts | 24 > 1 file changed, 24 insertions(+) > create mode 100644

Re: [PATCH v3 15/47] mfd: dm355evm_msp: Register with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Cc: Samuel Ortiz > Cc: Lee Jones > Signed-off-by:

Re: [PATCH v3 18/47] mfd: twl4030-power: Register with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Make twl4030_power_off static as it is only called

Re: [PATCH v3 20/47] mfd: rn5t618: Register power-off handler with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Cc: Beniamino Galvani > Signed-off-by: Guenter

Re: [PATCH v3 17/47] mfd: tps65910: Register with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Cc: Samuel Ortiz > Cc: Lee Jones > Signed-off-by:

[GIT PULL] at91: cleanup for 3.19 #1

2014-11-03 Thread Nicolas Ferre
Arnd, Olof, Kevin, The pull-request that was sent late for 3.18. It was removing the old !MMU at91x40 and 2 board files plus the whole code in at91sam9g45 & at91sam9rl files for implementing this deprecated method. For these particular ones, the EK were the only one to use this code. We can use

Re: [PATCH v3 16/47] mfd: tps6586x: Register with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Cc: Samuel Ortiz > Cc: Lee Jones > Signed-off-by:

Re: [PATCH v3 19/47] mfd: rk808: Register power-off handler with kernel power-off handler

2014-11-03 Thread Lee Jones
On Mon, 27 Oct 2014, Guenter Roeck wrote: > Register with kernel power-off handler instead of setting pm_power_off > directly. Register with low priority to reflect that the original code > only sets pm_power_off if it was not already set. > > Cc: Chris Zhong > Cc: Zhang Qing > Signed-off-by:

Re: [PATCH v4 1/8] ARM: mediatek: Add basic support for mt8127

2014-11-03 Thread Matthias Brugger
2014-10-22 12:29 GMT+02:00 Joe.C : > From: "Joe.C" > > This adds a basic dtsi for MT8127 SoC. > > Signed-off-by: Joe.C > --- > arch/arm/boot/dts/mt8127.dtsi | 93 > +++ > arch/arm/mach-mediatek/mediatek.c | 1 + > 2 files changed, 94 insertions(+) >

Re: [PATCH 2/2] x86, mce, amd: extend mce-inject for support threshold interrupt event injection on AMD platform

2014-11-03 Thread Aravind Gopalakrishnan
On 11/3/2014 11:05 AM, Aravind Gopalakrishnan wrote: There are three ways that have been used to report machine check event. And they are MCE, CMCI/Threshold Interrupt, and POLL. On the Intel platform, CMCI/Threshold Interrupt and POLL share the same event handler - machine_check_poll().

Re: [PATCH v4 8/8] ARM: mediatek: Fix description for mediatek SoCs

2014-11-03 Thread Matthias Brugger
2014-10-31 15:53 GMT+01:00 Matthias Brugger : > Hi Joe, > > 2014-10-31 2:37 GMT+01:00 Yingjoe Chen : >> Hi Matthias, >> >> Is this series + this new 8/8 patch OK? >> Anything else that I should change? >> > > I checked the patches on my mt8135 board and they work for me. So from > my site

Re: [PATCH] CodingStyle: Add a chapter on conditional compilation

2014-11-03 Thread Joe Perches
On Mon, 2014-11-03 at 11:46 -0500, Jonathan Corbet wrote: > On Wed, 29 Oct 2014 11:15:17 -0700 > Josh Triplett wrote: > > > Document several common practices and conventions regarding conditional > > compilation, most notably the preference for ifdefs in headers rather > > than .c files. > >

Re: [PATCH v2] Add ltc3562 voltage regulator driver

2014-11-03 Thread Mike Looijmans
On 3-11-2014 16:10, Mark Brown wrote: On Mon, Nov 03, 2014 at 03:48:56PM +0100, Mike Looijmans wrote: On 11/03/2014 01:09 PM, Mark Brown wrote: No function calls, just use regulators_node. What is unclear about the functionality? I don't understand what you mean by "regulators_node".

Re: [PATCH] clk: Add PWM clock driver

2014-11-03 Thread Janusz Użycki
W dniu 2014-09-27 o 22:01, Mike Turquette pisze: Quoting Thierry Reding (2014-09-23 01:51:31) On Wed, Sep 10, 2014 at 10:05:17PM +0200, Janusz Użycki wrote: Hi, http://patchwork.ozlabs.org/patch/359069/ https://lkml.org/lkml/2014/6/12/186 Will the patch ever included to linux-next? I've

Re: [PATCH] EnhanceIO ssd caching software

2014-11-03 Thread Greg Kroah-Hartman
On Mon, Nov 03, 2014 at 11:11:18AM +0100, Andre' Bauer wrote: > Hi Guys, > > whats the status of the inclusion of this patch? > > Regards > > Andr? Bauer > > Am 15.02.2013 um 07:02 schrieb OS Engineering: Responding to an almost 2 year old email? Heck, I have no idea what happened yesterday,

Re: [PATCH v4 02/58] serial: at91: Use dmaengine_slave_config API

2014-11-03 Thread Nicolas Ferre
On 03/11/2014 13:33, Maxime Ripard : > Hi Nicolas, > > On Mon, Nov 03, 2014 at 12:12:44PM +0100, Nicolas Ferre wrote: >> On 28/10/2014 22:25, Maxime Ripard : >>> We are removing the dmaengine_device_control API, that shouldn't even have >>> been >>> exposed in the first place. Change the callers

Re: [PATCH 05/17] clocksource: time-armada-370-xp: add suspend/resume support

2014-11-03 Thread Gregory CLEMENT
Hi Thomas, On 24/10/2014 13:59, Thomas Petazzoni wrote: > This commit adds a set of suspend/resume syscore_ops to respectively > save and restore a number of timer registers, in order to make sure > the clockevent and clocksource devices continue to work properly > accross a suspend/resume cycle.

Re: [PATCH v2 1/2] ALSA: echoaudio: add reference of struct echoaudio

2014-11-03 Thread Joe Perches
On Mon, 2014-11-03 at 22:22 +0530, Sudip Mukherjee wrote: > On Mon, Nov 03, 2014 at 07:08:08AM -0800, Joe Perches wrote: [] > > ftrace exists and is generic. > > > > Several of these seem to be function tracing > > style uses and should just be deleted instead. > > function tracing style uses

[GIT PULL] at91: dt for 3.19 #1

2014-11-03 Thread Nicolas Ferre
Arnd, Olof, Kevin, Very little DT update for AT91. More will come but I want to send this first batch soon so it doesn't get in the way of larger modifications. Thanks, best regards, The following changes since commit cac7f2429872d3733dc3f9915857b1691da2eb2f: Linux 3.18-rc2 (2014-10-26

Re: s390/net: Deletion of unnecessary checks before two function calls

2014-11-03 Thread SF Markus Elfring
> If you can benchmark the code and the new code is faster then, yes, this > patch is good and we will apply it. I guess that I do not have enough resources myself to measure different run time effects in a S390 environment. > If you have no benchmarks then do not send the patch. Are other

[PATCH] bitops: Fix shift overflow in GENMASK macros

2014-11-03 Thread Maxime COQUELIN
On some 32 bits architectures, including x86, GENMASK(31, 0) returns 0 instead of the expected ~0UL. This is the same on some 64 bits architectures with GENMASK_ULL(63, 0). This is due to an overflow in the shift operand, 1 << 32 for GENMASK, 1 << 64 for GENMASK_ULL. Fixes:

Re: [RFD] perf syscall error handling

2014-11-03 Thread Peter Zijlstra
On Mon, Nov 03, 2014 at 12:12:18PM -0500, Vince Weaver wrote: > I don't know if having an offset/mask helps much. Knowing your EINVAL > comes from ->config is nice to know, but if there's 30 different ways > to get an EINVAL from an improper config then you still can waste a lot > of time

Re: [PATCH 04/17] irqchip: irq-armada-370-xp: suspend/resume support

2014-11-03 Thread Gregory CLEMENT
Hi Thomas, On 24/10/2014 13:59, Thomas Petazzoni wrote: > This commit adds suspend/resume support to the irqchip driver used on > Armada XP platforms (amongst others). It does so by adding a set of > suspend/resume syscore_ops, that will respectively save and restore > the necessary registers to

Re: [PATCH 1/3] fs: add O_BENEATH flag to openat(2)

2014-11-03 Thread David Drysdale
On Mon, Nov 3, 2014 at 3:42 PM, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 7:20 AM, Al Viro wrote: >> On Mon, Nov 03, 2014 at 11:48:23AM +, David Drysdale wrote: >>> Add a new O_BENEATH flag for openat(2) which restricts the >>> provided path, rejecting (with -EACCES) paths that are not

[PATCH] mfd: lpc_sch: don't call mfd_remove_devices()

2014-11-03 Thread Andy Shevchenko
MFD core already cares about failing registration. It will remove successfully registered devices in case of error. Thus, no need to repeatedly call mfd_remove_devices(). Fixes: 5829e9b64e65 (mfd: lpc_sch: Accomodate partial population of the MFD devices) Signed-off-by: Andy Shevchenko ---

Re: [patch 3/3] mm: move page->mem_cgroup bad page handling into generic code

2014-11-03 Thread Vladimir Davydov
On Sat, Nov 01, 2014 at 11:15:56PM -0400, Johannes Weiner wrote: > Now that the external page_cgroup data structure and its lookup is > gone, let the generic bad_page() check for page->mem_cgroup sanity. > > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov -- To unsubscribe from this

Re: [patch 2/3] mm: page_cgroup: rename file to mm/swap_cgroup.c

2014-11-03 Thread Vladimir Davydov
On Sat, Nov 01, 2014 at 11:15:55PM -0400, Johannes Weiner wrote: > Now that the external page_cgroup data structure and its lookup is > gone, the only code remaining in there is swap slot accounting. > > Rename it and move the conditional compilation into mm/Makefile. > > Signed-off-by: Johannes

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread Vladimir Davydov
On Sat, Nov 01, 2014 at 11:15:54PM -0400, Johannes Weiner wrote: > Memory cgroups used to have 5 per-page pointers. To allow users to > disable that amount of overhead during runtime, those pointers were > allocated in a separate array, with a translation layer between them > and struct page. >

Re: [PATCH 1/3] fs: add O_BENEATH flag to openat(2)

2014-11-03 Thread Eric W.Biederman
On November 3, 2014 7:42:58 AM PST, Andy Lutomirski wrote: >On Mon, Nov 3, 2014 at 7:20 AM, Al Viro >wrote: >> On Mon, Nov 03, 2014 at 11:48:23AM +, David Drysdale wrote: >>> Add a new O_BENEATH flag for openat(2) which restricts the >>> provided path, rejecting (with -EACCES) paths that

Re: [PATCH 03/17] irqchip: irq-armada-370-xp: use proper return value for ->set_affinity()

2014-11-03 Thread Gregory CLEMENT
Hi Thomas, On 24/10/2014 13:59, Thomas Petazzoni wrote: > The ->set_affinity() hook of 'struct irq_chip' is supposed to return > one of IRQ_SET_MASK_OK or IRQ_SET_MASK_OK_NOCOPY. However, the code > currently simply returns 0. This patch fixes that by using > IRQ_SET_MASK_OK, which tells the IRQ

Re: [PATCH v5 0/4] fuse: Add support for mounts from pid/user namespaces

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 9:15 AM, Seth Forshee wrote: > On Wed, Oct 22, 2014 at 04:24:16PM -0500, Seth Forshee wrote: >> Here's another update to the patches to enable userns mounts in fuse. >> The changes this time around center on xattrs and allow_other. I'm >> considering the following patch to

Re: [PATCH v8 3/5] amba: Don't unprepare the clocks if device driver wants IRQ safe runtime PM

2014-11-03 Thread Kevin Hilman
Russell King - ARM Linux writes: [...] > Would another possible solution be to remember the irq-safeness in the > suspend handler, and use that in the resume handler? Resume should > /always/ undo what the suspend handler previously did wrt clk API stuff. This seems more reasonable to me.

Re: s390/net: Deletion of unnecessary checks before two function calls

2014-11-03 Thread Dan Carpenter
On Mon, Nov 03, 2014 at 05:50:48PM +0100, SF Markus Elfring wrote: > > After your patch then it will print warning messages. > > To which messages do you refer to? > Open your eyeballs up and read the code. > > > The truth is I think that all these patches are bad and they make the > > code

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread Michal Hocko
Documentation/cgroups/memory.txt is outdate even more hopelessly than before. It deserves a complete rewrite but I guess something like the following should be added in the meantime to prepare potential readers about the trap. --- diff --git a/Documentation/cgroups/memory.txt

Re: [PATCH] backlight: use of_find_backlight_by_node stub when backlight class disabled

2014-11-03 Thread Lee Jones
On Wed, 29 Oct 2014, Heiko Stübner wrote: > Drivers may want to search for an optional backlight even when the backlight > class is disabled. In this case the linker would miss the function referenced > in the backlight header. > > Therefore use the stub function also when the backlight class is

Re: [PATCH] ARM: dts: Add pwm-fan node to the Odroid-U3 board

2014-11-03 Thread Andreas Färber
Hi, Am 03.11.2014 um 15:43 schrieb Kamil Debski: > Add pwm-fan node to the Odroid-U3 board file to enable PWM control of the > cooling fan. > > Signed-off-by: Kamil Debski > --- > arch/arm/boot/dts/exynos4412-odroidu3.dts | 13 + > 1 file changed, 13 insertions(+) > > diff --git

Re: [RESUBMIT PATCH v6 1/8] mfd: Add support for Skyworks SKY81452 driver

2014-11-03 Thread Lee Jones
On Fri, 31 Oct 2014, gyun...@gmail.com wrote: > From: Gyungoh Yoo > > Signed-off-by: Gyungoh Yoo > --- > Changes v6: > Added new line character at the end of line of dev_err() > > Changes v5: > Move sky81452-backlight.h to include/linux/platform_data > > Changes v4: > Removed

Re: [PATCH v4 1/7] x86, mm, pat: Set WT to PA7 slot of PAT MSR

2014-11-03 Thread Thomas Gleixner
On Mon, 27 Oct 2014, Toshi Kani wrote: > + } else { > + /* > + * PAT full support. WT is set to slot 7, which minimizes > + * the risk of using the PAT bit as slot 3 is UC and is > + * currently unused. Slot 4 should remain as reserved. This

Re: [PATCH v5 0/4] fuse: Add support for mounts from pid/user namespaces

2014-11-03 Thread Seth Forshee
On Wed, Oct 22, 2014 at 04:24:16PM -0500, Seth Forshee wrote: > Here's another update to the patches to enable userns mounts in fuse. > The changes this time around center on xattrs and allow_other. I'm > considering the following patch to be a prerequisite for this series: > >

Re: [PATCH] xen/blkfront: improve protection against issuing unsupported REQ_FUA

2014-11-03 Thread Vitaly Kuznetsov
Boris Ostrovsky writes: > On 11/03/2014 07:22 AM, Laszlo Ersek wrote: >> On 10/27/14 14:44, Vitaly Kuznetsov wrote: >>> Guard against issuing unsupported REQ_FUA and REQ_FLUSH was introduced >>> in d11e61583 and was factored out into blkif_request_flush_valid() in >>> 0f1ca65ee. However: >>> 1)

Re: [PATCH] tracing/syscalls: ignore numbers outside NR_syscalls' range

2014-11-03 Thread Nathan Lynch
On 10/30/2014 06:35 AM, Russell King - ARM Linux wrote: > On Thu, Oct 30, 2014 at 07:30:28AM -0400, Steven Rostedt wrote: >> On Thu, 30 Oct 2014 11:14:41 + >> Russell King - ARM Linux wrote: >> >> >>> We have always had syscall number range of 0x90 or so. The tracing >>> design does not

Re: [RFD] perf syscall error handling

2014-11-03 Thread Vince Weaver
On Mon, 3 Nov 2014, Arnaldo Carvalho de Melo wrote: > Em Mon, Nov 03, 2014 at 05:50:19PM +0100, Peter Zijlstra escreveu: > > On Mon, Nov 03, 2014 at 02:25:48PM -0200, Arnaldo Carvalho de Melo wrote: > > > > The way that peterz suggested, i.e. returning information about which > > >

Re: [PATCH] of/irq: Drop obsolete 'interrupts' vs 'interrupts-extended' text

2014-11-03 Thread Bjorn Helgaas
On Mon, Nov 3, 2014 at 3:15 AM, Mark Rutland wrote: > On Sat, Nov 01, 2014 at 11:35:31PM +, Bjorn Helgaas wrote: >> a9ecdc0fdc54 ("of/irq: Fix lookup to use 'interrupts-extended' property >> first") updated the description to say that: >> >> - Both 'interrupts' and 'interrupts-extended' may

Re: [RESUBMIT PATCH v6 5/8] devicetree: Add vendor prefix for Skyworks Solutions, Inc.

2014-11-03 Thread Lee Jones
On Fri, 31 Oct 2014, gyun...@gmail.com wrote: > From: Gyungoh Yoo > > Signed-off-by: Gyungoh Yoo > --- > Changes v6: > Nothing > > Changes v5: > Nothing > > Changes v4: > Nothing > > Changes v3: > Nothing > > Changes v2: > Added vendor prefix for Skyworks Solutions, Inc. > >

Re: kdbus: add code to gather metadata

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 4:00 AM, Simon McVittie wrote: > On 01/11/14 16:19, Andy Lutomirski wrote: >> You can't justify logging fundamentally unverifiable things like the >> command line by saying that you want to know if someone tries to play >> (impossible-to-reliably-detect) games to obscure

[PATCH] mm: alloc_contig_range: demote pages busy message from warn to info

2014-11-03 Thread Michal Nazarewicz
Having test_pages_isolated failure message as a warning confuses users into thinking that it is more serious than it really is. In reality, if called via CMA, allocation will be retried so a single test_pages_isolated failure does not prevent allocation from succeeding. Demote the warning

Re: [RFC PATCH] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0

2014-11-03 Thread Andy Lutomirski
On Nov 3, 2014 12:34 AM, "Christoph Hellwig" wrote: > > On Fri, Oct 31, 2014 at 11:53:09AM -0700, Linus Torvalds wrote: > > On Fri, Oct 31, 2014 at 11:44 AM, Andy Lutomirski > > wrote: > > > > > > Does the patch in this thread not fix that? > > > > It should. Modulo the glibc problem that makes

Re: [PATCH v4] clk: rockchip: disable unused clocks

2014-11-03 Thread Doug Anderson
Kever, On Sat, Nov 1, 2014 at 5:44 AM, Kever Yang wrote: > - COMPOSITE(SCLK_EMMC, "sclk_emmc", mux_mmc_src_p, 0, > + COMPOSITE(SCLK_EMMC, "sclk_emmc", mux_mmc_src_p, CLK_IGNORE_UNUSED, Is there a reason why this is needed? I took it out (AKA let eMMC get disabled when unused) and

Re: [RFC PATCH] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0

2014-11-03 Thread Linus Torvalds
On Mon, Nov 3, 2014 at 12:34 AM, Christoph Hellwig wrote: > > That doesn't help because we explicitly reject O_RDONLY when combined > with O_TMPFILE. You obviously cannot actually have a read-only file descriptor with O_TMPFILE, unless all you care about is a zero-sized file with no contents.

Re: [RESUBMIT PATCH v6 3/8] devicetree: mfd: Add new SKY81452 mfd binding

2014-11-03 Thread Lee Jones
On Fri, 31 Oct 2014, gyun...@gmail.com wrote: > From: Gyungoh Yoo > > Signed-off-by: Gyungoh Yoo > --- > Changes v6: > Nothing > > Changes v5: > Changed DT for regulator : 'lout' node should be defined under 'regulator' > Removed compatible string from sky81452-regulator driver > > Changes

Re: [PATCH v8 1/5] PM / Runtime: Add getter for querying the IRQ safe option

2014-11-03 Thread Russell King - ARM Linux
On Mon, Nov 03, 2014 at 09:57:28PM +0530, Vinod Koul wrote: > On Sat, Nov 01, 2014 at 02:29:42AM +0200, Laurent Pinchart wrote: > > Many other drivers suffer from the same problem. While I won't reject your > > proposed fix, I would prefer a more generic approach. > > > > One option that has

Re: [RFD] perf syscall error handling

2014-11-03 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 03, 2014 at 05:50:19PM +0100, Peter Zijlstra escreveu: > On Mon, Nov 03, 2014 at 02:25:48PM -0200, Arnaldo Carvalho de Melo wrote: > > The way that peterz suggested, i.e. returning information about which > > perf_event_attr and which of the parameters was invalid/had issues could >

[PATCH v9 04/10] sched: Make sched entity usage tracking scale-invariant

2014-11-03 Thread Vincent Guittot
From: Morten Rasmussen Apply frequency scale-invariance correction factor to usage tracking. Each segment of the running_load_avg geometric series is now scaled by the current frequency so the utilization_avg_contrib of each entity will be invariant with frequency scaling. As a result,

Re: [PATCH v3 08/14] mfd: max77686/802: Remove support for board files

2014-11-03 Thread Lee Jones
On Thu, 30 Oct 2014, Krzysztof Kozlowski wrote: > The driver is used only on Exynos based boards with DTS support. > Convert the driver to DTS-only version. This simplifies a little the > code: > 1. No dead (unused) entries in platform_data structure. > 2. More code removed. > 3. Regulator driver

randconfig build error with next-20141103, in sound/soc/codecs

2014-11-03 Thread Jim Davis
Building with the attached random configuration file, ERROR: "spi_setup" [sound/soc/codecs/snd-soc-tlv320aic23-spi.ko] undefined! ERROR: "devm_regmap_init_spi" [sound/soc/codecs/snd-soc-tlv320aic23-spi.ko] undefined! ERROR: "spi_register_driver" [sound/soc/codecs/snd-soc-tlv320aic23-spi.ko]

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread Michal Hocko
On Mon 03-11-14 10:09:42, Johannes Weiner wrote: > Hi Joonsoo, > > On Mon, Nov 03, 2014 at 05:02:08PM +0900, Joonsoo Kim wrote: > > On Sat, Nov 01, 2014 at 11:15:54PM -0400, Johannes Weiner wrote: > > > Memory cgroups used to have 5 per-page pointers. To allow users to > > > disable that amount

Re: s390/net: Deletion of unnecessary checks before two function calls

2014-11-03 Thread Julia Lawall
> > After your patch then it will print warning messages. > > After: You have to remember that rtw_free_netdev() accepts NULL > > pointers but free_netdev() does not accept NULL pointers. > > Are any improvements needed for the corresponding documentation to make it > better accessible

[PATCH v9 08/10] sched: replace capacity_factor by usage

2014-11-03 Thread Vincent Guittot
The scheduler tries to compute how many tasks a group of CPUs can handle by assuming that a task's load is SCHED_LOAD_SCALE and a CPU's capacity is SCHED_CAPACITY_SCALE. group_capacity_factor divides the capacity of the group by SCHED_LOAD_SCALE to estimate how many task can run in the group.

Re: [PATCH v3 02/14] mfd/regulator: dt-bindings: max77686: Document of_compatible for regulator

2014-11-03 Thread Lee Jones
On Thu, 30 Oct 2014, Krzysztof Kozlowski wrote: > Document new required property for regulator driver: of_compatible. The > property allows MFD core to bind the driver to node with regulators and > this simplifies parsing regulators init data from DTS > > Signed-off-by: Krzysztof Kozlowski >

Re: [PATCH v8 1/5] PM / Runtime: Add getter for querying the IRQ safe option

2014-11-03 Thread Laurent Pinchart
Hi Vinod, On Monday 03 November 2014 21:57:28 Vinod Koul wrote: > On Sat, Nov 01, 2014 at 02:29:42AM +0200, Laurent Pinchart wrote: > > On Friday 31 October 2014 15:40:16 Krzysztof Kozlowski wrote: > >> On pią, 2014-10-31 at 15:22 +0100, Pavel Machek wrote: > >>> On Fri 2014-10-31 10:14:55,

[PATCH v9 02/10] sched: Track group sched_entity usage contributions

2014-11-03 Thread Vincent Guittot
From: Morten Rasmussen Adds usage contribution tracking for group entities. Unlike se->avg.load_avg_contrib, se->avg.utilization_avg_contrib for group entities is the sum of se->avg.utilization_avg_contrib for all entities on the group runqueue. It is _not_ influenced in any way by the task

Re: [patch 3/3] mm: move page->mem_cgroup bad page handling into generic code

2014-11-03 Thread Michal Hocko
On Sat 01-11-14 23:15:56, Johannes Weiner wrote: > Now that the external page_cgroup data structure and its lookup is > gone, let the generic bad_page() check for page->mem_cgroup sanity. > > Signed-off-by: Johannes Weiner Acked-by: Michal Hocko > --- > include/linux/memcontrol.h | 4 >

Re: [patch 2/3] mm: page_cgroup: rename file to mm/swap_cgroup.c

2014-11-03 Thread Michal Hocko
On Sat 01-11-14 23:15:55, Johannes Weiner wrote: > Now that the external page_cgroup data structure and its lookup is > gone, the only code remaining in there is swap slot accounting. > > Rename it and move the conditional compilation into mm/Makefile. > > Signed-off-by: Johannes Weiner

[PATCH v9 03/10] sched: remove frequency scaling from cpu_capacity

2014-11-03 Thread Vincent Guittot
Now that arch_scale_cpu_capacity has been introduced to scale the original capacity, the arch_scale_freq_capacity is no longer used (it was previously used by ARM arch). Remove arch_scale_freq_capacity from the computation of cpu_capacity. The frequency invariance will be handled in the load

[PATCH v9 10/10] sched: move cfs task on a CPU with higher capacity

2014-11-03 Thread Vincent Guittot
When a CPU is used to handle a lot of IRQs or some RT tasks, the remaining capacity for CFS tasks can be significantly reduced. Once we detect such situation by comparing cpu_capacity_orig and cpu_capacity, we trig an idle load balance to check if it's worth moving its tasks on an idle CPU. Once

Re: [PATCH V6 00/18] x86: Full support of PAT

2014-11-03 Thread Toshi Kani
On Mon, 2014-11-03 at 14:01 +0100, Juergen Gross wrote: > The x86 architecture offers via the PAT (Page Attribute Table) a way to > specify different caching modes in page table entries. The PAT MSR contains > 8 entries each specifying one of 6 possible cache modes. A pte references one > of those

[PATCH v9 09/10] sched: add SD_PREFER_SIBLING for SMT level

2014-11-03 Thread Vincent Guittot
Add the SD_PREFER_SIBLING flag for SMT level in order to ensure that the scheduler will put at least 1 task per core. Signed-off-by: Vincent Guittot Reviewed-by: Preeti U. Murthy --- kernel/sched/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/core.c

[PATCH v9 07/10] sched: get CPU's usage statistic

2014-11-03 Thread Vincent Guittot
Monitor the usage level of each group of each sched_domain level. The usage is the portion of cpu_capacity_orig that is currently used on a CPU or group of CPUs. We use the utilization_load_avg to evaluate the usage level of each group. The utilization_load_avg only takes into account the running

[PATCH v9 06/10] sched: add per rq cpu_capacity_orig

2014-11-03 Thread Vincent Guittot
This new field cpu_capacity_orig reflects the original capacity of a CPU before being altered by rt tasks and/or IRQ The cpu_capacity_orig will be used: - to detect when the capacity of a CPU has been noticeably reduced so we can trig load balance to look for a CPU with better capacity. As an

[PATCH v9 05/10] sched: make scale_rt invariant with frequency

2014-11-03 Thread Vincent Guittot
The average running time of RT tasks is used to estimate the remaining compute capacity for CFS tasks. This remaining capacity is the original capacity scaled down by a factor (aka scale_rt_capacity). This estimation of available capacity must also be invariant with frequency scaling. A frequency

[PATCH v9 01/10] sched: add utilization_avg_contrib

2014-11-03 Thread Vincent Guittot
Add new statistics which reflect the average time a task is running on the CPU and the sum of these running time of the tasks on a runqueue. The latter is named utilization_load_avg. This patch is based on the usage metric that was proposed in the 1st versions of the per-entity load tracking

[PATCH v9 00/10] sched: consolidation of CPU capacity and usage

2014-11-03 Thread Vincent Guittot
This patchset consolidates several changes in the capacity and the usage tracking of the CPU. It provides a frequency invariant metric of the usage of CPUs and generally improves the accuracy of load/usage tracking in the scheduler. The frequency invariant metric is the foundation required for the

Re: [PATCH] Documentation: Fix a typo in mailbox.txt

2014-11-03 Thread Jonathan Corbet
On Wed, 22 Oct 2014 08:36:07 +0900 Masanari Iida wrote: > This patch fix a typo in Documentation/mailbox.txt > "bool async" is defined in struct demo_client. > > Signed-off-by: Masanari Iida I've (finally) applied this one, thanks. jon -- To unsubscribe from this list: send the line

Re: [PATCH v2 1/2] ALSA: echoaudio: add reference of struct echoaudio

2014-11-03 Thread Sudip Mukherjee
On Mon, Nov 03, 2014 at 07:08:08AM -0800, Joe Perches wrote: > On Mon, 2014-11-03 at 15:17 +0100, Takashi Iwai wrote: > > At Mon, 3 Nov 2014 16:04:12 +0530, > > Sudip Mukherjee wrote: > > > > > > added reference of struct echoaudio to free_firmware function. > > > this structure will be later

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread Michal Hocko
On Sat 01-11-14 23:15:54, Johannes Weiner wrote: > Memory cgroups used to have 5 per-page pointers. To allow users to > disable that amount of overhead during runtime, those pointers were > allocated in a separate array, with a translation layer between them > and struct page. > > There is now

Re: s390/net: Deletion of unnecessary checks before two function calls

2014-11-03 Thread SF Markus Elfring
> After your patch then it will print warning messages. To which messages do you refer to? > The truth is I think that all these patches are bad and they make the > code harder to read. > > Before: The code is clear and there is no NULL dereference. Where do you stumble on a null pointer

Re: [PATCH] mfd: db8500-prcmu: Provide sane error path values

2014-11-03 Thread Lee Jones
On Mon, 03 Nov 2014, Fabio Estevam wrote: > On Mon, Nov 3, 2014 at 2:15 PM, Lee Jones wrote: > > > /* Clean up the mailbox interrupts after pre-kernel code. */ > > @@ -3179,15 +3179,14 @@ static int db8500_prcmu_probe(struct > > platform_device *pdev) > > irq =

Re: [RFD] perf syscall error handling

2014-11-03 Thread Peter Zijlstra
On Mon, Nov 03, 2014 at 02:25:48PM -0200, Arnaldo Carvalho de Melo wrote: > The way that peterz suggested, i.e. returning information about which > perf_event_attr and which of the parameters was invalid/had issues could > help with fallbacking/capability querying, i.e. tooling may want to use >

Re: [PATCH v2 0/6] Add support for USB cluster(PHY muxer) on the Armada 375

2014-11-03 Thread Gregory CLEMENT
Hi Jason, On 01/11/2014 23:46, Jason Cooper wrote: > Gregory, > > On Fri, Oct 24, 2014 at 05:24:08PM +0200, Gregory CLEMENT wrote: >> Hello, >> >> this is the second version of a series I initially submitted in May: >> https://lkml.org/lkml/2014/5/16/743 >> >> This series adds support for the

Re: [PATCH] CodingStyle: Add a chapter on conditional compilation

2014-11-03 Thread Jonathan Corbet
On Wed, 29 Oct 2014 11:15:17 -0700 Josh Triplett wrote: > Document several common practices and conventions regarding conditional > compilation, most notably the preference for ifdefs in headers rather > than .c files. OK, I've picked this one up for my 3.19 docs pull. Thanks, jon -- To

Re: [PATCH v4 10/10] x86: Support compiling out userspace IO (iopl and ioperm)

2014-11-03 Thread josh
On Mon, Nov 03, 2014 at 03:27:48PM +, One Thousand Gnomes wrote: > > > This isn't unreasonable but there are drivers with userspace helpers that > > > use iopl/ioperm type functionality where you should be doing a SELECT of > > > X86_IOPORT. The one that comes to mind is the uvesa driver. From

Re: [PATCH] mfd: db8500-prcmu: check return of devm_ioremap for error

2014-11-03 Thread Lee Jones
On Mon, 03 Nov 2014, Lee Jones wrote: > On Thu, 30 Oct 2014, Pramod Gurav wrote: > > > Error check around return value of devm_ioremap is missing. Add the same > > to avoid NULL pointer dereference. > > > > Cc: Linus Walleij > > Cc: Samuel Ortiz > > Cc: Lee Jones > > Signed-off-by: Pramod

Re: DMA allocations from CMA and fatal_signal_pending check

2014-11-03 Thread Michal Nazarewicz
On Fri, Oct 31 2014, Florian Fainelli wrote: > I agree that the CMA allocation should not be allowed to succeed, but > the dma_alloc_coherent() allocation should succeed. If we look at the > sysport driver, there are kmalloc() calls to initialize private > structures, those will succeed (except

Re: [PATCH V6 10/18] x86: Remove looking for setting of _PAGE_PAT_LARGE in pageattr.c

2014-11-03 Thread Thomas Gleixner
On Mon, 3 Nov 2014, Juergen Gross wrote: > When modifying page attributes via change_page_attr_set_clr() don't > test for setting _PAGE_PAT_LARGE, as this is > - never done > - PAT support for large pages is not included in the kernel up to now > > Signed-off-by: Juergen Gross Reviewed-by:

Re: [PATCH v2 01/11] crypto: Documentation - crypto API high level spec

2014-11-03 Thread Jonathan Corbet
On Mon, 03 Nov 2014 15:18:29 +0100 Stephan Mueller wrote: > > These are all useful. But I wonder if it would be worth the effort to turn > > this inti a proper docbook document that automatically has everything > > together in one place? > > How do you suggest that is done? See

[PATCH] USB: simple: add Google simple serial SubClass support

2014-11-03 Thread Anton Staaf
Add support for Google devices that export simple serial interfaces using the vendor specific SubClass/Protocol pair 0x50/0x01. Signed-off-by: Anton Staaf --- drivers/usb/serial/usb-serial-simple.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread David Miller
From: Johannes Weiner Date: Mon, 3 Nov 2014 10:09:42 -0500 > Please re-introduce this code when your new usecase is ready to be > upstreamed. There is little reason to burden an unrelated feature > with a sizable chunk of dead code for a vague future user. +1 -- To unsubscribe from this list:

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