[PATCH net v3 4/4] r8152: fix incorrect type in assignment

2013-11-15 Thread Hayes Wang
The data from the hardware should be little endian. Correct the declaration. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index

[PATCH net v3 2/4] r8152: modify the tx flow

2013-11-15 Thread Hayes Wang
Remove the code for sending the packet in the rtl8152_start_xmit(). Let rtl8152_start_xmit() to queue the packet only, and schedule a tasklet to send the queued packets. This simplify the code and make sure all the packet would be sent by the original order. Signed-off-by: Hayes Wang

[PATCH net v3 3/4] r8152: support stopping/waking tx queue

2013-11-15 Thread Hayes Wang
The maximum packet number which a tx aggregation buffer could contain is the buffer size / (packet size + descriptor size). If the tx buffer is empty and the tx queue length is more than the maximum value which is defined above, stop the tx queue. Wake the tx queue after any queued packet is

Re: [PATCH V3] ARM: OMAP2+: omap_device: maintain sane runtime pm status around suspend/resume

2013-11-15 Thread Paul Walmsley
On Thu, 14 Nov 2013, Nishanth Menon wrote: OMAP device hooks around suspend|resume_noirq ensures that hwmod devices are forced to idle using omap_device_idle/enable as part of the last stage of suspend activity. For a device such as i2c who uses autosuspend, it is possible to enter the

Re: [lm-sensors] [PATCHv9 02/20] thermal: introduce device tree parser

2013-11-15 Thread Jean Delvare
Hi Eduardo, On Tue, 12 Nov 2013 15:46:04 -0400, Eduardo Valentin wrote: This patch introduces a device tree bindings for describing the hardware thermal behavior and limits. Also a parser to read and interpret the data and feed it in the thermal framework is presented. This patch

Re: Why have another variable deciding a tracepoint?

2013-11-15 Thread Terje Bergström
On 15.11.2013 06:48, Steven Rostedt wrote: I've been reviewing different users of tracepoints and I stumbled across this: drivers/gpu/host1x/cdma.c: host1x_cdma_push() if (host1x_debug_trace_cmdbuf) trace_host1x_cdma_push(dev_name(cdma_to_channel(cdma)-dev),

[Update PATCH 1/1] Cpufreq: Make governor data on nonboot cpus across system suspend/resume

2013-11-15 Thread Lan Tianyu
Currently, governor of nonboot cpus will be put to EXIT when system suspend. Since all these cpus will be unplugged and the governor usage_count decreases to zero. The governor data and its sysfs interfaces will be freed or released. This makes user config of these governors loss during suspend

Re: 3.10.16 cgroup css_set_lock deadlock

2013-11-15 Thread Tejun Heo
On Thu, Nov 14, 2013 at 05:25:29PM -0600, Shawn Bohrer wrote: In trying to reproduce the cgroup_mutex deadlock I reported earlier in https://lkml.org/lkml/2013/11/11/574 I believe I encountered a different issue that I'm also unable to understand. This machine started out reporting some soft

[PATCH 0/3] mfd: rtsx: Decrease driver size and add new device

2013-11-15 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn With the recent added support request of yet another device, the burden of duplicated code was becoming a little messy. To rectify is, we init rtl8411-like chips to 8411 param first, then modify the different values according each chip. Lee Jones (2):

[PATCH 1/3] mfd: rtsx: reduce code duplication in rtl8411

2013-11-15 Thread micky_ching
From: Lee Jones lee.jo...@linaro.org in order to remove duplicated code in rtl8411, we make 8411 as the base init params, and other like-8411 chips will just change the different value with 8411, this can save some source code. Signed-off-by: Lee Jones lee.jo...@linaro.org Signed-off-by: Micky

[PATCH 2/3] mfd: rtsx: add card reader rtl8402

2013-11-15 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Add card reader rtl8042, rtl8402 is much like rtl8411, so just add it to rtl8411.c Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mfd/rtl8411.c | 29 + drivers/mfd/rtsx_pcr.c |2 ++ 2 files

[PATCH 3/3] mfd: rtsx: Prevent 'used uninitialised' warnings

2013-11-15 Thread micky_ching
From: Lee Jones lee.jo...@linaro.org drivers/mfd/rtl8411.c: In function -F¡rtl8411_fetch_vendor_settings¢:-A drivers/mfd/rtl8411.c:58:7: warning: -F¡reg1¢ is used uninitialized in this function [-Wuninitialized]-A drivers/mfd/rtl8411.c: In function -F¡rtl8411b_fetch_vendor_settings¢:-A

Re: [PATCH v3 2/3] OF: Introduce DT overlay support.

2013-11-15 Thread Pantelis Antoniou
Hi Grant, On Nov 14, 2013, at 10:22 PM, Grant Likely wrote: On Thu, 14 Nov 2013 11:01:35 +0100, Pantelis Antoniou pa...@antoniou-consulting.com wrote: On Nov 14, 2013, at 2:31 AM, Grant Likely wrote: On Tue, 12 Nov 2013 10:30:37 +0100, Pantelis Antoniou pa...@antoniou-consulting.com

Re: [PATCH 0/3] Early use of boot service memory

2013-11-15 Thread Pekka Enberg
On 11/15/13 2:50 AM, jerry.hoem...@hp.com wrote: One already has to specify command line arguments to enable kdump. Yes, so what? The problem with your patch is that now to enable kdump, I have to know that there's a second command line option and if my firmware is broken or not. The

Re: [REVIEW][PATCH 1/2] userns: Better restrictions on when proc and sysfs can be mounted

2013-11-15 Thread Eric W. Biederman
Gao feng gaof...@cn.fujitsu.com writes: Ok,I agree with you that we should make container security by default. What's your idea that introduces option MS_NOT_A_LOCK just like Andy's advisement? It might be doable but it is unnecessary. In libvirt, host creates dev and devpts directories

Re: [PATCH] Cpufreq: Remove fossil comment in the cpufreq_governor_dbs()

2013-11-15 Thread Viresh Kumar
On 15 November 2013 11:24, Lan Tianyu tianyu@intel.com wrote: The related code has been changed and the comment is out of data. So remove it. Signed-off-by: Lan Tianyu tianyu@intel.com --- drivers/cpufreq/cpufreq_governor.c | 4 1 file changed, 4 deletions(-) diff --git

[PATCH V2 2/2] Cpufreq/gov: use tick_nohz_check() to check idle micro accouting support

2013-11-15 Thread Lan Tianyu
Current, od_init() uses get_cpu_idle_time_us() to check whether idle micro accouting is supported. The get_cpu_idle_time_us() returns -1 only when tick nohz is disabled. This patch is to use tick_nohz_check() directly to check nohz enable status instead of get_cpu_idle_time_us(). This can avoid

[PATCH V2 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-11-15 Thread Lan Tianyu
In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq ondemand governor. So add tick_nohz_check() to return tick_nohz_enabled value And use tick_nohz_check() instead of referencing tick_nohz_enabled in the rcutree_plugin.h. Signed-off-by: Lan Tianyu tianyu@intel.com

Re: [PATCH] i915: Use 120MHz LVDS SSC clock for gen5/gen6/gen7

2013-11-15 Thread Daniel Vetter
On Fri, Nov 15, 2013 at 12:39:32AM +0100, Daniel Vetter wrote: On Thu, Nov 14, 2013 at 05:40:36PM -0200, Rodrigo Vivi wrote: On Thu, Nov 14, 2013 at 09:36:10AM -0800, Olof Johansson wrote: On Thu, Nov 14, 2013 at 8:53 AM, Rodrigo Vivi rodrigo.v...@gmail.com wrote: On Wed, Nov 13,

[PATCH TRIVIAL] sched: Fix comments in struct root_domain

2013-11-15 Thread Kamalesh Babulal
Move comments related to RT overload, above rto_count. Signed-off-by: Kamalesh Babulal kamal...@linux.vnet.ibm.com --- kernel/sched/sched.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 88c85b21d633..ca452e63f203

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Thu, 14 Nov 2013 09:10:07 +0100 Martin Schwidefsky schwidef...@de.ibm.com wrote: On Wed, 13 Nov 2013 16:16:35 + Catalin Marinas catalin.mari...@arm.com wrote: On 13 November 2013 08:16, Martin Schwidefsky schwidef...@de.ibm.com wrote: diff --git

Re: [BUG] perf stat: explicit grouping yields unexpected results

2013-11-15 Thread Stephane Eranian
On Fri, Nov 15, 2013 at 7:34 AM, Ingo Molnar mi...@kernel.org wrote: * Stephane Eranian eran...@google.com wrote: Jiri, I was trying the grouping support in perf stat and I was surprised to see that if I create a group that is too big to be scheduled, and where only N out of P events can

Re: [PATCH] ARM: orion5x: Fix typo in device_type property of phy node

2013-11-15 Thread srinivas kandagatla
On 14/11/13 15:36, Andrew Lunn wrote: Please CC: the Marvell maintainers for patches like this. I added them in CC: Acked-by: Andrew Lunn and...@lunn.ch Thanks for the ack and adding Marvell maintainers in CC. --srini -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH 2/2] x86: Add support for uncompressed kernel images

2013-11-15 Thread Christian Ruppert
On Thu, Nov 14, 2013 at 09:31:44AM -0800, H. Peter Anvin wrote: So it sounds like we're starting from the beginning - I presume that means the patch currently in the kernel should be reverted first? Ack -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: IPv6: Blackhole route support partial ?

2013-11-15 Thread Kamala R
Hi, That's right. We don't show the error for IPv4 routes as it follows a different path in kernel while dumping the information as compared with IPv6. Therefore, ip route show does not show an error while ip -6 route show does. So it looks to me that this a kernel problem which needs to be

[PATCH RESEND] sched/fair: simple cleanup in update_sg_lb_stats()

2013-11-15 Thread Kamalesh Babulal
Add rq-nr_running to sgs-sum_nr_running directly instead of assigning it through an intermediate variable nr_running. Signed-off-by: Kamalesh Babulal kamal...@linux.vnet.ibm.com --- kernel/sched/fair.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kernel/sched/fair.c

Re: /proc/vmcore mmap() failure issue

2013-11-15 Thread HATAYAMA Daisuke
(2013/11/15 0:13), Vivek Goyal wrote: On Thu, Nov 14, 2013 at 07:31:37PM +0900, HATAYAMA Daisuke wrote: [..] BTW, I previously found a part of makedumpfile that truncates the first and last pages if they are not aligned in page size. Discussing with Kumagai-san, the truncation is performed on

Re: [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Jonas Bonn
Hi Geert, I'll pull this into my OpenRISC tree now as-is, but there's a couple of things that need sorting out before this can be upstreamed... see below. Thanks, Jonas On 11/09/2013 09:37 PM, Geert Uytterhoeven wrote: Add a DTS and defconfig for the Terasic DE0-Nano Development and

Re: [PATCH 2/2] x86: Add support for uncompressed kernel images

2013-11-15 Thread Christian Ruppert
On Thu, Nov 14, 2013 at 09:45:12AM -0800, H. Peter Anvin wrote: On 11/14/2013 12:38 AM, Christian Ruppert wrote: diff --git a/lib/decompress_copy.c b/lib/decompress_copy.c new file mode 100644 index 000..8a41090 --- /dev/null +++ b/lib/decompress_copy.c @@ -0,0 +1,47 @@

Re: [PATCH 00/40] staging/lustre: patch bomb 1

2013-11-15 Thread Peng Tao
On Fri, Nov 15, 2013 at 11:59 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Some of the stuff here looks a lot like new features / functionality to me, insead of just cleanups and fixes. Ideally, you all would only work on cleanups and getting this code out of staging, and not add

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Jonas Bonn
On 11/10/2013 06:51 AM, Stefan Kristiansson wrote: On Sat, Nov 09, 2013 at 09:37:31PM +0100, Geert Uytterhoeven wrote: Notable changes: - Change flash0 to spansion,s25sl064p, due to kernel message m25p80 spi32766.0: found s25sl064p, expected m25p10 This is due to Altera changing the

[PATCH v7 2/2] PWM: atmel-pwm: add device tree binding document

2013-11-15 Thread Bo Shen
Add atmel pwm driver device tree binding document Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Kumar Gala ga...@codeaurora.org --- Changes in v7: None Changes in v6: - New, split binding document as a separate patch

Re: [PATCH 04/40] staging/lustre/llite: Access to released file trigs a restore

2013-11-15 Thread Peng Tao
On Fri, Nov 15, 2013 at 12:09 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Nov 15, 2013 at 12:13:06AM +0800, Peng Tao wrote: From: JC Lafoucriere jacques-charles.lafoucri...@cea.fr When a client accesses data in a released file, or truncate it, client must trig a restore

[PATCH v7 1/2] PWM: atmel-pwm: add PWM controller driver

2013-11-15 Thread Bo Shen
Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Changes in v7:

[PATCH] dma: k3dma: add missing clk_disable_unprepare() on error in k3_dma_probe()

2013-11-15 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing clk_disable_unprepare() before return from k3_dma_probe() in the error handling case. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/dma/k3dma.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

Re: [PATCH 1/2] mm: hugetlbfs: Add some VM_BUG_ON()s to catch non-hugetlbfs pages

2013-11-15 Thread Mel Gorman
On Thu, Nov 14, 2013 at 03:33:58PM -0800, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com Dave Jiang reported that he was seeing oopses when running NUMA systems and default_hugepagesz=1G. I traced the issue down to migrate_page_copy() trying to use the same code for

Re: [PATCH 13/17] openrisc: Refactor or32_early_setup()

2013-11-15 Thread Jonas Bonn
On 11/12/2013 08:42 PM, Geert Uytterhoeven wrote: - Change fdt pointer (passed from head.S) from unsigned int to void *, which allows to kill a cast, and makes it compatible with __dtb_start. - Use pr_info(), - Extract common part. Signed-off-by: Geert Uytterhoeven

Re: perf code using smp_processor_id() in preemptible [00000000] code

2013-11-15 Thread Peter Zijlstra
On Thu, Nov 14, 2013 at 10:29:07PM -0500, Dave Jones wrote: BUG: using smp_processor_id() in preemptible [] code: trinity-main/890 caller is p4_pmu_schedule_events+0x25/0x4c0 Whee, wherever did you dig up that dinosaur ;-) CPU: 0 PID: 890 Comm: trinity-main Not tainted 3.12.0+ #3

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Andrew Back
On 15 November 2013 09:52, Jonas Bonn jo...@southpole.se wrote: On 11/10/2013 06:51 AM, Stefan Kristiansson wrote: On Sat, Nov 09, 2013 at 09:37:31PM +0100, Geert Uytterhoeven wrote: Notable changes: - Change flash0 to spansion,s25sl064p, due to kernel message m25p80 spi32766.0:

Re: [BUG] perf stat: explicit grouping yields unexpected results

2013-11-15 Thread Peter Zijlstra
On Fri, Nov 15, 2013 at 07:34:57AM +0100, Ingo Molnar wrote: Btw., does the kernel side currently support discovery of such impossible group scheduling constraints at group setup time? Up to a point. If not then it probably should and it should reject them straight away. We do I think,

Re: [PATCH 2/2] x86: Add support for uncompressed kernel images

2013-11-15 Thread H. Peter Anvin
On 11/15/2013 01:49 AM, Christian Ruppert wrote: Actually, the x86 architecture already contains a basic implementation of memcpy in its self-decompressor. Correct me if I'm wrong but I guess memmove is not required since I don't expect the output of a generic decompression function to

Re: [PATCH TRIVIAL] sched: Fix comments in struct root_domain

2013-11-15 Thread Peter Zijlstra
On Fri, Nov 15, 2013 at 02:28:37PM +0530, Kamalesh Babulal wrote: Move comments related to RT overload, above rto_count. Signed-off-by: Kamalesh Babulal kamal...@linux.vnet.ibm.com --- kernel/sched/sched.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

Re: [PATCH RESEND] sched/fair: simple cleanup in update_sg_lb_stats()

2013-11-15 Thread Peter Zijlstra
On Fri, Nov 15, 2013 at 03:06:52PM +0530, Kamalesh Babulal wrote: Add rq-nr_running to sgs-sum_nr_running directly instead of assigning it through an intermediate variable nr_running. Signed-off-by: Kamalesh Babulal kamal...@linux.vnet.ibm.com Thanks! -- To unsubscribe from this list: send

[PATCH] ARM: at91/dt: binding: add precision to AIC documentation

2013-11-15 Thread Nicolas Ferre
In response to the undocumented compatible strings message, here is a patch which is adding the precision of two chips that should be used for the atmel,chip-aic compatibility string. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- Documentation/devicetree/bindings/arm/atmel-aic.txt | 1

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Geert Uytterhoeven
On Fri, Nov 15, 2013 at 11:04 AM, Andrew Back and...@abopen.com wrote: P012060013 94V-0 HL9-VO Same here. 1227 F Mine says 1321 F Do you have the 8 MiB Spansion FL064PIF? Plus a barcode sticker which I assume is the S/N. Idem ditto. And the last 4 digits don't match the sticker on the

[PATCH] ARM: at91/dt: binding: add missing compatibility string in SDRAM/DDR documentation

2013-11-15 Thread Nicolas Ferre
The atmel,at91rm9200-sdramc was missing from binding documentation. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- Documentation/devicetree/bindings/arm/atmel-at91.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: Re: Re: [PATCH v2 10/13] kprobes: Remove uneeded kernel dependency on struct arch_specific_insn

2013-11-15 Thread Masami Hiramatsu
(2013/11/14 23:15), Jon Medhurst (Tixy) wrote: On Thu, 2013-11-14 at 11:02 +0900, Masami Hiramatsu wrote: (2013/11/14 2:13), Jon Medhurst (Tixy) wrote: On Tue, 2013-10-15 at 17:04 -0400, David Long wrote: From: David A. Long dave.l...@linaro.org Instead of depending on include/asm/kprobes.h

Re: [BUG] perf stat: explicit grouping yields unexpected results

2013-11-15 Thread Stephane Eranian
On Fri, Nov 15, 2013 at 11:05 AM, Peter Zijlstra pet...@infradead.org wrote: On Fri, Nov 15, 2013 at 07:34:57AM +0100, Ingo Molnar wrote: Btw., does the kernel side currently support discovery of such impossible group scheduling constraints at group setup time? Up to a point. It is only

[PATCH] cpufreq: suspend/resume governors with PM notifiers

2013-11-15 Thread Viresh Kumar
This patch adds PM notifiers for handling suspend/resume of cpufreq governors. This is required for early suspend and late resume of governors. There are multiple reasons that support this patch: - Firstly it looks very much logical to stop governors when we know we are going into suspend. But

Re: [ORLinux] [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Andrew Back
On 15 November 2013 10:10, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Fri, Nov 15, 2013 at 11:04 AM, Andrew Back and...@abopen.com wrote: P012060013 94V-0 HL9-VO Same here. 1227 F Mine says 1321 F Do you have the 8 MiB Spansion FL064PIF? Yes. Although it looks as though someone

Re: recursive locking (coredump/vfs_write)

2013-11-15 Thread Peter Wu
Hi, On Wednesday 13 November 2013 16:11:47 Dave Jones wrote: Hey Al, here's another one.. [..] I also saw this warning with a slightly different path. Kernel is v3.12-7033-g42a2d92, the out-of-tree module below is unrelated (bbswitch). This was triggered when trying trying to get a

Re: perf code using smp_processor_id() in preemptible [00000000] code

2013-11-15 Thread Cyrill Gorcunov
On Fri, Nov 15, 2013 at 11:02:54AM +0100, Peter Zijlstra wrote: On Thu, Nov 14, 2013 at 10:29:07PM -0500, Dave Jones wrote: BUG: using smp_processor_id() in preemptible [] code: trinity-main/890 caller is p4_pmu_schedule_events+0x25/0x4c0 Whee, wherever did you dig up that

Re: [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Geert Uytterhoeven
Hi Jonas, On Fri, Nov 15, 2013 at 10:50 AM, Jonas Bonn jo...@southpole.se wrote: +++ b/arch/openrisc/boot/dts/de0_nano.dts @@ -0,0 +1,158 @@ +/dts-v1/; +/ { + compatible = opencores,de0_nano; This should probably be altera,de0_nano. We also need to put a version terasic,de0_nano?

Re: [Update PATCH 1/1] Cpufreq: Make governor data on nonboot cpus across system suspend/resume

2013-11-15 Thread Viresh Kumar
On 15 November 2013 13:45, Lan Tianyu tianyu@intel.com wrote: Currently, governor of nonboot cpus will be put to EXIT when system suspend. Since all these cpus will be unplugged and the governor usage_count decreases to zero. The governor data and its sysfs interfaces will be freed or

Re: [PATCH 05/40] staging/lustre: validate open handle cookies

2013-11-15 Thread Peng Tao
On Fri, Nov 15, 2013 at 12:13 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Nov 15, 2013 at 12:13:07AM +0800, Peng Tao wrote: From: John L. Hammond john.hamm...@intel.com Add a const void *h_owner member to struct portals_handle. Add a const void *owner parameter to

Re: Re: [PATCH v2 10/13] kprobes: Remove uneeded kernel dependency on struct arch_specific_insn

2013-11-15 Thread Masami Hiramatsu
(2013/11/15 5:33), David Long wrote: On 11/14/13 09:15, Jon Medhurst (Tixy) wrote: On Thu, 2013-11-14 at 11:02 +0900, Masami Hiramatsu wrote: (2013/11/14 2:13), Jon Medhurst (Tixy) wrote: On Tue, 2013-10-15 at 17:04 -0400, David Long wrote: From: David A. Long dave.l...@linaro.org Instead

Re: [PATCH 2/2] mm: thp: give transparent hugepage code a separate copy_page

2013-11-15 Thread Mel Gorman
On Thu, Nov 14, 2013 at 03:34:00PM -0800, Dave Hansen wrote: Changes from v1: * removed explicit might_sleep() in favor of the one that we get from the cond_resched(); -- From: Dave Hansen dave.han...@linux.intel.com Right now, the migration code in migrate_page_copy() uses

Re: [PATCH 07/40] staging/lustre/hsm: Implementation of exclusive open

2013-11-15 Thread Peng Tao
On Fri, Nov 15, 2013 at 12:17 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Nov 15, 2013 at 12:13:09AM +0800, Peng Tao wrote: From: Jinshan Xiong jinshan.xi...@intel.com In this patch, a framework of lease is implemented. However, only exclusive lease is supported right

Re: [RFC PATCH] cpufreq: cpufreq-cpu0: do not allow transitions with regulators suspended

2013-11-15 Thread Viresh Kumar
On 14 November 2013 22:34, Nishanth Menon n...@ti.com wrote: I think it is still too early to do so :( :) equivalent patch: http://pastebin.mozilla.org/3603467 (with minor changes for build) Basic tests: http://pastebin.mozilla.org/3603456 (governor is functional, but governor kicks in

Re: [PATCH 01/39] staging/lustre/hsm: remove hsm_nl proc file

2013-11-15 Thread Peng Tao
On Fri, Nov 15, 2013 at 12:26 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Nov 15, 2013 at 12:32:24AM +0800, Peng Tao wrote: From: John L. Hammond john.hamm...@intel.com Remove the file /proc/fs/lustre/mdc/*/hsm_nl which was introduced for testing purposes. What does

Re: [BUG] perf stat: explicit grouping yields unexpected results

2013-11-15 Thread Ingo Molnar
* Stephane Eranian eran...@google.com wrote: On Fri, Nov 15, 2013 at 7:34 AM, Ingo Molnar mi...@kernel.org wrote: * Stephane Eranian eran...@google.com wrote: Jiri, I was trying the grouping support in perf stat and I was surprised to see that if I create a group that is too big

Re: [PATCH V2 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-11-15 Thread Viresh Kumar
On 15 November 2013 14:05, Lan Tianyu tianyu@intel.com wrote: In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq ondemand governor. So add tick_nohz_check() to return tick_nohz_enabled value And use tick_nohz_check() instead of referencing tick_nohz_enabled in

Re: [PATCH V2 2/2] Cpufreq/gov: use tick_nohz_check() to check idle micro accouting support

2013-11-15 Thread Viresh Kumar
On 15 November 2013 14:05, Lan Tianyu tianyu@intel.com wrote: Current, od_init() uses get_cpu_idle_time_us() to check whether idle micro accouting is supported. The get_cpu_idle_time_us() returns -1 only when tick nohz is disabled. This patch is to use tick_nohz_check() directly to check

[GIT PULL] OpenRISC updates for 3.13

2013-11-15 Thread Jonas Bonn
The following changes since commit 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52: Linux 3.12 (2013-11-03 15:41:51 -0800) are available in the git repository at: git://git.openrisc.net/~jonas/linux tags/for-3.13 for you to fetch changes up to 621c2cd853fca98258b720d9fe7e8c031ec7f96f:

Re: call_usermodehelper in containers

2013-11-15 Thread Stanislav Kinsbursky
12.11.2013 17:30, Jeff Layton пишет: On Tue, 12 Nov 2013 17:02:36 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: 12.11.2013 15:12, Jeff Layton пишет: On Mon, 11 Nov 2013 16:47:03 -0800 Greg KH gre...@linuxfoundation.org wrote: On Mon, Nov 11, 2013 at 07:18:25AM -0500, Jeff

Re: [BUG] perf stat: explicit grouping yields unexpected results

2013-11-15 Thread Stephane Eranian
On Fri, Nov 15, 2013 at 11:34 AM, Ingo Molnar mi...@kernel.org wrote: * Stephane Eranian eran...@google.com wrote: On Fri, Nov 15, 2013 at 7:34 AM, Ingo Molnar mi...@kernel.org wrote: * Stephane Eranian eran...@google.com wrote: Jiri, I was trying the grouping support in perf stat

Re: [PATCH v3 3/3] ARM: at91/rtc: disable interrupts at shutdown

2013-11-15 Thread Nicolas Ferre
On 16/10/2013 11:56, Johan Hovold : Make sure RTC-interrupts are disabled at shutdown. As the RTC is generally powered by backup power (VDDBU), its interrupts are not disabled on wake-up, user, watchdog or software reset. This could cause troubles on other systems (e.g. older kernels) if an

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Catalin Marinas
On Thu, Nov 14, 2013 at 04:33:59PM +, Martin Schwidefsky wrote: On Thu, 14 Nov 2013 13:22:23 + Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Nov 14, 2013 at 08:10:07AM +, Martin Schwidefsky wrote: On Wed, 13 Nov 2013 16:16:35 + Catalin Marinas

Re: [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Geert Uytterhoeven
On Fri, Nov 15, 2013 at 11:22 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: The supplied schematics filename is de0-nano-c4-rev-c\(release_cd_rom\).pdf, and the drawings mention Rev C. The block diagram on page 2 still says EPCS16 (16 Mb), but on page 8 it mentions EPCS64, which is what's

Re: [BUG] perf stat: explicit grouping yields unexpected results

2013-11-15 Thread Peter Zijlstra
On Fri, Nov 15, 2013 at 11:13:27AM +0100, Stephane Eranian wrote: On Fri, Nov 15, 2013 at 11:05 AM, Peter Zijlstra pet...@infradead.org wrote: On Fri, Nov 15, 2013 at 07:34:57AM +0100, Ingo Molnar wrote: Btw., does the kernel side currently support discovery of such impossible group

Re: [BUG] perf stat: explicit grouping yields unexpected results

2013-11-15 Thread Peter Zijlstra
On Fri, Nov 15, 2013 at 11:34:05AM +0100, Ingo Molnar wrote: That brings up an interesting question: what is better for users, if we schedule as many as we can and say 'not supported' to the rest (current behavior), or if we fail the whole group? Obviously fail the whole group :-) -- To

[uclinux-dist-devel] [GIT PULL] Blackfin updates for 3.13

2013-11-15 Thread Steven Miao
Hi Linus, please pull blackfin updates for Linux 3.13, blackfin gpio changes, add adi pinctrl driver, and bug fixes. The following changes since commit 5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52: Linux 3.12 (2013-11-03 15:41:51 -0800) are available in the git repository at:

[git pull] drm regression fix

2013-11-15 Thread Dave Airlie
Forgot this one liner was necessary to fix module reload issues introduced earlier in the pull Thanks, Dave. The following changes since commit 0846c728e20a0cd1e43fb75a3015f3b176a26466: Merge branch 'drm-nouveau-next' of git://anongit.freedesktop.org/git/nouveau/linux-2.6 into drm-next

Re: [PATCH 10/10] perf record: Add an option to force per-cpu mmaps

2013-11-15 Thread Adrian Hunter
On 15/11/13 08:06, Ingo Molnar wrote: * Arnaldo Carvalho de Melo a...@infradead.org wrote: +--force-per-cpu:: + Force the use of per-cpu mmaps. By default, when tasks are specified (i.e. -p, + -t or -u options) per-thread mmaps are created. This option overrides that and + forces

Re: [Update PATCH 1/1] Cpufreq: Make governor data on nonboot cpus across system suspend/resume

2013-11-15 Thread Viresh Kumar
Adding Rainer as well On 15 November 2013 13:45, Lan Tianyu tianyu@intel.com wrote: Currently, governor of nonboot cpus will be put to EXIT when system suspend. Since all these cpus will be unplugged and the governor usage_count decreases to zero. The governor data and its sysfs interfaces

Re: [PATCH] openrisc: Add DTS and defconfig for DE0-Nano

2013-11-15 Thread Jonas Bonn
On 11/15/2013 11:22 AM, Geert Uytterhoeven wrote: This should probably be altera,de0_nano. We also need to put a version terasic,de0_nano? The board says Designed and manufactured by Terasic. Hmm, the sticker on the box says Altera DE0-Nano. Good question... Version number needed.

[PATCH] staging: dwc2: do not clear pending interrupts twice

2013-11-15 Thread Julien DELACOU
Pending interrupts clearing is done in dwc2_enable_common_interrupts so we don't need to do it twice. Signed-off-by: Julien Delacou julien.dela...@st.com --- drivers/staging/dwc2/core.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/dwc2/core.c

Re: [PATCH] staging: dwc2: do not clear pending interrupts twice

2013-11-15 Thread Dan Carpenter
On Fri, Nov 15, 2013 at 11:39:38AM +0100, Julien DELACOU wrote: Pending interrupts clearing is done in dwc2_enable_common_interrupts so we don't need to do it twice. Are there any user visible effects to this bug? How did you spot it? regards, dan carpenter -- To unsubscribe from this

[PATCH] MAINTAINERS: Update Pegasus and RTL8150 driver repositories;

2013-11-15 Thread Petko Manolov
From: Petko Manolov pet...@nucleusys.com Date: Fri, 15 Nov 2013 11:51:54 +0200 Subject: [PATCH] Update Pegasus and RTL8150 repositories; Update Pegasus and RTL8150 driver repositories; The diff is against latest 'net' repository; Signed-off-by: Petko Manolov pet...@nucleusys.com ---

Re: call_usermodehelper in containers

2013-11-15 Thread Eric W. Biederman
Stanislav Kinsbursky skinsbur...@parallels.com writes: 12.11.2013 17:30, Jeff Layton пишет: On Tue, 12 Nov 2013 17:02:36 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: 12.11.2013 15:12, Jeff Layton пишет: On Mon, 11 Nov 2013 16:47:03 -0800 Greg KH gre...@linuxfoundation.org

Re: [PATCH V2 1/2] Tick: Introduce tick_nohz_check() to check nohz enable status

2013-11-15 Thread Thomas Gleixner
On Fri, 15 Nov 2013, Lan Tianyu wrote: In some cases, nohz enable status needs to be checked. E.G, in RCU and cpufreq ondemand governor. So add tick_nohz_check() to return tick_nohz_enabled value And use tick_nohz_check() instead of referencing tick_nohz_enabled in the rcutree_plugin.h.

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

2013-11-15 Thread Mark Rutland
On Thu, Nov 14, 2013 at 04:41:41PM +, Sricharan R wrote: Hi Mark, On Thursday 14 November 2013 07:42 PM, Mark Rutland wrote: On Thu, Nov 14, 2013 at 12:18:48PM +, Sricharan R wrote: Some socs have a large number of interrupts requests to service the needs of its many peripherals

Re: [PATCH v3 1/3] ARM: at91: fix hanged boot due to early rtc-interrupt

2013-11-15 Thread Nicolas Ferre
On 16/10/2013 11:56, Johan Hovold : Make sure the RTC-interrupts are masked at boot by adding a new helper function to be used at SOC-init. This fixes hanged boot on all AT91 SOCs with an RTC (but RM9200), for example, after a reset during an RTC-update or if an RTC-alarm goes off after

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Fri, 15 Nov 2013 10:44:37 + Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Nov 14, 2013 at 04:33:59PM +, Martin Schwidefsky wrote: On Thu, 14 Nov 2013 13:22:23 + Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Nov 14, 2013 at 08:10:07AM +, Martin

Re: [PATCH 10/10] perf record: Add an option to force per-cpu mmaps

2013-11-15 Thread Ingo Molnar
* Adrian Hunter adrian.hun...@intel.com wrote: And I also raised why this shouldn't be the default event tracing method instead of a weird config option. Per-cpu tracing is cache compact, it is easier to size properly and in general it is pretty easy to think about. (It also has less

Re: [PATCH v3 2/3] ARM: at91: fix hanged boot due to early rtt-interrupt

2013-11-15 Thread Nicolas Ferre
On 16/10/2013 11:56, Johan Hovold : Make sure the RTT-interrupts are masked at boot by adding a new helper function to be used at SOC-init. This fixes hanged boot on all AT91 SOCs with an RTT, for example, if an RTT-alarm goes off after a non-clean shutdown (e.g. when using RTC wakeup). The

Re: [RFC][PATCH 11/13] dump_skip(): dump_seek() replacement taking coredump_params

2013-11-15 Thread Geert Uytterhoeven
Hi Al, On Wed, Oct 9, 2013 at 2:15 AM, Al Viro v...@ftp.linux.org.uk wrote: --- a/fs/coredump.c +++ b/fs/coredump.c @@ -714,32 +706,25 @@ int dump_emit(struct coredump_params *cprm, const void *addr, int nr) } EXPORT_SYMBOL(dump_emit); -int dump_seek(struct file *file, loff_t off)

Re: [PATCH 2/2] s390/mm,tlb: race of lazy TLB flush vs. recreation of TLB entries

2013-11-15 Thread Martin Schwidefsky
On Fri, 15 Nov 2013 12:10:00 +0100 Martin Schwidefsky schwidef...@de.ibm.com wrote: On Fri, 15 Nov 2013 10:44:37 + Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Nov 14, 2013 at 04:33:59PM +, Martin Schwidefsky wrote: On Thu, 14 Nov 2013 13:22:23 + Catalin Marinas

Re: [PATCH 10/10] perf record: Add an option to force per-cpu mmaps

2013-11-15 Thread Adrian Hunter
On 15/11/13 13:10, Ingo Molnar wrote: * Adrian Hunter adrian.hun...@intel.com wrote: And I also raised why this shouldn't be the default event tracing method instead of a weird config option. Per-cpu tracing is cache compact, it is easier to size properly and in general it is pretty

Re: [PATCH V4 1/4] DRIVERS: IRQCHIP: IRQ-GIC: Add support for routable irqs

2013-11-15 Thread Mark Rutland
On Thu, Nov 14, 2013 at 04:46:36PM +, Sricharan R wrote: Hi Mark, On Thursday 14 November 2013 07:31 PM, Mark Rutland wrote: On Thu, Nov 14, 2013 at 12:18:47PM +, Sricharan R wrote: In some socs the gic can be preceded by a crossbar IP which routes the peripheral interrupts to

[GIT PULL] at91: non-critical fixes for 3.13 #1

2013-11-15 Thread Nicolas Ferre
Arnd, Olof, Kevin, This is a pull-request for AT91 about non-critical fixes for 3.13. This means that you can certainly plan it for early 3.14. It is not a 3.13 regression as this issue has been present for ages. I have tagged the patch for -stable down to 3.11.y as they need modification to

Re: [PATCH v2] panic: setup panic_timeout early

2013-11-15 Thread Ingo Molnar
* Felipe Contreras felipe.contre...@gmail.com wrote: On Tue, Nov 12, 2013 at 6:03 PM, Ingo Molnar mi...@kernel.org wrote: +static int __init set_panic_timeout(char *val) +{ + long timeout; + int ret; + + ret = kstrtol(val, 0, timeout); + if (ret 0) +

Re: [PATCH 2/2] dt: binding documentation for isp1704 charger

2013-11-15 Thread Mark Rutland
On Thu, Nov 14, 2013 at 12:38:54PM +, Sebastian Reichel wrote: Add devicetree binding documentation for isp1704-charger. Signed-off-by: Sebastian Reichel s...@debian.org --- Documentation/devicetree/bindings/power/isp1704.txt | 17 + 1 file changed, 17 insertions(+)

[PATCH] regmap: Fix 'ret' would return an uninitialized value

2013-11-15 Thread Caizhiyong
From: Cai Zhiyong caizhiy...@huawei.com Date: Mon, 11 Nov 2013 19:26:14 +0800 Subject: [PATCH] regmap: Fix 'ret' would return an uninitialized value This patch give a warning when calling regmap_register_patch with parameter num_regs = 0. When the num_regs parameter is zero and krealloc doesn't

Re: perf code using smp_processor_id() in preemptible [00000000] code

2013-11-15 Thread Cyrill Gorcunov
On Fri, Nov 15, 2013 at 02:19:46PM +0400, Cyrill Gorcunov wrote: Thanks for report, Dave! Dave, could you please give the patch a shot? --- From: Cyrill Gorcunov gorcu...@openvz.org Subject: x86, perf: P4 PMU -- protect p4_pmu_schedule_events from preemption Dave reported | BUG: using

Re: [PATCH] rtc: rtc-ds1742: Add devicetree support

2013-11-15 Thread Mark Rutland
On Thu, Nov 14, 2013 at 12:32:42PM +, Alexander Shiyan wrote: This patch allows the driver to be enabled with devicetree. Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- Documentation/devicetree/bindings/rtc/maxim,ds1742.txt | 14 ++ drivers/rtc/rtc-ds1742.c

Re: [GIT PULL] Btrfs

2013-11-15 Thread Heiko Carstens
On Thu, Nov 14, 2013 at 12:19:52PM -0500, Chris Mason wrote: Hi Linus, Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus This is our usual merge window set of bug fixes, performance improvements and cleanups. Miao Xie has

[BUG] perf report: bogus event group name reported

2013-11-15 Thread Stephane Eranian
Hi, Testing event group in sampling mode and finding issues on the reporting side: $ perf record --group -e 'grp1{cycles,instructions}' noploop 1 $ perf report --group --stdio ... # group: M^B{cycles,instructions} broken group name # # # Samples: 8K of event

[RFC v2 0/4] Add basic support for ASV

2013-11-15 Thread Sachin Kamat
Original cover letter from Yadwinder: This series is to add basic common infrastructure for ASV. Basically ASV is a technique used on samsung SoCs, which provides the recommended supply voltage for dvfs of arm, mif etc. For a given operating frequency, the voltage is recommended based on SoC's

[RFC v2 2/4] power: asv: Add a common ASV driver for Exynos SoCs.

2013-11-15 Thread Sachin Kamat
From: Yadwinder Singh Brar yadi.b...@samsung.com This patch adds a common platform driver to register ASV members for Exynos SoCs. Signed-off-by: Yadwinder Singh Brar yadi.b...@samsung.com Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/power/asv/Kconfig | 13

  1   2   3   4   5   6   7   8   9   10   >