Re: [PATCH v3 next/akpm] aio: convert the ioctx list to radix tree

2013-06-14 Thread Octavian Purdila
On Wed, Jun 12, 2013 at 10:40 PM, Zach Brown wrote: >> I've got an alternate approach for fixing this wart in lookup_ioctx()... >> Instead of using an rbtree, just use the reserved id in the ring buffer >> header to index an array pointing the ioctx. It's not finished yet, and >> it needs to be

Re: [PATCH] pci: Enable overrides for missing ACS capabilities

2013-06-14 Thread Alex Williamson
Bump. Comments? On Thu, 2013-05-30 at 12:40 -0600, Alex Williamson wrote: > PCIe ACS (Access Control Services) is the PCIe 2.0+ feature that > allows us to control whether transactions are allowed to be redirected > in various subnodes of a PCIe topology. For instance, if two > endpoints are

Re: [PATCH 11/11] cgroup: use percpu refcnt for cgroup_subsys_states

2013-06-14 Thread Michal Hocko
On Fri 14-06-13 18:15:12, Glauber Costa wrote: > On Fri, Jun 14, 2013 at 02:55:39PM +0200, Michal Hocko wrote: > > On Wed 12-06-13 21:04:58, Tejun Heo wrote: > > [...] > > > +/** > > > + * cgroup_destroy_locked - the first stage of cgroup destruction > > > + * @cgrp: cgroup to be destroyed > > > +

Re: [PATCH] tracing/uprobes: Support ftrace_event_file base multibuffer

2013-06-14 Thread Oleg Nesterov
On 06/14, Oleg Nesterov wrote: > > On 06/14, Masami Hiramatsu wrote: > > > > Srikar, Oleg, could you check that? > > I'll definitely try to read this series on Monday. Yes, but Masami is certainly right. synchronize_sched() can't help without rcu lock in uprobe_trace_func/etc. Also,

Re: [PATCH v4] irqchip: Add support for ARMv7-M's NVIC

2013-06-14 Thread Arnd Bergmann
On Wednesday 12 June 2013, Uwe Kleine-König wrote: > This interrupt controller is found on Cortex-M3 and Cortex-M4 machines. > > Support for this controller appeared in Catalin's Cortex tree based on > 2.6.33 but was nearly completely rewritten. > > Signed-off-by: Catalin Marinas >

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000040

2013-06-14 Thread Bjorn Helgaas
[+cc Ming, Hayes, Francois, r8169 list] On Fri, Jun 14, 2013 at 6:49 AM, nirinA raseliarison wrote: > hello there, > i have this ethernet controler: > > Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet > controller (rev 05) > > that uses the r8169 module. > it works

Re: [PATCH] slub: Avoid direct compaction if possible

2013-06-14 Thread Christoph Lameter
On Fri, 14 Jun 2013, Roman Gushchin wrote: > Slub tries to allocate contiguous pages even if memory is fragmented and > there are no free contiguous pages. In this case it calls direct compaction > to allocate contiguous page. Compaction requires the taking of some heavily > contended locks (e.g.

Re: [PATCH 1/3] ARM: mach-moxart: add MOXA ART SoC files

2013-06-14 Thread Jonas Jensen
Hi, Thanks for the replies. What isn't commented below should already be fixed. I'll resubmit the entire set when it looks like there's nothing left to amend. On 13 June 2013 00:42, Olof Johansson wrote: > You should provide a commit message, ideally with a short introduction of the >

Re: [PATCH 2/3] ARM: mach-moxart: add MOXA ART device tree files

2013-06-14 Thread Jonas Jensen
Hi, Thanks for the replies. What isn't commented below should already be fixed. On 13 June 2013 00:49, Olof Johansson wrote: > Hi, > > You should add a bindings description for the MOXA SoC platforms, similar to > how others do it, under Documentation/devicetree/bindings/arm/. The following

Re: [PATCH 3/3] ARM: mach-moxart: add MOXA ART UART debug files

2013-06-14 Thread Jonas Jensen
Hi, Thanks for the replies. On 13 June 2013 00:56, Olof Johansson wrote: >> diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug >> index 1d41908..a0e4a32 100644 >> --- a/arch/arm/Kconfig.debug >> +++ b/arch/arm/Kconfig.debug >> @@ -422,6 +422,15 @@ choice >> Say Y here

Re: [PATCH V2] i2c: designware: fix race between subsequent xfers

2013-06-14 Thread Wolfram Sang
On Fri, Jun 07, 2013 at 10:51:23AM +0200, Christian Ruppert wrote: > The designware block is not always properly disabled in the case of > transfer errors. Interrupts from aborted transfers might be handled > after the data structures for the following transfer are initialised but > before the

Re: [PATCH] dma-mapping: Add BUG_ON for uninitialized dma_ops

2013-06-14 Thread Arnd Bergmann
On Thursday 13 June 2013, James Bottomley wrote: > On Wed, 2013-06-12 at 17:06 +0200, Arnd Bergmann wrote: > > On Tuesday 11 June 2013, James Bottomley wrote: > > > Really, no, it's not a good idea at all. It invites tons of patches > > > littering the code with BUG_ONs where we might possibly

[PATCH] sched: schedule_raw_spin_unlock() and schedule_spin_unlock()

2013-06-14 Thread Kirill Tkhai
Helpers for replacement repeating patterns: 1)raw_spin_unlock_irq(lock); schedule(); 2)raw_spin_unlock_irqrestore(lock, flags); schedule(); (The same for spinlock_t) They allow to prevent excess preempt_schedule(), which can happen on preemptible kernel. Signed-off-by: Kirill Tkhai CC:

Re: [PATCH v2 2/4] gpu: host1x: add runtime pm support for gr2d

2013-06-14 Thread Mayuresh Kulkarni
On Thursday 13 June 2013 08:44 PM, Stephen Warren wrote: On 06/13/2013 03:53 AM, Mayuresh Kulkarni wrote: Patch description? I thought the patch subject is sufficient to tell what it is it doing. Description here would be repetition in my opinion. Also, the cover letter for the patch-set

Re: [PATCH 1/2] pinctrl: add function to parse generic pinconfig properties from a dt node

2013-06-14 Thread Laurent Pinchart
Hi Heiko, On Friday 14 June 2013 09:34:14 Heiko Stübner wrote: > Am Freitag, 14. Juni 2013, 02:27:01 schrieb Laurent Pinchart: > > Hi Heiko, > > > > Thank you for the patch. I've tested it on an sh73a0 KZM9G board with the > > sh- pfc driver and it seems to work fine. Please see the code below

Re: [PATCH 1/3] ARM: mach-moxart: add MOXA ART SoC files

2013-06-14 Thread Arnd Bergmann
On Wednesday 12 June 2013 14:34:06 Jonas Jensen wrote: > diff --git a/arch/arm/mach-moxart/idle.c b/arch/arm/mach-moxart/idle.c > new file mode 100644 > index 000..73ed844 > --- /dev/null > +++ b/arch/arm/mach-moxart/idle.c > @@ -0,0 +1,21 @@ > +/* Copyright (C) 2013 Jonas Jensen > + * This

Re: [PATCH v2 3/4] gpu: host1x: add runtime pm support for dc

2013-06-14 Thread Mayuresh Kulkarni
On Friday 14 June 2013 12:39 AM, Stephen Warren wrote: On 06/13/2013 12:49 PM, Thierry Reding wrote: On Thu, Jun 13, 2013 at 03:23:37PM +0530, Mayuresh Kulkarni wrote: [...] diff --git a/drivers/gpu/host1x/drm/dc.c b/drivers/gpu/host1x/drm/dc.c [...] @@ -1128,9 +1129,7 @@ static int

Re: [PATCH] tracing/uprobes: Support ftrace_event_file base multibuffer

2013-06-14 Thread Oleg Nesterov
On 06/14, zhangwei(Jovi) wrote: > > Support multi-buffer on uprobe-based dynamic events by > using ftrace_event_file. > > The code change is based on kprobe-based dynamic events > multibuffer support work commited by Masami(commit 41a7dd420c) And the change in probe_event_enable() doesn't look

Re: [RESEND][PATCH] cpufreq: stats: Add 'load_table' sysfs file to show accumulated data of CPU

2013-06-14 Thread Viresh Kumar
On 14 June 2013 18:18, Rafael J. Wysocki wrote: > On Friday, June 14, 2013 09:41:13 AM Viresh Kumar wrote: >> @Rafael: Would it be move trans_table to debugfs?? Oops!! What stupid english. s/be/be sensible to/ > I'm not sure who uses it now. If there are any user space tools depending on > it

Re: [PATCH 1/2] pinctrl: add function to parse generic pinconfig properties from a dt node

2013-06-14 Thread Laurent Pinchart
Hi Heiko, On Friday 14 June 2013 11:18:22 Heiko Stübner wrote: > Am Freitag, 14. Juni 2013, 01:53:49 schrieb Laurent Pinchart: > > On Thursday 13 June 2013 17:36:00 Linus Walleij wrote: > > > On Thu, Jun 13, 2013 at 5:23 PM, Heiko Stübner wrote: > > > >> Ok, I'll see that I get this fixed :-) >

[PATCH 2/2] serqt_usb2: lines over 80 characters fixed

2013-06-14 Thread Bernd Bassimir
Changed name of one variable, so that all lines are now below 80 characters. Signed-off-by: Bernd Bassimir Signed-off-by: Nico Doerr --- drivers/staging/serqt_usb2/serqt_usb2.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

[PATCH 1/2] serqt_usb2: Fixed coding style CamelCases

2013-06-14 Thread Bernd Bassimir
Changed names of several variables, that contained CamelCases. Signed-off-by: Bernd Bassimir Signed-off-by: Nico Doerr --- drivers/staging/serqt_usb2/serqt_usb2.c | 288 +++ 1 file changed, 144 insertions(+), 144 deletions(-) diff --git

Re: [PATCH RFC ticketlock] Auto-queued ticketlock

2013-06-14 Thread Waiman Long
On 06/12/2013 08:59 PM, Linus Torvalds wrote: On Wed, Jun 12, 2013 at 5:49 PM, Al Viro wrote: On Wed, Jun 12, 2013 at 05:38:13PM -0700, Linus Torvalds wrote: For the particular case of dget_parent() maybe dget_parent() should just double-check the original dentry->d_parent pointer after

Re: [PATCH v2 0/2] scsi: Port buslogic driver to 64 bits

2013-06-14 Thread Khalid Aziz
On Thu, 2013-05-16 at 19:44 -0600, Khalid Aziz wrote: > This patchset ports buslogic driver to 64-bit. > > Current buslogic driver is composed of two components - SCCB manager > which communicates with adapter to execute SCSI commands (contained in > FlashPoint.c), and Linux driver part that

[PATCH] HID: roccat: check cdev_add return values

2013-06-14 Thread Michael Rissi
Return value of cdev_add in hid_roccat.c init was not checked. Signed-off-by: Michael Rissi --- drivers/hid/hid-roccat.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/hid/hid-roccat.c b/drivers/hid/hid-roccat.c index b59b3df..65c4ccfc 100644 ---

Re: [PATCH RT 2/4] acpi/rt: Convert acpi_gbl_hardware lock back to a raw_spinlock_t

2013-06-14 Thread Steven Rostedt
Hi Sebastian, Any reason that this patch was dropped for 3.8? We hit this exact same bug recently with a 3.8-rt kernel. -- Steve On Tue, 2013-02-19 at 00:31 -0500, Steven Rostedt wrote: > plain text document attachment > (0002-acpi-rt-Convert-acpi_gbl_hardware-lock-back-to-a-raw.patch) > From:

Re: [PATCH] slub: Avoid direct compaction if possible

2013-06-14 Thread Roman Gushchin
On 14.06.2013 18:32, Christoph Lameter wrote: On Fri, 14 Jun 2013, Roman Gushchin wrote: Slub tries to allocate contiguous pages even if memory is fragmented and there are no free contiguous pages. In this case it calls direct compaction to allocate contiguous page. Compaction requires the

Re: [PATCH 2/2] i2c-mv64xxx: Abort the mv64xxx_of_config if clock-frequency is not provided

2013-06-14 Thread Wolfram Sang
On Fri, Jun 07, 2013 at 05:49:00PM +0200, Gregory CLEMENT wrote: > From: Zbigniew Bodek > > This commit adds checking whether clock-frequency property acquisition > has succeeded. Do not waste time to find baud factors if there is no > information about the desired bus frequency in dts. > >

Re: [PATCH 1/2] i2c-mv64xxx: Fix timing issue on Armada XP (errata FE-8471889)

2013-06-14 Thread Wolfram Sang
On Fri, Jun 07, 2013 at 06:25:00PM +0200, Thomas Petazzoni wrote: > Dear Gregory CLEMENT, > > On Fri, 7 Jun 2013 17:48:59 +0200, Gregory CLEMENT wrote: > > > +/* > > + * 5us delay in order to avoid repeated start > > + * timing violation on Armada XP SoC. > > + */ > > +static int

Re: [PATCH] drivers: pinctrl: add active state to core

2013-06-14 Thread Stephen Warren
On 06/14/2013 02:46 AM, Tony Lindgren wrote: > * Stephen Warren [130613 12:37]: >> On 06/12/2013 12:33 PM, Tony Lindgren wrote: >>> * Linus Walleij [130611 12:59]: On Tue, Jun 11, 2013 at 6:33 PM, Stephen Warren wrote: > On 06/11/2013 02:16 AM, Linus Walleij wrote: >> From:

Re: [PATCH v2 1/3] ARM: tegra: basic support for Trusted Foundations

2013-06-14 Thread Stephen Warren
On 06/14/2013 02:27 AM, Alexandre Courbot wrote: > On Fri, Jun 14, 2013 at 4:19 AM, Stephen Warren wrote: >> On 06/13/2013 03:12 AM, Alexandre Courbot wrote: >>> Add basic support for booting secondary processors on Tegra devices >>> using the Trusted Foundations secure monitor. >>> diff --git

Re: [PATCH v2 1/3] ARM: tegra: basic support for Trusted Foundations

2013-06-14 Thread Stephen Warren
On 06/14/2013 02:43 AM, Alexandre Courbot wrote: > On Thu, Jun 13, 2013 at 11:35 PM, Dave Martin wrote: ... >>> + compatible = "tl,trusted-foundations"; >>> + }; >> >> For now, it might make more sense to make this binding tegra-specific, >> and to interpret the node is only

Re: [PATCH][RFC] kernel/cpu: do not change the cpus_allowed of the current task when unplugging cpus

2013-06-14 Thread Sebastian Andrzej Siewior
* Zhao Chenhui | 2013-06-09 17:59:42 [+0800]: >No. _cpu_down() on mainline do not change the cpus_allowed. My bad. >The problem is that the task which turned off cpu2 (for instance) >can not run on cpu2 again after cpu2 is turned on, because cpu2 has been >removed from the cpus_allowed of the

Re: [PATCH v2 3/3] ARM: tegra: set CPU reset handler with firmware op

2013-06-14 Thread Stephen Warren
On 06/14/2013 02:54 AM, Alexandre Courbot wrote: > On Fri, Jun 14, 2013 at 4:23 AM, Stephen Warren wrote: >> On 06/13/2013 03:12 AM, Alexandre Courbot wrote: >>> Use a firmware operation to set the CPU reset handler and only resort to >>> doing it ourselves if there is none defined. >>> >>> This

Re: [BUGFIX 2/9] ACPIPHP: fix device destroying order issue when handling dock notification

2013-06-14 Thread Jiang Liu
On 06/14/2013 10:12 PM, Rafael J. Wysocki wrote: > On Friday, June 14, 2013 09:57:15 PM Jiang Liu wrote: >> On 06/14/2013 08:23 PM, Rafael J. Wysocki wrote: >>> On Thursday, June 13, 2013 09:59:44 PM Rafael J. Wysocki wrote: On Friday, June 14, 2013 12:32:25 AM Jiang Liu wrote: > Current

Re: [PATCH] tracing/uprobes: Support ftrace_event_file base multibuffer

2013-06-14 Thread Steven Rostedt
On Fri, 2013-06-14 at 22:21 +0900, Masami Hiramatsu wrote: > (2013/06/14 10:44), zhangwei(Jovi) wrote: > > Support multi-buffer on uprobe-based dynamic events by > > using ftrace_event_file. > > > > The code change is based on kprobe-based dynamic events > > multibuffer support work commited by

Re: [PATCH 4/6] watchdog: Boot-disable by default on full dynticks

2013-06-14 Thread Steven Rostedt
On Fri, 2013-06-14 at 09:49 -0400, Don Zickus wrote: > > > The concept behind full dynamic ticks is very easy. When you set a given > > CPU(s) to dynamic tick, when it only has a single task scheduled on that > > CPU, it disables the periodic tick. This removes essentially *all* > > latency from

[PATCH 2/2] Punch hole support against 3.10-rc5

2013-06-14 Thread Li Wang
This patch implements punch hole (fallocate) support against Linux kernel 3.10-rc5. Signed-off-by: Li Wang Signed-off-by: Yunchuan Wen --- fs/ceph/file.c| 245 + net/ceph/osd_client.c |8 +- 2 files changed, 251 insertions(+), 2

Re: [PATCH RT 2/4] acpi/rt: Convert acpi_gbl_hardware lock back to a raw_spinlock_t

2013-06-14 Thread Sebastian Andrzej Siewior
On 06/14/2013 05:16 PM, Steven Rostedt wrote: > Hi Sebastian, Hi Steven, > > Any reason that this patch was dropped for 3.8? We hit this exact same > bug recently with a 3.8-rt kernel. No particular reason. Going through my log of the queue I have to say that it was never in the queue starting

[PATCH 0/5] pinctrl: fix some issues with new pinconfig dt parsing

2013-06-14 Thread Heiko Stübner
Some issues with the recently submitted generic pinconfig parsing from dt came up, so fix these in this follow-up series. Hopefully I did catch all of them. Tested on my rk3066 device. Heiko Stuebner (5): pinctrl: update the documentation for some pinconfig params pinctrl: clarify some dt

[PATCH 1/5] pinctrl: update the documentation for some pinconfig params

2013-06-14 Thread Heiko Stübner
The BIAS_DISABLE and BIAS_HIGH_IMPEDANCE generic pinconfig options were missing information about their argument - which should be ignored. Also the BIAS_PULL_* options may have the pull strength as argument when they are activated, while simpler hardware can use any non-0 value for it. Update

[PATCH 2/5] pinctrl: clarify some dt pinconfig options

2013-06-14 Thread Heiko Stübner
The bias-pull-* options use values > 0 to indicate that the pull should be activated and optionally also indicate the strength of the pull. Therefore use an default value of 1 for these options. Split the low-power-mode option into low-power-enable and -disable. Update the documentation to

Re: [PATCH-v2] Set irq thread to RT priority on creation

2013-06-14 Thread Sebastian Andrzej Siewior
* Ivo Sieben | 2013-06-03 12:12:02 [+0200]: this is in -tip so I take this for v3.8-rt Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH RFC ticketlock] Auto-queued ticketlock

2013-06-14 Thread Linus Torvalds
On Fri, Jun 14, 2013 at 8:00 AM, Waiman Long wrote: > On 06/12/2013 08:59 PM, Linus Torvalds wrote: >> >> Ho humm.. interesting. I was talking about wanting to mix atomics and >> spinlocks earlier in this thread due to space constraints, and it >> strikes me that that would actually help this

[PATCH 0/2] Kernel file system client support for punch hole

2013-06-14 Thread Li Wang
This patch implements punch hole (fallocate) support for Ceph kernel file system client. We prepared two patches based on different kernel versions, one against kernel 3.8-rc3, the other against the latest 3.10-rc5. It is because unfortunately, we failed to set up a workable Ceph system with the

[PATCH 3/5] pinctrl: handle zero found dt pinconfig properties better

2013-06-14 Thread Heiko Stübner
This adds a shortcut when no valid pinconf properties are found in the parsed dt node, to set the values immediately and return. Suggested-by: Laurent Pinchart Signed-off-by: Heiko Stuebner --- drivers/pinctrl/pinconf-generic.c |7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH] pinctrl: document the pinctrl PM states

2013-06-14 Thread Stephen Warren
On 06/13/2013 02:34 PM, Linus Walleij wrote: > On Thu, Jun 13, 2013 at 9:39 PM, Stephen Warren wrote: >> On 06/11/2013 01:59 PM, Linus Walleij wrote: >>> From: Linus Walleij >>> >>> This document snippet tries to be helpful and define the pin >>> PM states and helpers, and how they should be

[PATCH 5/5] pinctrl: rockchip: correctly handle arguments of pinconf options

2013-06-14 Thread Heiko Stübner
Change the rockchip pinctrl driver to handle the arguments of 0 or 1 to the pull pinconfig options correctly, so that the pull gets disabled when either the bias_disable options is set or the pull option has the argument 0. Signed-off-by: Heiko Stuebner --- drivers/pinctrl/pinctrl-rockchip.c |

Re: BUG: unable to handle kernel NULL pointer dereference at 0000000000000040

2013-06-14 Thread Guenter Roeck
On Fri, Jun 14, 2013 at 08:30:29AM -0600, Bjorn Helgaas wrote: > [+cc Ming, Hayes, Francois, r8169 list] > > On Fri, Jun 14, 2013 at 6:49 AM, nirinA raseliarison > wrote: > > hello there, > > i have this ethernet controler: > > > > Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express

Re: [PATCH 0/6] ipc/sem.c: performance improvements, FIFO

2013-06-14 Thread Manfred Spraul
Hi all, On 06/10/2013 07:16 PM, Manfred Spraul wrote: Hi Andrew, I have cleaned up/improved my updates to sysv sem. Could you replace my patches in -akpm with this series? - 1: cacheline align output from ipc_rcu_alloc - 2: cacheline align semaphore structures - 3:

[PATCH 1/2] Punch hole support against 3.8-rc3

2013-06-14 Thread Li Wang
This patch implements punch hole (fallocate) support against Linux kernel 3.8-rc3. Signed-off-by: Li Wang Signed-off-by: Yunchuan Wen --- fs/ceph/file.c| 248 + net/ceph/osd_client.c | 17 +++- 2 files changed, 260 insertions(+), 5

Re: [RFC] should read(2) update the position if it returns an error?

2013-06-14 Thread Linus Torvalds
On Fri, Jun 14, 2013 at 1:05 AM, Al Viro wrote: > > Comments? I'd obviously prefer to solve it that way (i.e. leave > ->f_pos untouched if vfs_read() returns an error), but I might be missing > some case where we want position updated even though read() returns an > error. I can't come

RE: [PATCH v15 0/4] trace,x86: irq vector tracepoint support

2013-06-14 Thread Seiji Aguchi
Any comments? > -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Seiji Aguchi > Sent: Friday, June 07, 2013 4:49 PM > To: linux-kernel@vger.kernel.org; rost...@goodmis.org; h...@zytor.com > Cc: t...@linutronix.de;

Re: [PATCH 0/5] pinctrl: fix some issues with new pinconfig dt parsing

2013-06-14 Thread James Hogan
On 14/06/13 16:41, Heiko Stübner wrote: > Some issues with the recently submitted generic pinconfig parsing from dt > came up, so fix these in this follow-up series. > > Hopefully I did catch all of them. > > Tested on my rk3066 device. > > Heiko Stuebner (5): > pinctrl: update the

Re: [PATCH v3 1/3] cpufreq: ondemand: Change the calculation of target frequency

2013-06-14 Thread Stratos Karafotis
Hi, On 06/14/2013 03:55 PM, Rafael J. Wysocki wrote: > On Friday, June 14, 2013 02:44:01 PM Borislav Petkov wrote: >> On Fri, Jun 14, 2013 at 02:46:38PM +0200, Rafael J. Wysocki wrote: >>> OK, so here's a deal. After 3.10-rc1 goes out, I'll put this into >>> linux-next >> >> Yeah, you mean

Re: ext4 extent status tree LRU locking

2013-06-14 Thread Dave Hansen
On 06/14/2013 07:09 AM, Zheng Liu wrote: > - INIT_LIST_HEAD(); > - > spin_lock(>s_es_lru_lock); > + list_sort(NULL, >s_es_lru, ext4_inode_touch_time_cmp); > list_for_each_safe(cur, tmp, >s_es_lru) { How long can this list get? I have the feeling this might get a bit painful,

Re: [PATCH 0/2] Kernel file system client support for punch hole

2013-06-14 Thread Sage Weil
On Fri, 14 Jun 2013, Li Wang wrote: > This patch implements punch hole (fallocate) support for Ceph kernel > file system client. > We prepared two patches based on different kernel versions, one against > kernel 3.8-rc3, the other against the latest 3.10-rc5. It is because > unfortunately, we

Re: [PATCH 4/6] watchdog: Boot-disable by default on full dynticks

2013-06-14 Thread anish singh
Thanks Paul & Steve for replying. On Fri, Jun 14, 2013 at 5:56 PM, Paul E. McKenney wrote: > On Fri, Jun 14, 2013 at 09:47:31AM +0530, anish singh wrote: >> On Thu, Jun 13, 2013 at 10:46 PM, Steven Rostedt wrote: >> > On Thu, 2013-06-13 at 21:51 +0530, anish singh wrote: >> > >> >> > The concept

Re: power-efficient scheduling design

2013-06-14 Thread Morten Rasmussen
Hi, On Fri, May 31, 2013 at 11:52:04AM +0100, Ingo Molnar wrote: > > * Morten Rasmussen wrote: > > > Hi, > > > > A number of patch sets related to power-efficient scheduling have been > > posted over the last couple of months. Most of them do not have much > > data to back them up, so I

[PATCH v2] MIPS: Reduce _NSIG from 128 to 127 to avoid BUG_ON

2013-06-14 Thread James Hogan
MIPS has 128 signals, the highest of which has the number 128 (they start from 1). The following command causes get_signal_to_deliver() to pass this signal number straight through to do_group_exit() as the exit code: strace sleep 10 & sleep 1 && kill -128 `pidof sleep` However do_group_exit()

Re: [PATCH] slub: Avoid direct compaction if possible

2013-06-14 Thread Christoph Lameter
On Fri, 14 Jun 2013, Roman Gushchin wrote: > But there is an actual problem, that this patch solves. > Sometimes I saw the following issue on some machines: > all CPUs are performing compaction, system time is about 80%, > system is completely unreliable. It occurs only on machines > with

RE: Problems with ixgbe driver

2013-06-14 Thread Tantilov, Emil S
>-Original Message- >From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] On >Behalf Of Holger Kiehl >Sent: Friday, June 14, 2013 4:50 AM >To: e1000-de...@lists.sf.net >Cc: linux-kernel; net...@vger.kernel.org >Subject: Problems with ixgbe driver > >Hello, > >I have

ftrace multibuffer && rcu (Was: tracing/uprobes: Support ftrace_event_file base multibuffer)

2013-06-14 Thread Oleg Nesterov
On 06/14, Oleg Nesterov wrote: > > > -probe_event_enable(struct trace_uprobe *tu, int flag, filter_func_t filter) > > +probe_event_enable(struct trace_uprobe *tu, struct ftrace_event_file *file, > > + filter_func_t filter) > > { > > + int enabled = 0; > > int ret = 0; > > > > +

Re: Performance regression from switching lock to rw-sem for anon-vma tree

2013-06-14 Thread Tim Chen
Added copy to mailing list which I forgot in my previous reply: On Thu, 2013-06-13 at 16:43 -0700, Davidlohr Bueso wrote: > On Thu, 2013-06-13 at 16:15 -0700, Tim Chen wrote: > > Ingo, > > > > At the time of switching the anon-vma tree's lock from mutex to > > rw-sem (commit 5a505085), we

Re: [PATCH 10/31] mips/kvm: Implement ioctls to get and set FPU registers.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:14PM -0700, David Daney wrote: > From: David Daney > > The current implementation does nothing with them, but future MIPSVZ > work need them. Also add the asm-offsets accessors for the fields. Just as a note, older MIPS FPUs only have fcr0 and fcr31. Acked-by:

[PATCH v3 1/2] spi: omap2-mcspi: Move bytes per word calculation to the function

2013-06-14 Thread Illia Smyrnov
Introduce mcspi_bytes_per_word function as replacement for the next code fragment: int c = (word_len <= 8) ? 1 : (word_len <= 16) ? 2 : /* word_len <= 32 */ 4; This code used 2 times in current driver code and will be used 2 times in the next FIFO buffer support patch. Replace

[PATCH v3 2/2] spi: omap2-mcspi: Add FIFO buffer support

2013-06-14 Thread Illia Smyrnov
The MCSPI controller has a built-in FIFO buffer to unload the DMA or interrupt handler and improve data throughput. This patch adds FIFO buffer support for SPI transfers in DMA mode. For SPI transfers in DMA mode, the largest possible FIFO buffer size will be calculated and set up. The FIFO won't

Re: [PATCH 4/6] watchdog: Boot-disable by default on full dynticks

2013-06-14 Thread Steven Rostedt
On Fri, 2013-06-14 at 21:33 +0530, anish singh wrote: > May I know why we zeroed in on 1Hz? Is there any logical reason > or just because it is above 0Hz? > > We had to keep a tick. What number would you have picked? -- Steve -- To unsubscribe from this list: send the line "unsubscribe

[PATCH 4/5] pinctrl: dynamically alloc temp array when parsing dt pinconf options

2013-06-14 Thread Heiko Stübner
Allocating the temorary array in pinconf_generic_parse_dt_config on stack might cause problems later on, when the number of options grows over time. Therefore also allocate this array dynamically to be on the safe side. Suggested-by: Laurent Pinchart Signed-off-by: Heiko Stuebner ---

Re: [PATCH net] hyperv: Fix vlan_proto setting in netvsc_recv_callback()

2013-06-14 Thread Olaf Hering
On Tue, May 28, Haiyang Zhang wrote: > Since the recent addition of 8021AD, we need to set the new field vlan_proto > in > sk_buff. Otherwise, it will trigger BUG() call in vlan_proto_idx(). > @@ -284,7 +285,7 @@ int netvsc_recv_callback(struct hv_device *device_obj, > > skb->protocol =

[PATCH v3 0/2] spi: omap2-mcspi: add FIFO buffer support

2013-06-14 Thread Illia Smyrnov
These patches introduce FIFO support for TI OMAP4/OMAP5 MCSPI controller. Using FIFO unload the DMA and improve data throughput. On Blaze (OMAP 4460) ethernet throughput with MTU 1500 was increased: * for TX from 6.9476 Mbps (FIFO disabled) to 8.1046 Mbps (FIFO enabled), * for RX from 6.5120 Mbps

Re: [PATCH] dma-mapping: Add BUG_ON for uninitialized dma_ops

2013-06-14 Thread James Bottomley
On Fri, 2013-06-14 at 16:36 +0200, Arnd Bergmann wrote: > On Thursday 13 June 2013, James Bottomley wrote: > > On Wed, 2013-06-12 at 17:06 +0200, Arnd Bergmann wrote: > > > On Tuesday 11 June 2013, James Bottomley wrote: > > > > Really, no, it's not a good idea at all. It invites tons of patches

Re: [PATCH v2 2/2] spi: omap2-mcspi: Add FIFO buffer support

2013-06-14 Thread Illia Smyrnov
On 06/12/2013 06:47 PM, Mark Brown wrote: On Tue, Jun 11, 2013 at 08:09:15PM +0300, Illia Smyrnov wrote: The MCSPI controller has a built-in FIFO buffer to unload the DMA or interrupt handler and improve data throughput. This patch adds FIFO buffer support for SPI transfers in DMA mode.

Re: [PATCH] PCI: Remove not needed check in disable aspm link

2013-06-14 Thread Yinghai Lu
On Fri, Jun 14, 2013 at 7:11 AM, Bjorn Helgaas wrote: > Here are some of my notes from trying to sort this out, in chronological > order: > > 29594404 v3.7 > Bus scanned before requesting _OSC control > pre-1.1 ath5k has ASPM disabled (works fine) > > 8c33f51d "request _OSC

Re: [PATCH] Drivers: hv: vmbus: incorrect device name is printed when child device is unregistered

2013-06-14 Thread Greg KH (gre...@linuxfoundation.org)
On Fri, Jun 14, 2013 at 02:13:44AM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Fernando Soto [mailto:fs...@bluecatnetworks.com] > > Sent: Thursday, June 13, 2013 8:11 PM > > To: linux-kernel@vger.kernel.org > > Cc: KY Srinivasan; Haiyang Zhang > > Subject: [PATCH]

Re: [PATCH] tracing/uprobes: Support ftrace_event_file base multibuffer

2013-06-14 Thread Paul E. McKenney
On Fri, Jun 14, 2013 at 11:31:58AM -0400, Steven Rostedt wrote: > On Fri, 2013-06-14 at 22:21 +0900, Masami Hiramatsu wrote: > > (2013/06/14 10:44), zhangwei(Jovi) wrote: > > > Support multi-buffer on uprobe-based dynamic events by > > > using ftrace_event_file. > > > > > > The code change is

Re: [PATCH 4/6] watchdog: Boot-disable by default on full dynticks

2013-06-14 Thread anish singh
On Fri, Jun 14, 2013 at 9:42 PM, Steven Rostedt wrote: > On Fri, 2013-06-14 at 21:33 +0530, anish singh wrote: > >> May I know why we zeroed in on 1Hz? Is there any logical reason >> or just because it is above 0Hz? >> > > > We had to keep a tick. What number would you have picked? Great.I will

Re: [PATCH 0/3]

2013-06-14 Thread Greg Kroah-Hartman
On Thu, Jun 13, 2013 at 10:22:05AM +0200, Daniel Vetter wrote: > On Thu, Jun 06, 2013 at 04:59:26PM +0300, Jani Nikula wrote: > > > > With Greg's address fixed. Please drop the old one from any > > replies. Sorry for the noise. > > Oops, replied with the old one still there. > > Greg, Andrew:

Re: ftrace multibuffer && rcu (Was: tracing/uprobes: Support ftrace_event_file base multibuffer)

2013-06-14 Thread Oleg Nesterov
On 06/14, Oleg Nesterov wrote: > > So perhaps something like below (untested) makes sense? With this patch > we can trivially convert trace_kprobe.c to use list_add/del/each_rcu. Forgot to mention, the patch is obviously incomplete, __kprobe_trace_func() can see the "dead" file even if its memory

RE: [PATCH net] hyperv: Fix vlan_proto setting in netvsc_recv_callback()

2013-06-14 Thread Haiyang Zhang
> -Original Message- > From: Olaf Hering [mailto:o...@aepfle.de] > Sent: Friday, June 14, 2013 11:29 AM > To: Haiyang Zhang > Cc: da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; > jasow...@redhat.com; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org > Subject: Re:

Re: ftrace multibuffer && rcu (Was: tracing/uprobes: Support ftrace_event_file base multibuffer)

2013-06-14 Thread Steven Rostedt
On Fri, 2013-06-14 at 18:04 +0200, Oleg Nesterov wrote: > On 06/14, Oleg Nesterov wrote: > > > > > -probe_event_enable(struct trace_uprobe *tu, int flag, filter_func_t > > > filter) > > > +probe_event_enable(struct trace_uprobe *tu, struct ftrace_event_file > > > *file, > > > +

Re: [PATCH 2/2] Punch hole support against 3.10-rc5

2013-06-14 Thread Sage Weil
On Fri, 14 Jun 2013, Li Wang wrote: > This patch implements punch hole (fallocate) support against > Linux kernel 3.10-rc5. > > Signed-off-by: Li Wang > Signed-off-by: Yunchuan Wen > --- > fs/ceph/file.c| 245 > + >

Re: [PATCH] xen/pci: Deal with toolstack missing an 'XenbusStateClosing'.

2013-06-14 Thread Konrad Rzeszutek Wilk
> >> So at least part of the problem *is* a bug in Linux. > > > > Good! Bjorn, would you be OK Ack-ing the patch I sent (attached here > > for reference) or putting it in your queue for Linus? > > > > My plan would be to send it to Linus in the 3.11 merge window. > > Sure; this is your baby :)

Re: [PATCH v2] MIPS: Reduce _NSIG from 128 to 127 to avoid BUG_ON

2013-06-14 Thread Oleg Nesterov
On 06/14, James Hogan wrote: > > However do_group_exit() checks for the core dump bit (0x80) in the exit > code which matches in this particular case and the kernel panics: > > BUG_ON(exit_code & 0x80); /* core dumps don't get here */ > > Lets avoid this by changing the ABI by reducing the

Re: [PATCH] tracing/uprobes: Support ftrace_event_file base multibuffer

2013-06-14 Thread Steven Rostedt
On Fri, 2013-06-14 at 09:21 -0700, Paul E. McKenney wrote: > > > > @@ -548,15 +556,35 @@ static void uprobe_trace_print(struct > > > > trace_uprobe *tu, > > > > /* uprobe handler */ > > > > static int uprobe_trace_func(struct trace_uprobe *tu, struct pt_regs > > > > *regs) > > > > { > > > >

Re: [PATCH v2] MIPS: Reduce _NSIG from 128 to 127 to avoid BUG_ON

2013-06-14 Thread David Daney
On 06/14/2013 09:03 AM, James Hogan wrote: MIPS has 128 signals, the highest of which has the number 128 (they start from 1). The following command causes get_signal_to_deliver() to pass this signal number straight through to do_group_exit() as the exit code: strace sleep 10 & sleep 1 &&

[PATCH] power: Include additional information in pm_print_times

2013-06-14 Thread Shuah Khan
Change __device_suspend() path to include driver name and the ops that get run for a device. This additional information helps associate driver and the type of pm_ops the device uses in suspend path very quickly and aid in debugging problems in suspend and resume paths. Added the additional

Re: [PATCH] PCI: Remove not needed check in disable aspm link

2013-06-14 Thread Bjorn Helgaas
On Fri, Jun 14, 2013 at 10:17 AM, Yinghai Lu wrote: > On Fri, Jun 14, 2013 at 7:11 AM, Bjorn Helgaas wrote: >> Here are some of my notes from trying to sort this out, in chronological >> order: >> >> 29594404 v3.7 >> Bus scanned before requesting _OSC control >> pre-1.1 ath5k has

Re: [PATCH] HID: i2c-hid: support sending HID output reports using the output register

2013-06-14 Thread Benjamin Tissoires
Hi Andrew, On 06/14/2013 12:54 AM, Andrew Duggan wrote: > The current i2c hid driver does not support sending HID output reports using > the output register for devices which support receiving reports through this > method. This patch determines which method to use to send output reports based >

Re: [PATCH] smp.h: Use local_irq_{save,restore}() in !SMP version of on_each_cpu().

2013-06-14 Thread David Daney
On 06/13/2013 10:46 PM, Linus Torvalds wrote: On Thu, Jun 13, 2013 at 6:07 PM, David Daney wrote: Suggested fix: Do what we already do in the SMP version of on_each_cpu(), and use local_irq_save/local_irq_restore. I was going to apply this, but started looking a bit more. Using "flags" as

[GIT PATCH] USB fixes for 3.10-rc5

2013-06-14 Thread Greg KH
The following changes since commit 317ddd256b9c24b0d78fa8018f80f1e495481a10: Linux 3.10-rc5 (2013-06-08 17:41:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.10-rc5 for you to fetch changes up to

[GIT PATCH] USB fixes for 3.10-rc6

2013-06-14 Thread Greg KH
[resend with fixed subject] The following changes since commit 317ddd256b9c24b0d78fa8018f80f1e495481a10: Linux 3.10-rc5 (2013-06-08 17:41:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.10-rc5 for you to fetch

[GIT PATCH] char/misc fixes for 3.10-rc6

2013-06-14 Thread Greg KH
The following changes since commit 317ddd256b9c24b0d78fa8018f80f1e495481a10: Linux 3.10-rc5 (2013-06-08 17:41:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-3.10-rc5 for you to fetch changes up to

[PATCH 6/7] MIPS: octeon: use irq_get_trigger_type() to get IRQ flags

2013-06-14 Thread Javier Martinez Canillas
Use irq_get_trigger_type() to get the IRQ trigger type flags instead calling irqd_get_trigger_type(irq_desc_get_irq_data(irq)) Signed-off-by: Javier Martinez Canillas --- arch/mips/cavium-octeon/octeon-irq.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] power: Include additional information in pm_print_times

2013-06-14 Thread Joe Perches
On Fri, 2013-06-14 at 10:33 -0600, Shuah Khan wrote: > Change __device_suspend() path to include driver name and the ops that > get run for a device. [] > diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c [] > -static ktime_t initcall_debug_start(struct device *dev) > +static

Re: [PATCH 1/3] ARM: mach-moxart: add MOXA ART SoC files

2013-06-14 Thread Olof Johansson
On Fri, Jun 14, 2013 at 7:47 AM, Arnd Bergmann wrote: arch.h> >> + >> +static const char * const moxart_dt_compat[] = { >> + "moxa,moxart-uc-7112-lx", >> + NULL, >> +}; >> + >> +DT_MACHINE_START(MOXART, "MOXA UC-7112-LX") >> + .dt_compat = moxart_dt_compat, >>

[PATCH 7/7] irqdomain: use irq_get_trigger_type() to get IRQ flags

2013-06-14 Thread Javier Martinez Canillas
Use irq_get_trigger_type() to get the IRQ trigger type flags instead calling irqd_get_trigger_type(irq_desc_get_irq_data(virq)) Signed-off-by: Javier Martinez Canillas --- kernel/irq/irqdomain.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/irq/irqdomain.c

Re: ext4 extent status tree LRU locking

2013-06-14 Thread Zheng Liu
On Fri, Jun 14, 2013 at 10:02:15AM -0400, Theodore Ts'o wrote: > On Fri, Jun 14, 2013 at 10:09:40PM +0800, Zheng Liu wrote: > > This commit tries to fix this problem. Now a new member called > > i_touch_when is added into ext4_inode_info to record the last access > > time for an inode. Meanwhile

[PATCH 3/7] mfd: twl4030-irq: use irq_get_trigger_type() to get IRQ flags

2013-06-14 Thread Javier Martinez Canillas
Use irq_get_trigger_type() to get the IRQ trigger type flags instead calling irqd_get_trigger_type(irq_get_irq_data(irq)) Signed-off-by: Javier Martinez Canillas --- drivers/mfd/twl4030-irq.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/twl4030-irq.c

[PATCH 4/7] mfd: stmpe: use irq_get_trigger_type() to get IRQ flags

2013-06-14 Thread Javier Martinez Canillas
Use irq_get_trigger_type() to get the IRQ trigger type flags instead calling irqd_get_trigger_type(irq_get_irq_data(irq)) Signed-off-by: Javier Martinez Canillas --- drivers/mfd/stmpe.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/mfd/stmpe.c

<    4   5   6   7   8   9   10   11   12   >