[PATCHv2 0/3] Input: edt-ft5x06: Add DT support

2014-01-16 Thread Lothar Waßmann
Changes wrt. v1: addressed the comments from Jingoo Han and Mark Rutland - added another patch to convert the driver to use devm_* functions - removed sysfs reference from bindings documentation - changed '_' to '-' in property name - added 'edt,' prefix to properties names - added sanity check

[PATCHv2 2/3] DT: Add vendor prefix for Emerging Display Technologies

2014-01-16 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCHv2 1/3] Input: edt_ft5x06: use devm_* functions where appropriate

2014-01-16 Thread Lothar Waßmann
Simplify the error path and remove() function by using devm_* functions for requesting gpios and irq and allocating the input device. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- drivers/input/touchscreen/edt-ft5x06.c | 62 ++- 1 files changed, 20

[PATCHv2 3/3] Input: edt-ft5x06: Add DT support

2014-01-16 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- .../bindings/input/touchscreen/edt-ft5x06.txt | 29 + drivers/input/touchscreen/edt-ft5x06.c | 121 +--- 2 files changed, 132 insertions(+), 18 deletions(-) create mode 100644

Re: [PATCH 3/4] fix module autoloading for ACPI enumerated devices

2014-01-16 Thread Zhang Rui
On Wed, 2014-01-15 at 17:08 +0200, Mika Westerberg wrote: On Tue, Jan 14, 2014 at 04:46:37PM +0800, Zhang Rui wrote: diff --git a/drivers/base/platform.c b/drivers/base/platform.c index 3a94b79..2f4aea2 100644 --- a/drivers/base/platform.c +++ b/drivers/base/platform.c @@ -677,7 +677,13

[PATCHv2 0/2] pwm: imx: support polarity inversion

2014-01-16 Thread Lothar Waßmann
The first patch does a minor source cleanup without any functional change. Changes wrt. v1: - make PWM_POLARITY flag optional, so that the driver will work with either the existing DT binding or with support for polarity inversion. -- To unsubscribe from this list: send the line unsubscribe

[PATCHv2 1/2] pwm: imx: indentation cleanup

2014-01-16 Thread Lothar Waßmann
Consistently use TABs for indentation and the same indentation level. No functional change. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- drivers/pwm/pwm-imx.c | 26 +- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/pwm/pwm-imx.c

[PATCHv2 2/2] pwm: imx: support polarity inversion

2014-01-16 Thread Lothar Waßmann
The i.MX PWM controller supports inverting the polarity of the PWM output. Make this feature available in the pxm-imx driver. Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- Documentation/devicetree/bindings/pwm/imx-pwm.txt |5 +- drivers/pwm/pwm-imx.c

[PATCH] ARM: orion: provide C-style interrupt handler for MULTI_IRQ_HANDLER

2014-01-16 Thread Sebastian Hesselbarth
DT-enabled Marvell Kirkwood and Dove SoCs make use of an irqchip driver. As expected for irqchip drivers, it uses a C-style interrupt handler and therefore selects MULTI_IRQ_HANDLER. Now, compiling a kernel with both non-DT and DT support enabled, selecting MULTI_IRQ_HANDLER will break ASM irq

RE: [PATCH] ASoC: simple-card: Add snd_card's name parsing from DT node support

2014-01-16 Thread li.xi...@freescale.com
Hi David, sound/soc/generic/simple-card | 0 sound/soc/generic/simple-card. | 0 sound/soc/generic/simple-card.c | 7 ++- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 sound/soc/generic/simple-card create mode 100644 sound/soc/generic/simple-card.

Re: [PATCH 2/3] mm/memcg: fix endless iteration in reclaim

2014-01-16 Thread Michal Hocko
On Wed 15-01-14 13:24:34, Hugh Dickins wrote: On Wed, 15 Jan 2014, Michal Hocko wrote: On Wed 15-01-14 10:58:29, Michal Hocko wrote: On Tue 14-01-14 12:42:28, Hugh Dickins wrote: On Tue, 14 Jan 2014, Michal Hocko wrote: [...] Ouch. And thinking about this shows that out_css_put is

[PATCHv2 0/2] ARM: dts: imx53: add support for Ka-Ro TX53 modules

2014-01-16 Thread Lothar Waßmann
This patch adds support for the Ka-Ro electronics GmbH TX53 modules. There are two distinct module types. One with an LVDS display interface and SATA support, the other with a parallel LCD interface and no SATA interface. Changes wrt. v1: - set the '#pwm-cells' property locally due to the changed

[PATCHv2 2/2] ARM: dts: imx53: add support for Ka-Ro TX53 modules

2014-01-16 Thread Lothar Waßmann
This patch adds support for the Ka-Ro electronics GmbH TX53 modules. There are two distinct module types. One with an LVDS display interface and SATA support, the other with a parallel LCD interface and no SATA interface. Signed-off-by: Lothar Waßmann l...@karo-electronics.de ---

[PATCHv2 1/2] ARM: dts: imx53: add another pingroup for NAND pads

2014-01-16 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann l...@karo-electronics.de --- arch/arm/boot/dts/imx53-pingrp.h | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/imx53-pingrp.h b/arch/arm/boot/dts/imx53-pingrp.h index ac8e73d..f8d7d9c 100644 ---

Re: [PATCH/RFC] perf ui/tui: Show column header in hist browser

2014-01-16 Thread Jiri Olsa
On Thu, Jan 16, 2014 at 09:42:23AM +0900, Namhyung Kim wrote: Hi Arnaldo and Jiri, On Wed, 15 Jan 2014 11:13:14 -0300, Arnaldo Carvalho de Melo wrote: Em Wed, Jan 15, 2014 at 01:10:44PM +0100, Jiri Olsa escreveu: On Wed, Jan 15, 2014 at 02:08:45PM +0900, Namhyung Kim wrote: Add a line

[PATCH -next] clocksource: keystone: Fix return value check in keystone_timer_init()

2014-01-16 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, function of_clk_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn ---

Re: [PATCH 07/13] tools lib traceevent: Get rid of die() finally!!

2014-01-16 Thread Ingo Molnar
* Steven Rostedt rost...@goodmis.org wrote: On Wed, 15 Jan 2014 17:33:05 -0300 Arnaldo Carvalho de Melo a...@infradead.org wrote: From: Namhyung Kim namhy...@kernel.org Now all of its users were gone. :) Now that all users of death are dead, death can die as well?

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-01-16 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: From: Arnaldo Carvalho de Melo a...@ghostprotocols.net Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 197749981e539c1eb5863f417de6dd4e2c02b76c: Merge tag 'perf-core-for-mingo' of

Re: [PATCH] Revert x86: fix 27-rc crash on vsmp due to paravirt during module load

2014-01-16 Thread Ingo Molnar
* Paul Gortmaker paul.gortma...@windriver.com wrote: This reverts commit 05e12e1c4c09cd35ac9f4e6af1e42b0036375d72. The old change from __init -- __init_or_module doesn't make sense anymore, given that the arch/x86/kernel/vsmp_64.c code is only for non-modular builds. As of commit

Re: [PATCH 1/5] mm: vmscan: shrink all slab objects if tight on memory

2014-01-16 Thread Vladimir Davydov
On 01/16/2014 02:53 AM, Andrew Morton wrote: On Wed, 15 Jan 2014 19:55:11 +0400 Vladimir Davydov vdavy...@parallels.com wrote: We could avoid the scan 32 then scan just 1 issue with something like if (total_scan batch_size) total_scan %= batch_size; before the loop. But

Re: [PATCH 1/3] mfd: Add realtek USB card reader driver

2014-01-16 Thread Roger
On 01/14/2014 09:04 PM, Lee Jones wrote: From: Roger Tseng rogera...@realtek.com Realtek USB card reader provides a channel to transfer command or data to flash memory cards. This driver exports host instances for mmc and memstick subsystems and handles basic works. Signed-off-by: Roger Tseng

Re: [PATCHv2 3/4] zram: rework reported to end-user zram statistics

2014-01-16 Thread Sergey Senozhatsky
On (01/16/14 09:56), Minchan Kim wrote: Hello Sergey, On Wed, Jan 15, 2014 at 01:16:16PM +0300, Sergey Senozhatsky wrote: 1) Introduce ZRAM_ATTR_RO macro to generate zram atomic64_t stats `show' functions and reduce code duplication. 2) Remove `good' and `bad' compressed sub-requests

[PATCH] ASoC: core: Fix possible NULL pointer dereference of pcm-config

2014-01-16 Thread Xiubo Li
Since the soc generic dmaengine pcm driver allows using the defualt settings, so the pcm-config maybe NULL. Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/soc-generic-dmaengine-pcm.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] ASoC: core: Fix possible NULL pointer dereference of pcm-config

2014-01-16 Thread Lars-Peter Clausen
On 01/16/2014 09:08 AM, Xiubo Li wrote: Since the soc generic dmaengine pcm driver allows using the defualt settings, so the pcm-config maybe NULL. Signed-off-by: Xiubo Li li.xi...@freescale.com Acked-by: Lars-Peter Clausen l...@metafoo.de Thanks. I actually had the very same patch locally,

Re: [PATCH v4 13/16] ARM: Add an emulate flag to the kprobes/uprobes instruction decode functions

2014-01-16 Thread Jon Medhurst (Tixy)
On Wed, 2014-01-15 at 14:31 -0500, David Long wrote: On 12/20/13 09:58, Jon Medhurst (Tixy) wrote: On Sun, 2013-12-15 at 23:08 -0500, David Long wrote: [...] { #ifdef CONFIG_THUMB2_KERNEL if (thumb) { @@ -253,7 +253,7 @@ set_emulated_insn(probes_opcode_t insn, struct

Re: [PATCH net-next 1/2] random32: add prandom_u32_lt_N and convert misuses of reciprocal_divide

2014-01-16 Thread Daniel Borkmann
On 01/16/2014 01:29 AM, Joe Perches wrote: On Thu, 2014-01-16 at 00:23 +0100, Daniel Borkmann wrote: Many functions have open coded a function that return a random number in range [0,N-1]. Also, only because we have a function that is named reciprocal_divide(), it has not much to do with the

Re: [PATCH] [RFC] netfilter: nf_conntrack: don't relase a conntrack with non-zero refcnt

2014-01-16 Thread Florian Westphal
Andrew Vagin ava...@parallels.com wrote: I think it would be nice if we could keep it that way. If everything fails we could proably intoduce a 'larval' dummy list similar to the one used by template conntracks? I'm not sure, that this is required. Could you elaborate when this can be

Re: Baytrail problems (was Re: Linux 3.13-rc8)

2014-01-16 Thread Linus Walleij
On Thu, Jan 16, 2014 at 2:49 AM, Linus Torvalds torva...@linux-foundation.org wrote: Adding in the appropriate people... On Tue, Jan 14, 2014 at 7:01 PM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: It seems to hate Baytrail/T My ASUS T100TA has gone from 3.11 'needs

RE: [PATCH net-next 1/2] random32: add prandom_u32_lt_N and convert misuses of reciprocal_divide

2014-01-16 Thread David Laight
From: Eric Dumazet On Thu, 2014-01-16 at 00:23 +0100, Daniel Borkmann wrote: @@ -1220,7 +1219,7 @@ static unsigned int fanout_demux_hash(struct packet_fanout *f, struct sk_buff *skb, unsigned int num) { - return

Re: [PATCH v4 0/3] Send audit/procinfo/cgroup data in socket-level control message

2014-01-16 Thread Jan Kaluža
On 01/16/2014 12:23 AM, Tejun Heo wrote: On Wed, Jan 15, 2014 at 06:21:43PM -0500, Eric Paris wrote: Reliably being able to audit what process requested an action is extremely useful. And I like the audit patch, as it is a couple of ints we are storing. procinfo and cgroup can both be up to

Re: [PATCH net-next 1/2] random32: add prandom_u32_lt_N and convert misuses of reciprocal_divide

2014-01-16 Thread Daniel Borkmann
On 01/16/2014 04:14 AM, Eric Dumazet wrote: On Thu, 2014-01-16 at 00:23 +0100, Daniel Borkmann wrote: @@ -1220,7 +1219,7 @@ static unsigned int fanout_demux_hash(struct packet_fanout *f, struct sk_buff *skb, unsigned

Re: [patch 1/2] mm, memcg: avoid oom notification when current needs access to memory reserves

2014-01-16 Thread Michal Hocko
On Wed 15-01-14 13:23:10, David Rientjes wrote: On Wed, 15 Jan 2014, Michal Hocko wrote: [...] Which depends on yours only to revert your part. I plan to repost it but that still doesn't mean it will get merged because Johannes still has some argumnets against. I would like to start the

Re: [PATCH] oprofile: check whether oprofile perf enabled in op_overflow_handler()

2014-01-16 Thread Weng Meiling
Hi Robert, The testcase which trigger the problem on kernel 2.6.34 is: opcontrol --init opcontrol --no-vmlinux opcontrol --event=CPU_CYCLES:500:0:1:1 opcontrol --start Run the testcase in the Linux 3.13-rc1 kernel, the last step opcontrol --start will stall, and can't be killed, and print the

Re: [PATCH 1/3] mfd: Add realtek USB card reader driver

2014-01-16 Thread Lee Jones
+static int rtsx_usb_bulk_transfer_sglist(struct rtsx_ucr *ucr, + unsigned int pipe, struct scatterlist *sg, int num_sg, + unsigned int length, unsigned int *act_len, int timeout) +{ + int ret; + + dev_dbg(ucr-pusb_intf-dev, %s: xfer %u bytes, %d entries\n,

Re: [PATCH -next] clocksource: keystone: Fix return value check in keystone_timer_init()

2014-01-16 Thread Daniel Lezcano
On 01/16/2014 09:29 AM, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, function of_clk_get() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun

[PATCH -tip 2/3] [BUGFIX] perf-probe: Release all dynamically allocated parameters

2014-01-16 Thread Masami Hiramatsu
To fix a memory leak, release all dynamically allocated options/parameters in params data structure. This also introduces/exports some init/clear routines. Reported-by: David Ahern dsah...@gmail.com Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Ingo Molnar mi...@redhat.com

[PATCH -tip 0/3] perf-probe bugfixes

2014-01-16 Thread Masami Hiramatsu
Hi, Here is a series of bugfixes reported by David Ahern :) This fixes several memory leaks on exiting program, and cleanup code clones. --- Masami Hiramatsu (3): [BUGFIX] perf-probe: Release allocated probe_trace_event if failed [BUGFIX] perf-probe: Release all dynamically

[PATCH -tip 3/3] [CLEANUP] perf-tools: Export elf_section_by_name and reuse

2014-01-16 Thread Masami Hiramatsu
Remove duplicated elf_section_by_name() functions from unwind.c and probe-event.c and use one exported elf_section_by_name() instance defined in symbol-elf.c. Note that this also moves get_text_start_address() to merge HAVE_DWARF_SUPPORT defined area. Reported-by: David Ahern dsah...@gmail.com

Re: [PATCH v12 0/7] cpufreq:boost: CPU Boost mode support

2014-01-16 Thread Lukasz Majewski
Hi Rafael, On Wed, 2014-01-08 at 01:35 +0100, Rafael J. Wysocki wrote: On Tuesday, January 07, 2014 07:58:24 AM Lukasz Majewski wrote: Hi Rafael, Hi, This patch series introduces support for CPU overclocking technique called Boost. It is a follow up of a LAB

[PATCH -tip 1/3] [BUGFIX] perf-probe: Release allocated probe_trace_event if failed

2014-01-16 Thread Masami Hiramatsu
To fix a memory leak, release all allocated probe_trace_event on the error path of try_to_find_probe_trace_events. Reported-by: David Ahern dsah...@gmail.com Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Ingo Molnar mi...@redhat.com Cc: Arnaldo Carvalho de Melo

Re: [PATCH V2 1/1] Drivers: hv: Implement the file copy service

2014-01-16 Thread Olaf Hering
On Tue, Jan 14, K. Y. Srinivasan wrote: +enum hv_fcopy_op { + START_FILE_COPY = 0, + WRITE_TO_FILE, + COMPLETE_FCOPY, + CANCEL_FCOPY, +}; + +struct hv_fcopy_hdr { + enum hv_fcopy_op operation; + uuid_le service_id0; /* currently unused */ + uuid_le

Re: [PATCH RT 0/8] Linux 3.2.53-rt76-rc1

2014-01-16 Thread Pavel Vasilyev
16.01.2014 05:58, Steven Rostedt пишет: Dear RT Folks, This is the RT stable review cycle of patch 3.2.53-rt76-rc1. Yap..., mainline is 3.2.54 ! -- Pavel. signature.asc Description: OpenPGP digital signature

[PATCH] x86, apic: clean up handling of boot_cpu_physical_apicid in boot process

2014-01-16 Thread HATAYAMA Daisuke
Hello, This patch deals with the issue of handling boot_cpu_physical_apicid in boot process I avoided in disable_cpu_apicid patch because I cannot guess how long it needs to take for the review of this fix. This patch is made on top of today's x86/apic branch of tip tree. Its commit hash is

Re: [PATCHv2 3/4] zram: rework reported to end-user zram statistics

2014-01-16 Thread Jerome Marchand
On 01/16/2014 09:46 AM, Sergey Senozhatsky wrote: On (01/16/14 09:56), Minchan Kim wrote: Hello Sergey, On Wed, Jan 15, 2014 at 01:16:16PM +0300, Sergey Senozhatsky wrote: 1) Introduce ZRAM_ATTR_RO macro to generate zram atomic64_t stats `show' functions and reduce code duplication. 2)

[PATCH] ASoC: core: Use devm_kzalloc() instead kzalloc()

2014-01-16 Thread Xiubo Li
Makes the code slightly shorter Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/soc-generic-dmaengine-pcm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/soc-generic-dmaengine-pcm.c b/sound/soc/soc-generic-dmaengine-pcm.c index 5bace12..bfb012f

Re: [PATCHv2 4/4] zram: report failed read and writes stats

2014-01-16 Thread Jerome Marchand
On 01/16/2014 01:58 AM, Minchan Kim wrote: On Wed, Jan 15, 2014 at 01:16:17PM +0300, Sergey Senozhatsky wrote: zram accounted but did not report numbers of failed read and write queries. make these stats available as failed_reads and failed_writes attrs. Signed-off-by: Sergey Senozhatsky

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-16 Thread Thomas Gleixner
On Thu, 16 Jan 2014, Viresh Kumar wrote: On 15 January 2014 22:47, Frederic Weisbecker fweis...@gmail.com wrote: Are you sure about that? NO_HZ_FULL shouldn't touch much hrtimers. Those are independant from the tick. Although some of them seem to rely on the softirq, but that seem to

Re: [PATCH 2/2] x86: intel-mid: sfi_handle_*_dev() should check for pdata error code

2014-01-16 Thread Ingo Molnar
* David Cohen david.a.co...@linux.intel.com wrote: Hi Ingo and hpa, On Wed, Jan 15, 2014 at 09:39:52AM -0800, David Cohen wrote: On Wed, Jan 15, 2014 at 07:58:37AM +0100, Ingo Molnar wrote: * David Cohen david.a.co...@linux.intel.com wrote: Hi Ingo, On Fri, Dec 20,

[3.5.y.z extended stable] Linux 3.5.7.29

2014-01-16 Thread Luis Henriques
I am announcing the release of the Linux 3.5.7.29 kernel. The updated 3.5.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.5.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.5.y;a=shortlog The diff from v3.5.7.28 is

[3.11.y.z extended stable] Linux 3.11.10.3

2014-01-16 Thread Luis Henriques
I am announcing the release of the Linux 3.11.10.3 kernel. The updated 3.11.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.11.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.11.y;a=shortlog The diff from v3.11.10.2 is

Re: [PATCH repost] at91: dt: i2c: add a new compatibility string for the at91sam9261

2014-01-16 Thread Wolfram Sang
On Wed, Jan 15, 2014 at 02:17:13PM +0100, Jean-Jacques Hiblot wrote: Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com Applied to for-next, thanks! signature.asc Description: Digital signature

Re: [PATCH] memcg: Do not hang on OOM when killed by userspace OOM access to memory reserves

2014-01-16 Thread Michal Hocko
On Wed 15-01-14 13:19:21, David Rientjes wrote: On Wed, 15 Jan 2014, Michal Hocko wrote: diff --git a/mm/memcontrol.c b/mm/memcontrol.c index b8dfed1b9d87..b86fbb04b7c6 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -2685,7 +2685,8 @@ static int

Re: [PATCH V2 1/1] Drivers: hv: Implement the file copy service

2014-01-16 Thread Olaf Hering
On Tue, Jan 14, K. Y. Srinivasan wrote: +++ b/include/linux/hyperv.h @@ -26,6 +26,8 @@ #define _HYPERV_H #include linux/types.h +#include linux/uuid.h +#include linux/limits.h limits.h is not required. Olaf -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH V5 2/4] DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP

2014-01-16 Thread Sricharan R
Hi Thomas, On Tuesday 03 December 2013 03:57 PM, Sricharan R wrote: Some socs have a large number of interrupts requests to service the needs of its many peripherals and subsystems. All of the interrupt lines from the subsystems are not needed at the same time, so they have to be muxed to the

Re: [PATCH net-next 2/2] reciprocal_divide: correction/update of the algorithm

2014-01-16 Thread Hannes Frederic Sowa
Hi Eric! On Wed, Jan 15, 2014 at 07:07:26PM -0800, Eric Dumazet wrote: On Thu, 2014-01-16 at 00:23 +0100, Daniel Borkmann wrote: Also, reciprocal_value() and reciprocal_divide() always return 0 for divisions by 1. This is a bit worrisome as those functions also get used in mm/slab.c and

Re: [PATCH] Parse missing regulator constraints from device tree blob

2014-01-16 Thread Mark Rutland
Hi, On Thu, Jan 16, 2014 at 06:34:46AM +, Saurabh Singh wrote: This patch adds support for parsing following regulator contraints from device tree blob. 1. valid modes mask (valid_modes_mask) 2. input microvolt(input_uV) 3. initial mode (initial_mode) 4. initial state (initial_state)

Re: [PATCH v8 4/4] qrwlock: Use smp_store_release() in write_unlock()

2014-01-16 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 06:39:23AM +0700, Linus Torvalds wrote: On Jan 16, 2014 6:22 AM, Peter Zijlstra pet...@infradead.org wrote: So while the primitive is called smp_store_release() the !SMP variant still does: *(volatile __type *) = ptr; which should not compile on any Alpha

[PATCH 2/2] Documentation: update some DMA document texts due to relocation

2014-01-16 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Some references to Documentation/* in the moved documentations should be updated to Documentation/dma/* accordingly. Signed-off-by: Hongbo Zhang hongbo.zh...@freescale.com Cc: James E.J. Bottomley james.bottom...@hansenpartnership.com Cc: Pierre

Re: next-20140114 - BUG: spinlock wrong CPU on CPU#3, mount/597

2014-01-16 Thread Jan Kara
On Wed 15-01-14 13:20:12, Valdis Kletnieks wrote: Am seeing this at boot on next-20140114, but I hit this same exact stack trace at least once on next-20131218. v3.13-rc7 doesn't have the problem, so it's not a 3.13 release showstopper. I may not be able to bisect this, as there's 2 or 3

Re: [PATCH 1/2] Documentation: move all DMA documentations into Documentaion/dma

2014-01-16 Thread Andy Shevchenko
On Thu, 2014-01-16 at 18:37 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com Since there are already seven DMA documentations under the top Documentation/, it is better to create one dedicated directory for them. Can you rebuild this with -M -C and

[PATCH v3] gpio: mcp23s08: Add irq functionality for i2c chips

2014-01-16 Thread Lars Poeschel
From: Lars Poeschel poesc...@lemonage.de This adds interrupt functionality for i2c chips to the driver. They can act as a interrupt-controller and generate interrupts, if the inputs change. This is tested with a mcp23017 chip on an arm based platform. v3: - be a bit more clear that the irq

Re: [PATCH 05/11] vfs: add RENAME_NOREPLACE flag

2014-01-16 Thread Miklos Szeredi
On Thu, Jan 16, 2014 at 12:33 AM, J. Bruce Fields bfie...@fieldses.org wrote: Makes sense, thanks! Could that just get cut-n-pasted into the changelog? (Unless there's some obvious other place to put it.) Done and pushed to the git tree. Thanks, Miklos -- To unsubscribe from this list: send

[PATCH] ARM64: perf: support dwarf unwinding in compat mode

2014-01-16 Thread Jean Pihet
Add support for unwinding using the dwarf information in compat mode. Using the correct user stack pointer allows perf to record the frames correctly in the native and compat modes. Note that although the dwarf frame unwinding works ok using libunwind in native mode (on ARMv7 ARMv8), some

Re: [PATCH v2] drivers/tty/hvc: don't use module_init in non-modular hyp. console code

2014-01-16 Thread David Vrabel
On 15/01/14 21:35, Paul Gortmaker wrote: The HVC_OPAL/RTAS/UDBG/XEN options are all bool, and hence their support is either present or absent. It will never be modular, so using module_init as an alias for __initcall is rather misleading. Fix this up now, so that we can relocate module_init

Re: [PATCH 1/2] Documentation: move all DMA documentations into Documentaion/dma

2014-01-16 Thread Hongbo Zhang
Learned, will try, I didn't like this long patch either. Thanks. On 01/16/2014 06:43 PM, Andy Shevchenko wrote: On Thu, 2014-01-16 at 18:37 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang hongbo.zh...@freescale.com Since there are already seven DMA documentations under the top

Re: [PATCH V2 1/1] Drivers: hv: Implement the file copy service

2014-01-16 Thread Olaf Hering
On Tue, Jan 14, K. Y. Srinivasan wrote: Implement the file copy service for Linux guests on Hyper-V. This permits the host to copy a file (over VMBUS) into the guest. This facility is part of guest integration services supported on the Windows platform. Here is a link that provides additional

Re: [PATCH 3.12 40/77] sfc: Add length checks to efx_xmit_with_hwtstamp() and efx_ptp_is_ptp_tx()

2014-01-16 Thread Luis Henriques
On Tue, Jan 14, 2014 at 12:45:15AM +, Ben Hutchings wrote: On Mon, 2014-01-13 at 16:28 -0800, Greg Kroah-Hartman wrote: 3.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings bhutchi...@solarflare.com [ Upstream

[PATCH resend 1/2] Documentation: move all DMA documentations into Documentaion/dma

2014-01-16 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Since there are already seven DMA documentations under the top Documentation/, it is better to create one dedicated directory for them. Signed-off-by: Hongbo Zhang hongbo.zh...@freescale.com Cc: David S. Miller da...@redhat.com Cc: Richard Henderson

[PATCH resend 2/2] Documentation: update some DMA document texts due to relocation

2014-01-16 Thread hongbo.zhang
From: Hongbo Zhang hongbo.zh...@freescale.com Some references to Documentation/* in the moved documentations should be updated to Documentation/dma/* accordingly. Signed-off-by: Hongbo Zhang hongbo.zh...@freescale.com Cc: James E.J. Bottomley james.bottom...@hansenpartnership.com Cc: Pierre

Re: [PATCH 11/11] ext4: add cross rename support

2014-01-16 Thread Miklos Szeredi
On Wed, Jan 15, 2014 at 7:23 PM, J. Bruce Fields bfie...@fieldses.org wrote: Do you have a man page update somewhere for the two new flags? Here's the updated man page (and attached the patch) Michael, could you please review the interface? I forgot to CC you when posing the patch series. I

[PATCH v2 0/9] net: stmmac PM related fixes.

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com Hi Peppe/Dave, During PM_SUSPEND_FREEZE testing, I have noticed that PM support in STMMAC is partly broken. I had to re-arrange the code to do PM correctly. There were lot of things I did not like personally and some bits did not work in the

[PATCH v2 0/9] net: stmmac PM related fixes.

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com Hi Peppe/Dave, During PM_SUSPEND_FREEZE testing, I have noticed that PM support in STMMAC is partly broken. I had to re-arrange the code to do PM correctly. There were lot of things I did not like personally and some bits did not work in the

[PATCH v2 1/9] net: stmmac: support max-speed device tree property

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds support to max-speed property which is a standard Ethernet device tree property. max-speed specifies maximum speed (specified in megabits per second) supported the device. Depending on the clocking schemes some of the boards

[PATCH v2 6/9] net: stmmac: fix power management suspend-resume case

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com The driver PM resume assumes that the IP is still powered up and the all the register contents are not disturbed when it comes out of low power suspend case. This assumption is wrong, basically the driver should not consider any state of

[PATCH v2 4/9] net: stmmac: move hardware setup for stmmac_open to new function

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch moves hardware setup part of the code in stmmac_open to a new function stmmac_hw_setup, the reason for doing this is to make hw initialization independent function so that PM functions can re-use it to re-initialize the IP after

[PATCH v2 7/9] net: stmmac: use suspend functions for hibernation

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com In hibernation freeze case the driver just releases the resources like dma buffers, irqs, unregisters the drivers and during restore it does register, request the resources. This is not really necessary, as part of power management all the data

[PATCH v2 2/9] net: stmmac: mdio: remove reset gpio free

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch removes gpio_free for reset line of the phy, driver stores the gpio number in its private data-structure to use in future. As the driver uses this pin in future this pin should not be freed. Signed-off-by: Srinivas Kandagatla

[PATCH v2 5/9] net: stmmac: make stmmac_mdio_reset non-static

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch promotes stmmac_mdio_reset function from static to non-static, so that power management functions can decide to reset if the IP comes out from lowe power state specially hibernation cases. Signed-off-by: Srinivas Kandagatla

[PATCH v2 3/9] net: stmmac: move dma allocation to new function

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch moves dma resource allocation to a new function alloc_dma_desc_resources, the reason for moving this to a new function is to keep the memory allocations in a separate function. One more reason it to get suspend and hibernation cases

[PATCH v2 8/9] net: stmmac: restore pinstate in pm resume.

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds code to restore default pinstate of the pins when it comes back from low power state. Without this patch the state of the pins would be unknown and the driver would not work. This patch also adds code to put the pins in to

[PATCH v2 9/9] net: stmmac: notify the PM core of a wakeup event.

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com In PM_SUSPEND_FREEZE and WOL(Wakeup On Lan) case, when the driver gets a wakeup event, either the driver or platform specific PM code should notify the pm core about it, so that the system can wakeup from low power. In cases where there is no

Re: Baytrail problems (was Re: Linux 3.13-rc8)

2014-01-16 Thread Andy Shevchenko
On Thu, 2014-01-16 at 10:29 +0100, Linus Walleij wrote: On Thu, Jan 16, 2014 at 2:49 AM, Linus Torvalds torva...@linux-foundation.org wrote: Adding in the appropriate people... On Tue, Jan 14, 2014 at 7:01 PM, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: It seems to hate

Re: [PATCH v3 3/3] audit: Audit proc cmdline value

2014-01-16 Thread Steve Grubb
On Wednesday, January 15, 2014 09:08:39 PM William Roberts wrote: Try this, cp /bin/ls 'test test test' auditctll -a always,exit -F arch=b64 -S stat -k test ./test\ test\ test './test\ test\ test' auditctl -D ausearch --start recent --key test On the event of weird

Re: [PATCHv9 2/2] dma: Add Freescale eDMA engine driver support

2014-01-16 Thread Arnd Bergmann
On Thursday 16 January 2014, Jingchang Lu wrote: Add Freescale enhanced direct memory(eDMA) controller support. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang b18...@freescale.com Signed-off-by: Jingchang Lu b35...@freescale.com Very nice! All my previous

Re: [PATCH 3/3] Binding: atmel-wm8904: add option to choose clock

2014-01-16 Thread Mark Brown
On Thu, Jan 16, 2014 at 09:33:20AM +0800, Bo Shen wrote: On 01/15/2014 07:54 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: Optional properties: - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt + - clk_from_rk_pin: according to hardware design, clk privide on rk pin

Re: [RFC PATCH] sched: find the latest idle cpu

2014-01-16 Thread Daniel Lezcano
On 01/15/2014 03:37 PM, Alex Shi wrote: On 01/15/2014 03:35 PM, Peter Zijlstra wrote: On Wed, Jan 15, 2014 at 12:07:59PM +0800, Alex Shi wrote: Currently we just try to find least load cpu. If some cpus idled, we just pick the first cpu in cpu mask. In fact we can get the interrupted idle cpu

Re: [PATCH v4] Staging: comedi: convert while loop to timeout in ni_mio_common.c

2014-01-16 Thread Ian Abbott
On 2014-01-16 02:30, Greg KH wrote: On Wed, Jan 15, 2014 at 06:29:21PM +, Hartley Sweeten wrote: On Tuesday, January 14, 2014 8:59 PM, Greg KH wrote: Sleep for at least 10, as I think that's the smallest time delay you can sleep for anyway (meaning it will be that long no matter what

[PATCH] mm: vmstat: Do not display stats for TLB flushes unless debugging

2014-01-16 Thread Mel Gorman
The patch x86: mm: Account for TLB flushes only when debugging removed vmstat counters related to TLB flushes unless CONFIG_DEBUG_TLBFLUSH was set from the vm_event_item enum but not the vmstat_text text. Signed-off-by: Mel Gorman mgor...@suse.de --- mm/vmstat.c | 4 +++- 1 file changed, 3

Re: [PATCHv9 2/2] dma: Add Freescale eDMA engine driver support

2014-01-16 Thread Mark Rutland
On Thu, Jan 16, 2014 at 02:30:00AM +, Jingchang Lu wrote: Add Freescale enhanced direct memory(eDMA) controller support. This module can be found on Vybrid and LS-1 SoCs. Signed-off-by: Alison Wang b18...@freescale.com Signed-off-by: Jingchang Lu b35...@freescale.com --- changes in v9:

Re: [RFC PATCH V4] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-01-16 Thread Raghavendra K T
On 01/10/2014 03:22 PM, Jan Kara wrote: On Fri 10-01-14 09:36:56, Jan Kara wrote: On Fri 10-01-14 00:54:50, Raghavendra K T wrote: We limit the number of readahead pages to 4k. max_sane_readahead returns zero on the cpu having no local memory node. Fix that by returning a sanitized number of

Re: [5/11] issue 5: Frequency and uarch invariant task load

2014-01-16 Thread Morten Rasmussen
On Wed, Jan 08, 2014 at 12:31:18PM +, Peter Zijlstra wrote: On Tue, Jan 07, 2014 at 04:19:41PM +, Morten Rasmussen wrote: Potential solution: Frequency invariance has been proposed before [1] where the task load is scaled by the cur/max freq ratio. Another possibility is to use

Re: [PATCH v3 7/7] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-01-16 Thread Arnd Bergmann
On Thursday 16 January 2014, Marc C wrote: And then you can add a regular device driver to drivers/reset that provides a device_reset() API to other drivers, or a system-reset function to be registered as arm_pm_restart. This driver would use syscon_regmap_lookup_by_phandle() to get

Re: Baytrail problems (was Re: Linux 3.13-rc8)

2014-01-16 Thread Daniel Vetter
On Thu, Jan 16, 2014 at 2:49 AM, Linus Torvalds torva...@linux-foundation.org wrote: - i915 console doesn't work Daniel/Dave? We have a bugzilla from Alan Cox but haven't gained too much clue yet what's been going wrong. Especially that old kernels managed to get it to work by forcing the vga

Re: [PATCH V2 1/1] Drivers: hv: Implement the file copy service

2014-01-16 Thread Olaf Hering
On Tue, Jan 14, K. Y. Srinivasan wrote: This function should return valid numbers: +static ssize_t fcopy_write(struct file *file, const char __user *buf, + size_t count, loff_t *ppos) +{ + int error = 0; + + if (count != sizeof(int)) + return 0;

Re: [PATCH v7] Staging: comedi: convert while loop to timeout in ni_mio_common.c

2014-01-16 Thread Ian Abbott
On 2014-01-15 19:22, Chase Southwood wrote: This patch for ni_mio_common.c changes out a while loop for a timeout, which is preferred. Signed-off-by: Chase Southwood chase.southw...@yahoo.com --- Hartley, I sincerely apologize for the obvious mistake, I thought I had built it but clearly I

Re: [PATCH v5 2/4] devicetree: bindings: Document Krait CPU/L1 EDAC

2014-01-16 Thread Lorenzo Pieralisi
On Thu, Jan 16, 2014 at 01:38:40AM +, Stephen Boyd wrote: On 01/15, Stephen Boyd wrote: Ah sorry, I forgot to put the compatible property here like in the dts change. I'll do that in the next revision. Yes we need a compatible property here to match the platform driver. This is

Re: [Question] Should we make the primary interrupt handler configurable for regmap_add_irq_chip()?

2014-01-16 Thread Yi Zhang
2014/1/15 Mark Brown broo...@kernel.org: On Sat, Jan 11, 2014 at 12:15:21PM +0800, Yi Zhang wrote: I met a scenario: As soon as the interrupt is triggered, a wakelock is needed to be held until the threaded handler finishes, I think we may hold it in the primary interrupt handler, but now

Re: [RFC PATCH] sched: find the latest idle cpu

2014-01-16 Thread Peter Zijlstra
On Thu, Jan 16, 2014 at 12:03:13PM +0100, Daniel Lezcano wrote: Hi Alex, it is a nice optimization attempt but I agree with Peter we should focus on integrating cpuidle. The question is how do we integrate cpuidle ? IMHO, the main problem are the governors, especially the menu governor.

[GIT PULL] KVM changes for 3.13 final

2014-01-16 Thread Paolo Bonzini
Linus, The following changes since commit 7e22e91102c6b9df7c4ae2168910e19d2bb14cd6: Linux 3.13-rc8 (2014-01-12 17:04:18 +0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to

Re: [PATCH] headers_check: special case seqbuf_dump()

2014-01-16 Thread Takashi Iwai
At Wed, 15 Jan 2014 11:48:19 +0100, Paul Bolle wrote: make headers_check warns about soundcard.h for (at least) five years now: [...]/usr/include/linux/soundcard.h:1054: userspace cannot reference function or variable defined in the kernel We're apparently stuck with providing

  1   2   3   4   5   6   7   >