Re: [PATCHv2 0/4] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-04 Thread Josh Triplett
On Tue, Sep 04, 2012 at 02:21:19PM -0700, Josh Triplett wrote: > v2: Made the new internal function efi_unmap_memmap static. Incorporated > feedback from H. Peter Anvin and Matt Fleming: added stubs for > x86-specific EFI functions called from init/main.c to eliminate the > correspondi

Re: [RFC] VFS: File System Mount Wide O_DIRECT Support

2012-09-04 Thread Zach Brown
> > The idea is simple, leave the desicion for the file system user to enable > > file system mount > > wide O_DIRECT support with a new mount option, for example, > I believe a better approach to your problem is actually to enable > loopback device driver to use direct IO. Someone was actuall

Re: [PATCH] swiotlb: add kernel error message to track iobtlb overflow buffer usage

2012-09-04 Thread Andrew Morton
On Fri, 31 Aug 2012 18:55:59 -0600 Shuah Khan wrote: > Add kernel error message to track iotlb overflow buffer triggers to understand > how often the overflow buffer gets used. > > Signed-off-by: Shuah Khan > --- > lib/swiotlb.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/

Re: [PATCH tip/core/rcu 04/15] rcu: Permit RCU_NONIDLE() to be used from interrupt context

2012-09-04 Thread Josh Triplett
On Tue, Sep 04, 2012 at 07:23:51PM -0400, Steven Rostedt wrote: > On Tue, 2012-09-04 at 16:08 -0700, Josh Triplett wrote: > > On Tue, Sep 04, 2012 at 06:51:22PM -0400, Steven Rostedt wrote: > > > On Tue, 2012-09-04 at 15:33 -0700, Paul E. McKenney wrote: > > > > On Fri, Aug 31, 2012 at 11:00:52AM -

RE: [PATCH 1/1] Drivers: hv: kvp: Copy the address family information

2012-09-04 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, September 04, 2012 6:57 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; > a...@canonical.com; b...@decadent.org.uk > Subject: Re: [PATCH 1/

[PATCH] workqueue: UNBOUND -> REBIND morphing in rebind_workers() should be atomic

2012-09-04 Thread Tejun Heo
>From d2ae38fc5e37b4bca3c4bec04a10dcf861a77b2b Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Sun, 2 Sep 2012 00:28:19 +0800 The compiler may compile the following code into TWO write/modify instructions. worker->flags &= ~WORKER_UNBOUND; worker->flags |= WORKER_REBIND; so t

RE: [PATCH V4 05/10] Tools: hv: Add an example script to retrieve dhcp state

2012-09-04 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, September 04, 2012 6:59 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; > a...@canonical.com; b...@decadent.org.uk; tho...@redhat.com; > d.

Re: [PATCH tip/core/rcu 15/15] kmemleak: Replace list_for_each_continue_rcu with new interface

2012-09-04 Thread Paul E. McKenney
On Fri, Aug 31, 2012 at 11:55:16AM -0700, Josh Triplett wrote: > On Thu, Aug 30, 2012 at 11:56:28AM -0700, Paul E. McKenney wrote: > > From: Michael Wang > > > > This patch replaces list_for_each_continue_rcu() with > > list_for_each_entry_continue_rcu() to save a few lines > > of code and allow

Re: [PATCH] kernel/sys.c: call disable_nonboot_cpus in kernel_restart

2012-09-04 Thread Stephen Boyd
On 09/04/12 15:36, Andrew Morton wrote: > On Mon, 3 Sep 2012 22:24:58 +0800 > Shawn Guo wrote: > >> Like kernel_power_off calls disable_nonboot_cpus, we may want to have >> kernel_restart call disable_nonboot_cpus as well. Doing so can help >> the machines that require boot cpu be the last alive

Re: [PATCH tip/core/rcu 04/15] rcu: Permit RCU_NONIDLE() to be used from interrupt context

2012-09-04 Thread Paul E. McKenney
On Tue, Sep 04, 2012 at 04:33:44PM -0700, Josh Triplett wrote: > On Tue, Sep 04, 2012 at 07:23:51PM -0400, Steven Rostedt wrote: > > On Tue, 2012-09-04 at 16:08 -0700, Josh Triplett wrote: > > > On Tue, Sep 04, 2012 at 06:51:22PM -0400, Steven Rostedt wrote: > > > > On Tue, 2012-09-04 at 15:33 -070

Re: [PATCH tip/core/rcu 04/15] rcu: Permit RCU_NONIDLE() to be used from interrupt context

2012-09-04 Thread Steven Rostedt
On Tue, 2012-09-04 at 16:33 -0700, Josh Triplett wrote: > > > > +#ifdef MODULE > > > +#define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, > > > data_args) \ > > > + static inline void trace_##name##_rcuidle(proto)\ > > > + {

Re: [PATCH -next] extcon: extcon-arizona depends on INPUT

2012-09-04 Thread Randy Dunlap
nwoo Choi >> Cc: Mark Brown >> --- > > Thanks much, > > Signed-off-by: Chanwoo Choi > > I will apply this patch to > http://10.90.51.51/cgi-bin/gitweb.cgi?p=linux-samsung;a=shortlog;h=refs/heads/extcon-for-next > and you can check it after some hours. Hi

Re: [PATCH tip/core/rcu 2/3] rcu: Disallow callback registry on offline CPUs

2012-09-04 Thread Paul E. McKenney
On Fri, Aug 31, 2012 at 09:21:30AM -0700, Josh Triplett wrote: > On Thu, Aug 30, 2012 at 12:03:02PM -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > Posting a callback after the CPU_DEAD notifier effectively leaks > > that callback unless/until that CPU comes back online. Sile

[PATCH -stable] workqueue: UNBOUND -> REBIND morphing in rebind_workers() should be atomic

2012-09-04 Thread Tejun Heo
From: Lai Jiangshan The compiler may compile the following code into TWO write/modify instructions. worker->flags &= ~WORKER_UNBOUND; worker->flags |= WORKER_REBIND; so the other CPU may temporarily see worker->flags which doesn't have either WORKER_UNBOUND or WORKER_REBIND set

[patch 0/3] Turn CONFIG_HOTPLUG always on.

2012-09-04 Thread Greg Kroah-Hartman
From: Greg KH The CONFIG_HOTPLUG variable is tough to turn off, and almost all arches default to it on. If you turn it off, it saves you a big 200 or so bytes, and then starts to cause all sorts of problems as the code paths if the option is disabled is never really tested, and memory segments s

Re: kexec/kdump kernel fails to start

2012-09-04 Thread Flavio Leitner
On Tue, 4 Sep 2012 15:25:45 -0700 Yinghai Lu wrote: > On Tue, Sep 4, 2012 at 2:37 PM, Flavio Leitner wrote: > > On Tue, 4 Sep 2012 13:45:23 -0700 > > Yinghai Lu wrote: > > > >> On Tue, Sep 4, 2012 at 1:26 PM, Flavio Leitner wrote: > >> > > >> > Sorry, but it didn't work. > >> > The same proble

[patch 1/3] xtensa: remove duplicate CONFIG_HOTPLUG definition

2012-09-04 Thread Greg Kroah-Hartman
From: Greg KH As part of the plan to remove CONFIG_HOTPLUG, it was found that xtensa duplicates this config option for no reason (it's already defined as part of init/Kconfig). This patch removes it from the xtensa-only Kconfig file. Cc: Chris Zankel Signed-off-by: Greg Kroah-Hartman --- ar

Re: [PATCH V4 05/10] Tools: hv: Add an example script to retrieve dhcp state

2012-09-04 Thread Greg KH
On Tue, Sep 04, 2012 at 11:39:12PM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Tuesday, September 04, 2012 6:59 PM > > To: KY Srinivasan > > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > > o...

[patch 3/3] CONFIG_HOTPLUG should be always on

2012-09-04 Thread Greg Kroah-Hartman
From: Greg KH CONFIG_HOTPLUG is a very old option, back when we had static systems and it was odd that any type of device would be removed or added after the system had started up. It is quite hard to disable it these days, and even if you do, it only saves you about 200 bytes. However, if it i

Re: [PATCH 1/1] Drivers: hv: kvp: Copy the address family information

2012-09-04 Thread Greg KH
On Tue, Sep 04, 2012 at 11:36:30PM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Tuesday, September 04, 2012 6:57 PM > > To: KY Srinivasan > > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > > o...

[patch 2/3] tile: remove duplicate CONFIG_HOTPLUG definition

2012-09-04 Thread Greg Kroah-Hartman
From: Greg KH As part of the plan to remove CONFIG_HOTPLUG, it was found that tile duplicates this config option for no reason (it's already defined as part of init/Kconfig). This patch removes it from the tile-only Kconfig file. Cc: Chris Metcalf Signed-off-by: Greg Kroah-Hartman --- arch/

Re: [RFC PATCH 8/17] input: RMI4 F09 Built-In Self Test

2012-09-04 Thread Christopher Heiny
On 08/27/2012 03:07 PM, Linus Walleij wrote: [snip] >+static struct device_attribute attrs[] = { >+ __ATTR(status, RMI_RW_ATTR, >+ rmi_f09_status_show, rmi_f09_status_store), >+ __ATTR(limitRegisterCount, RMI_RO_ATTR, >+ rmi_f09_limit_register_count_show,

Re: [PATCH] driver/char/tpm: declare internal symbols as static

2012-09-04 Thread James Morris
> Thanks, this looks good to me. James, can you apply this directly to > security-next? Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messa

Re: [RFC PATCH 5/17] input: rmidev character driver for RMI4 sensors

2012-09-04 Thread Christopher Heiny
On 08/27/2012 11:49 AM, Linus Walleij wrote: On Fri, Aug 17, 2012 at 3:17 PM, Christopher Heiny wrote: Driver for Synaptics touchscreens using RMI4 protocol. Really? This looks more like some custom char driver to get a pipe into the device from userspace. Put in a proper description of what

Re: [RFC PATCH 14/17] input: RMI4 F30 GPIO/LED control

2012-09-04 Thread Christopher Heiny
On 08/27/2012 03:58 PM, Linus Walleij wrote: GPIO/LED, nice since I'm a GPIO maintainer I'll take a closer look. If the bus will start doing a lot of non-input business it should live under drivers/mfd but I think this is just one exception, right? On Fri, Aug 17, 2012 at 3:17 PM, Christopher H

RE: [PATCH v2 1/2] mfd: dt: tps6586x: Add power off control

2012-09-04 Thread Bill Huang
> nvpublic > > On 08/24/2012 06:36 PM, Bill Huang wrote: > > >>> On Sun, Aug 19, 2012 at 06:07:55PM -0700, Bill Huang wrote: > > Add DT property "ti,system-power-controller" telling whether or > > not this pmic is in charge of controlling the system power, so > > the power off routin

RE: [PATCH V4 05/10] Tools: hv: Add an example script to retrieve dhcp state

2012-09-04 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, September 04, 2012 8:04 PM > To: KY Srinivasan > Cc: o...@aepfle.de; tho...@redhat.com; linux-kernel@vger.kernel.org; > d...@redhat.com; a...@canonical.com; de...@linuxdriverproject.org; > b...@decad

RE: [PATCH 1/1] Drivers: hv: kvp: Copy the address family information

2012-09-04 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, September 04, 2012 8:03 PM > To: KY Srinivasan > Cc: a...@canonical.com; de...@linuxdriverproject.org; o...@aepfle.de; > b...@decadent.org.uk; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/1]

Re: [PATCH tip/core/rcu 04/26] rcu: Settle config for userspace extended quiescent state

2012-09-04 Thread Paul E. McKenney
On Fri, Aug 31, 2012 at 04:44:01PM -0700, Josh Triplett wrote: > On Thu, Aug 30, 2012 at 02:05:21PM -0700, Paul E. McKenney wrote: > > From: Frederic Weisbecker > > > > Create a new config option under the RCU menu that put > > CPUs under RCU extended quiescent state (as in dynticks > > idle mode

Re: [PATCH 4/4] [RFC] ARM: treewide: manually change more mach-*/*.h includes

2012-09-04 Thread Tony Lindgren
* Tony Lindgren [120830 12:05]: > * Tony Lindgren [120824 13:37]: > > * Arnd Bergmann [120823 10:27]: > > > On Thursday 23 August 2012, Arnd Bergmann wrote: > > > > On Wednesday 22 August 2012, Russell King - ARM Linux wrote: > > > > > In any case, what we should be doing here as well is moving

[PATCH 1/1] Drivers: hv: kvp: Copy the address family information

2012-09-04 Thread K. Y. Srinivasan
This is part of the IP injection protocol in that the host expects this field to reflect what addresses (address families) are currently bound to the interface. The KVP daemon is currently collecting this information and sending it to the kernel component. I had overlooked copying this and sending

Re: [RFC PATCH 17/17] input: RMI4 F54 analog data reporting

2012-09-04 Thread Christopher Heiny
On 08/27/2012 04:01 PM, Linus Walleij wrote: >Signed-off-by: Christopher Heiny >+#include >+#include >+#include >+#include >+#include >+#include This is not using the existing in-kernel framework for ADC (which I think is what you're doing), in this case use the IIO subsystem so consult

Re: [PATCH 5/7] perf ui/browser: Add a browser for perf script

2012-09-04 Thread Namhyung Kim
On Tue, 4 Sep 2012 17:13:27 +0800, Feng Tang wrote: > Hi Namhyung, > > Thanks for your kind and thorough reviews. > > On Tue, 4 Sep 2012 10:57:35 +0900 > Namhyung Kim wrote: > >> On Mon, 3 Sep 2012 16:14:31 +0800, Feng Tang wrote: >> > Create a script browser, so that user can check all the avail

Re: [PATCH tip/core/rcu 04/15] rcu: Permit RCU_NONIDLE() to be used from interrupt context

2012-09-04 Thread Josh Triplett
On Tue, Sep 04, 2012 at 07:46:42PM -0400, Steven Rostedt wrote: > On Tue, 2012-09-04 at 16:33 -0700, Josh Triplett wrote: > > > > > > +#ifdef MODULE > > > > +#define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, > > > > data_args) \ > > > > + static inline void trace_##name##_rc

Re: [PATCH 2/7] mm: fix potential anon_vma locking issue in mprotect()

2012-09-04 Thread Michel Lespinasse
On Tue, Sep 4, 2012 at 3:16 PM, Andrea Arcangeli wrote: > I would suggest to do the strict fix as above in as patch 1/8 and push > it in -mm, and to do only the optimization removal in 3/8. I think > we want it in -stable too later, so it'll make life easier to > cherry-pick the commit if it's mer

Re: [PATCH tip/core/rcu 04/26] rcu: Settle config for userspace extended quiescent state

2012-09-04 Thread Josh Triplett
On Tue, Sep 04, 2012 at 05:34:59PM -0700, Paul E. McKenney wrote: > On Fri, Aug 31, 2012 at 04:44:01PM -0700, Josh Triplett wrote: > > On Thu, Aug 30, 2012 at 02:05:21PM -0700, Paul E. McKenney wrote: > > > From: Frederic Weisbecker > > > > > > Create a new config option under the RCU menu that p

Re: [PATCH] kernel/sys.c: call disable_nonboot_cpus in kernel_restart

2012-09-04 Thread Shawn Guo
On Tue, Sep 04, 2012 at 03:36:24PM -0700, Andrew Morton wrote: > On Mon, 3 Sep 2012 22:24:58 +0800 > Shawn Guo wrote: > > > Like kernel_power_off calls disable_nonboot_cpus, we may want to have > > kernel_restart call disable_nonboot_cpus as well. Doing so can help > > the machines that require

Re: [PATCH 4/7] mm anon rmap: replace same_anon_vma linked list with an interval tree.

2012-09-04 Thread Michel Lespinasse
Andrew: previous patch won't apply anymore now that mm-fix-potential-anon_vma-locking-issue-in-mprotect.patch replaced patch 2/7. Following patch should apply instead, leading to the same end state. -8< When a large VMA (anon or

Re: [PATCH 02/10 V4] workqueue: fix deadlock in rebind_workers()

2012-09-04 Thread Tejun Heo
How about something like the following? This is more consistent with the existing code and as the fixes need to go separately through for-3.6-fixes, it's best to stay consistent regardless of the end result after all the restructuring. It's not tested yet. If you don't object, I'll split it into

Re: [patch 2/3] tile: remove duplicate CONFIG_HOTPLUG definition

2012-09-04 Thread Chris Metcalf
On 9/4/2012 8:01 PM, Greg Kroah-Hartman wrote: > From: Greg KH > > As part of the plan to remove CONFIG_HOTPLUG, it was found that tile > duplicates this config option for no reason (it's already defined as part of > init/Kconfig). This patch removes it from the tile-only Kconfig file. > > Cc: Ch

Re: [PATCH] workqueue: UNBOUND -> REBIND morphing in rebind_workers() should be atomic

2012-09-04 Thread Lai Jiangshan
On 09/05/2012 07:39 AM, Tejun Heo wrote: >>From d2ae38fc5e37b4bca3c4bec04a10dcf861a77b2b Mon Sep 17 00:00:00 2001 > From: Lai Jiangshan > Date: Sun, 2 Sep 2012 00:28:19 +0800 > > The compiler may compile the following code into TWO write/modify > instructions. > > worker->flags &= ~WORKER_

Re: [PATCH tip/core/rcu 01/26] rcu: New rcu_user_enter() and rcu_user_exit() APIs

2012-09-04 Thread Paul E. McKenney
On Fri, Aug 31, 2012 at 12:07:33PM -0700, Josh Triplett wrote: > On Thu, Aug 30, 2012 at 02:05:18PM -0700, Paul E. McKenney wrote: > > From: Frederic Weisbecker > > > > RCU currently insists that only idle tasks can enter RCU idle mode, which > > prohibits an adaptive tickless kernel (AKA nohz cp

Re: [PATCH 04/10 V4] workqueue: add manage_workers_slowpath()

2012-09-04 Thread Tejun Heo
Hello, Lai. On Sun, Sep 02, 2012 at 12:28:22AM +0800, Lai Jiangshan wrote: > If hotplug code grabbed the manager_mutex and worker_thread try to create > a worker, the manage_worker() will return false and worker_thread go to > process work items. Now, on the CPU, all workers are processing work it

Re: [PATCH 10/10 V4] workqueue: merge the role of rebind_hold to idle_done

2012-09-04 Thread Tejun Heo
On Sun, Sep 02, 2012 at 12:28:28AM +0800, Lai Jiangshan wrote: > Currently is single pass, we can wait on idle_done instead wait on > rebind_hold. > So we can remove rebind_hold and make the code simpler. As I wrote before, in general, I do like this approach; however, the implementation in this

Re: kexec/kdump kernel fails to start

2012-09-04 Thread Yinghai Lu
On Tue, Sep 4, 2012 at 5:01 PM, Flavio Leitner wrote: > On Tue, 4 Sep 2012 15:25:45 -0700 > kdump works when using your branch: > > [0.00] Linux version 3.6.0-rc4-00012-g9389673 (r...@f17i7.rh) (gcc > version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) ) #1 SMP Tue Sep 4 20:36:43 > BRT 2012 >

Re: A workaround for request_firmware() stuck in module_init

2012-09-04 Thread Ming Lei
On Wed, Sep 5, 2012 at 12:10 AM, Takashi Iwai wrote: > At Tue, 4 Sep 2012 23:52:15 +0800, > Ming Lei wrote: >> >> On Tue, Sep 4, 2012 at 9:06 PM, Takashi Iwai wrote: >> > Hi, >> > >> > as I've got recently a few bug reports regarding the stuck with >> > request_firmware() in module_init of some s

Re: [PATCH] workqueue: UNBOUND -> REBIND morphing in rebind_workers() should be atomic

2012-09-04 Thread Tejun Heo
Hello, Lai. On Wed, Sep 05, 2012 at 09:05:37AM +0800, Lai Jiangshan wrote: > Thank you for accepting this one. Thanks a lot for bearing with me. I was at kernel summit / plumbers last week so my reviews were shaky. My apologies. > I'm waiting for your comments on the other patches. > I need to

Re: [RFC PATCH v2] trace: Move trace event enable from fs_initcall to early_initcall

2012-09-04 Thread Ezequiel Garcia
Hi Steven, On 8/17/12, Steven Rostedt wrote: > On Fri, 2012-08-17 at 09:03 -0300, Ezequiel Garcia wrote: >> This patch splits trace event initialization in two stages: >> * ftrace enable >> * sysfs event entry creation >> >> This allows to capture trace events from an earlier point >> by using

Re: [PATCH v7 1/8] Talitos: Support for async_tx XOR offload

2012-09-04 Thread Dan Williams
On Tue, Sep 4, 2012 at 5:28 AM, Liu Qiang-B32616 wrote: >> Will this engine be coordinating with another to handle memory copies? >> The dma mapping code for async_tx/raid is broken when dma mapping >> requests overlap or cross dma device boundaries [1]. >> >> [1]: http://marc.info/?l=linux-arm-k

Re: [PATCH tip/core/rcu 02/23] rcu: Allow RCU grace-period initialization to be preempted

2012-09-04 Thread Paul E. McKenney
On Sat, Sep 01, 2012 at 06:09:35PM -0700, Josh Triplett wrote: > On Thu, Aug 30, 2012 at 11:18:17AM -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > RCU grace-period initialization is currently carried out with interrupts > > disabled, which can result in 200-microsecond latenc

Re: [PATCH 02/10 V4] workqueue: fix deadlock in rebind_workers()

2012-09-04 Thread Lai Jiangshan
On 09/05/2012 08:54 AM, Tejun Heo wrote: > How about something like the following? This is more consistent with > the existing code and as the fixes need to go separately through > for-3.6-fixes, it's best to stay consistent regardless of the end > result after all the restructuring. It's not tes

Re: [PATCH 02/10 V4] workqueue: fix deadlock in rebind_workers()

2012-09-04 Thread Tejun Heo
Hello, On Wed, Sep 05, 2012 at 09:28:38AM +0800, Lai Jiangshan wrote: > I see that this patch's idea is same as mine but reuses > @idle_rebind.cnt and @idle_rebind.done. > > I don't think it is consistent to avoid adding new field > and to reuse old field for different purpose It's not necessari

Re: [RFC v8 PATCH 08/20] memory-hotplug: remove /sys/firmware/memmap/X sysfs

2012-09-04 Thread Wen Congyang
At 09/05/2012 07:16 AM, Andrew Morton Wrote: > On Mon, 03 Sep 2012 13:51:10 +0800 > Wen Congyang wrote: > +static void release_firmware_map_entry(struct kobject *kobj) +{ + struct firmware_map_entry *entry = to_memmap_entry(kobj); + struct page *page; + + page = v

Re: [PATCH 10/10 V4] workqueue: merge the role of rebind_hold to idle_done

2012-09-04 Thread Lai Jiangshan
On 09/05/2012 09:15 AM, Tejun Heo wrote: > On Sun, Sep 02, 2012 at 12:28:28AM +0800, Lai Jiangshan wrote: >> Currently is single pass, we can wait on idle_done instead wait on >> rebind_hold. >> So we can remove rebind_hold and make the code simpler. > > As I wrote before, in general, I do like t

[Patch 0/1]drm_irq: Introducing the irq_thread support

2012-09-04 Thread Liu, Chuansheng
This patch is for introducing the irq thread support in drm_irq. Why we need irq thread in drm_irq code? In our GPU system, the gpu interrupt handler need some time even > 1ms to finish, in that case, the whole system will stay in irq disable status. One case is: when audio is playing, it sometim

[Patch 1/1]drm_irq: Introducing the irq_thread support

2012-09-04 Thread Liu, Chuansheng
From: liu chuansheng Subject: [PATCH] drm_irq: Introducing the irq_thread support For some GPUs, the irq handler need >1ms to handle the irq action. And it will delay the whole system irq handler. This patch is adding the irq thread support, it will make the drm_irq interface more flexible. The

linux-next: manual merge of the net-next tree with the vfs tree

2012-09-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/socket.c between commits f8a78429cc70 ("take descriptor handling from sock_alloc_file() to callers") and 32b529f92ea7 ("unexport sock_map_fd(), switch to sock_alloc_file()") from the vfs tree and commit 600e177920df ("net:

Re: [PATCH] clk: Make the generic clock API available by default

2012-09-04 Thread Benjamin Herrenschmidt
On Tue, 2012-08-28 at 13:35 -0700, Mark Brown wrote: > Rather than requiring platforms to select the generic clock API to make > it available make the API available as a user selectable option unless the > user either selects HAVE_CUSTOM_CLK (if they have their own implementation) > or selects COMM

Re: [PATCH] perf: allow user to indicate path to objdump in command line

2012-09-04 Thread Michael Ellerman
On Tue, 2012-09-04 at 10:05 -0600, David Ahern wrote: > On 9/4/12 4:32 AM, Maciek Borzecki wrote: > > When analyzing perf data from hosts of other architecture than one of the > > local > > host it's useful to call objdump that is part of a toolchain for that > > architecture. Instead of calling r

Re: [PATCH V3 3/4] PCI: Add support for non-BAR ROMs

2012-09-04 Thread Don Dutile
On 08/23/2012 12:36 PM, Matthew Garrett wrote: Platforms may provide their own mechanisms for obtaining ROMs. Add support for using data provided by the platform in that case. Signed-off-by: Matthew Garrett --- drivers/pci/rom.c | 11 +-- include/linux/pci.h | 2 ++ 2 files change

[PATCH] HID: hid-lcpower: Use HID_UP_LOGIVENDOR instead of hard coded 0x0ffbc0000

2012-09-04 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/hid/hid-lcpower.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-lcpower.c b/drivers/hid/hid-lcpower.c index c4fe9bd0..22bc14a 100644 --- a/drivers/hid/hid-lcpower.c +++ b/drivers/hid/hid-lcpower.c @@ -24,7 +24,7 @@ stati

[PATCH V4 05/10] Tools: hv: Add an example script to retrieve dhcp state

2012-09-04 Thread K. Y. Srinivasan
To keep the KVP daemon code free of distro specific details, we invoke an external script to retrieve the DHCP state. This is an example script that was used to test the KVP code. This script has to be implemented in a Distro specific fashion. For instance on distros that ship with Network Manager

RE: [PATCH V4 05/10] Tools: hv: Add an example script to retrieve dhcp state

2012-09-04 Thread KY Srinivasan
> -Original Message- > From: devel [mailto:devel-boun...@linuxdriverproject.org] On Behalf Of KY > Srinivasan > Sent: Tuesday, September 04, 2012 8:29 PM > To: Greg KH > Cc: o...@aepfle.de; tho...@redhat.com; linux-kernel@vger.kernel.org; > d...@redhat.com; a...@canonical.com; de...@linux

Re: [PATCH V3 3/4] PCI: Add support for non-BAR ROMs

2012-09-04 Thread Matthew Garrett
On Tue, Sep 04, 2012 at 10:18:48PM -0400, Don Dutile wrote: > > /* > >+ * Some devices may provide ROMs via a source other than the BAR > >+ */ > >+if (pdev->rom&& pdev->romlen) { > >+*size = pdev->romlen; > >+return phys_to_virt((phys_addr_t)pdev->rom); >

[PATCH] slab: fix the DEADLOCK issue on l3 alien lock

2012-09-04 Thread Michael Wang
From: Michael Wang DEADLOCK will be report while running a kernel with NUMA and LOCKDEP enabled, the process of this fake report is: kmem_cache_free()//free obj in cachep -> cache_free_alien() //acquire cachep's l3 alien lock -> __drain_alien_cache() -> f

Re: [PATCH v2] powerpc: fix personality handling in ppc64_personality()

2012-09-04 Thread Benjamin Herrenschmidt
On Thu, 2012-08-02 at 09:10 +0200, Jiri Kosina wrote: > Directly comparing current->personality against PER_LINUX32 doesn't work > in cases when any of the personality flags stored in the top three bytes > are used. > > Directly forcefully setting personality to PER_LINUX32 or PER_LINUX > discards

Re: [PATCH v2 1/6] device_cgroup: add "behavior" in dev_cgroup structure

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > behavior will determine if the default policy is to deny all device access > unless for the ones in the exception list. > > This variable will be used in the next patches to convert device_cgroup > internally into a default policy + rules. > > v2: > -

Re: [PATCH v2 2/6] device_cgroup: introduce dev_whitelist_clean()

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > This function cleans all the items in a whitelist and will be used by the next > patches. > > v2: > - no changes > > Cc: Tejun Heo > Cc: Li Zefan > Cc: James Morris > Cc: Pavel Emelyanov > Cc: Serge Hallyn Acked-by: Serge Hallyn > Signed-off-b

Re: [PATCH v2 3/6] device_cgroup: convert device_cgroup internally to policy + exceptions

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > The original model of device_cgroup is having a whitelist where all the > allowed devices are listed. The problem with this approach is that is > impossible to have the case of allowing everything but few devices. > > The reason for that lies in the wa

linux-next: manual merge of the spi-mb tree with the mmc tree

2012-09-04 Thread Stephen Rothwell
Hi Mark, Today's linux-next merge of the spi-mb tree got a conflict in drivers/mmc/host/mxs-mmc.c between commit fc108d24d3a6 ("mmc: mxs-mmc: fix deadlock caused by recursion loop") from the mmc tree and commit 829c1bf40b92 ("mmc: spi: Pull out parts shared between MMC and SPI") from the spi-mb tr

[PATCH v6 0/4] add syscon driver based on regmap for general registers access

2012-09-04 Thread Dong Aisheng
This patch series mainly adds an syscon driver which is used to access general system controller registers like FSL IOMUXC GPR and ANATOP, after that, we convert all the exist private access general registers code to use standard API from regmap to access registers. Finally we remove the old mfd a

[PATCH v6 1/4] mfd: add syscon driver based on regmap

2012-09-04 Thread Dong Aisheng
From: Dong Aisheng Add regmap based syscon driver. This is usually used for access misc bits in registers which does not belong to a specific module, for example, IMX IOMUXC GPR and ANATOP. With this driver, client can use generic regmap API to access registers which are registered into syscon.

[PATCH v6 3/4] regulator: anatop-regulator: convert to use syscon to access anatop register

2012-09-04 Thread Dong Aisheng
From: Dong Aisheng Using syscon to access anatop register. Acked-by: Mark Brown Acked-by: Stephen Warren Signed-off-by: Dong Aisheng --- ChangeLog v5->v6: * of_node_put after using syscon_node_to_regmap ChangeLog v4->v5: * merge patch 3,4,5,6 to avoid break bisect. ChangeLog v2->v3: * upda

[PATCH v6 2/4] ARM: imx6q: add iomuxc gpr support into syscon

2012-09-04 Thread Dong Aisheng
From: Dong Aisheng Include headfile for easy using. Acked-by: Stephen Warren Signed-off-by: Dong Aisheng --- ChangeLog v4-v5: * renamed: include/linux/fsl/imx6q-iomuxc-gpr.h -> include/linux/mfd/syscon/imx6q-iomuxc-gpr.h * a minor typo fix --- arch/arm/boot/dts/imx6q.dtsi

[PATCH v6 4/4] mfd: anatop-mfd: remove anatop driver

2012-09-04 Thread Dong Aisheng
From: Dong Aisheng The anatop registers are accessed via syscon now, no one will use mfd anatop driver anymore, remove it. Acked-by: Stephen Warren Signed-off-by: Dong Aisheng --- drivers/mfd/Kconfig|8 --- drivers/mfd/Makefile |1 - drivers/mfd/anatop-mfd.c | 124 ---

RE: [PATCH] sata_fsl: add workaround for data length mismatch on freescale V2 controller

2012-09-04 Thread Xie Shaohui-B21989
> -Original Message- > From: David Laight [mailto:david.lai...@aculab.com] > Sent: Tuesday, September 04, 2012 10:51 PM > To: Xie Shaohui-B21989; jgar...@pobox.com; linux-...@vger.kernel.org > Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org; Bhartiya > Anju-B07263 > Subject:

Re: [PATCH v2 4/6] device_cgroup: stop using simple_strtoul()

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > This patch converts the code to use kstrtou32() instead of simple_strtoul() > which is deprecated. The real size of the variables are u32, so use kstrtou32 > instead of kstrtoul > > Signed-off-by: Aristeu Rozanski phew, i'm afraid i'm not up on the l

Re: [PATCH v2 5/6] device_cgroup: rename whitelist to exception list

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > This patch replaces the "whitelist" usage in the code and comments and replace > them by exception list related information. > > v2: > - fix checkpatch warnings > > Cc: Tejun Heo > Cc: Li Zefan > Cc: James Morris > Cc: Pavel Emelyanov > Cc: Serge

Re: [PATCH v2 6/6] device_cgroup: introduce a new, more consistent interface for device_cgroup

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > Internally device_cgroup now uses a default rule (behavior) and an exception > list and this interface reflects it. > > The new files, devices.behavior ('allow' or 'deny') and devices.exceptions map > directly to the internal state. > > Also, update d

Re: [PATCH -next] extcon: extcon-arizona depends on INPUT

2012-09-04 Thread Mark Brown
On Tue, Sep 04, 2012 at 04:51:00PM -0700, Randy Dunlap wrote: > This build error still happens in linux-next of 20120904. > Can we get the patch merged for linux-next? Greg's the one managing extcon in -next. -- To unsubscribe from this list: send the line "unsubscribe linux-ker

Re: [PATCH v2 0/6] device_cgroup: replace internally whitelist with exception list

2012-09-04 Thread Serge E. Hallyn
Quoting Aristeu Rozanski (a...@redhat.com): > The original model of device_cgroup is having a whitelist where all the > allowed devices are listed. The problem with this approach is that is > impossible to have the case of allowing everything but few devices. > > The reason for that lies in the wa

Re: [PATCH V3 1/3] drivers/char/tpm: Add new device driver to support IBM vTPM

2012-09-04 Thread Benjamin Herrenschmidt
On Wed, 2012-08-22 at 16:42 -0500, Kent Yoder wrote: > On Wed, Aug 22, 2012 at 04:17:43PM -0500, Ashley Lai wrote: > > This patch adds a new device driver to support IBM virtual TPM > > (vTPM) for PPC64. IBM vTPM is supported through the adjunct > > partition with firmware release 740 or higher.

RE: [PATCH] usb: otg: Move phy interface to separate file.

2012-09-04 Thread Venu Byravarasu
Not sure, why it appeared like that. However my actual mail id is: vbyravar...@nvidia.com Shall I resend the patch, or this mail id can be added in the patch? Thanks, Venu > -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, September 04, 2012 10:51

Re: RCU warning during UBI file system mount

2012-09-04 Thread Shawn Guo
On Tue, Sep 04, 2012 at 08:43:12AM -0700, Subodh Nijsure wrote: > MX28 is ARM device. I removed following from my config and these > warnings went away. > > CONFIG_CPU_IDLE=y > CONFIG_CPU_IDLE_GOV_LADDER=y > CONFIG_CPU_IDLE_GOV_MENU=y > There is no cpuidle implemented on imx28. I do not understa

RE: [PATCH] usb: otg: Move phy interface to separate file.

2012-09-04 Thread Venu Byravarasu
Hi Greg, Initially I pushed patch to linux-next with https://lkml.org/lkml/2012/8/29/40 . In this patch, my mail id for "Signed-off-by" is correctly shown. However as Felipe wanted me to push the patch to his branch, I synced to his code base and pushed the patch. Am still not sure, why my mail

Re: linux-next: manual merge of the spi-mb tree with the mmc tree

2012-09-04 Thread Marek Vasut
Dear Stephen Rothwell, > Hi Mark, > > Today's linux-next merge of the spi-mb tree got a conflict in > drivers/mmc/host/mxs-mmc.c between commit fc108d24d3a6 ("mmc: mxs-mmc: > fix deadlock caused by recursion loop") from the mmc tree and commit > 829c1bf40b92 ("mmc: spi: Pull out parts shared betw

linux-next: manual merge of the rcu tree with the tip tree

2012-09-04 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the rcu tree got a conflict in kernel/sched/core.c between commit f319da0c6894 ("sched: Fix load avg vs cpu-hotplug") from the tip tree and commit ead504e5600e ("sched: Fix load avg vs cpu-hotplug") from the rcu tree. These are 2 slightly different versions of

Re: [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-04 Thread Dave Chinner
On Tue, Sep 04, 2012 at 11:26:33AM -0700, Tejun Heo wrote: > Hello, > > On Tue, Sep 04, 2012 at 09:54:23AM -0400, Vivek Goyal wrote: > > > Given that we are working around stack depth issues in the > > > filesystems already in several places, and now it seems like there's > > > a reason to work ar

Re: [PATCH v3 2/4] misc: Generic on-chip SRAM allocation driver

2012-09-04 Thread Shawn Guo
On Mon, Sep 03, 2012 at 06:02:06PM +0200, Philipp Zabel wrote: > +static struct platform_driver sram_driver = { > + .driver = { > + .name = "sram", > + .of_match_table = of_match_ptr(sram_dt_ids), > + }, > + .probe = sram_probe, > + .remove = __devexit_p(sram

[PATCH] clkdev: Add default clkdev.h

2012-09-04 Thread Mark Brown
Ease the deployment of clkdev by providing a default asm/clkdev.h for use if the arch does not have an include/asm/clkdev.h. Due to limitations in Kbuild we manually add clkdev.h to all architectures that don't have one rather than having the header appear by default. Signed-off-by: Mark Brown R

Re: [PATCH] virtio-blk: Fix kconfig option

2012-09-04 Thread Asias He
On 09/04/2012 02:23 PM, Rusty Russell wrote: > Kent Overstreet writes: > >> CONFIG_VIRTIO isn't exposed, everything else is supposed to select it >> instead. > > This is a slight mis-understanding. It's supposed to be selected by > the particular driver, probably virtio_pci in your case. virti

Re: [PATCH 07/11] kexec: Disable in a secure boot environment

2012-09-04 Thread Eric W. Biederman
Matthew Garrett writes: > On Tue, Sep 04, 2012 at 03:12:52PM -0700, Eric W. Biederman wrote: >> Matthew Garrett writes: >> > The driving force behind this code right now is that our choices are >> > either (1) do something like this, or (2) disable kexec entirely. >> >> Actually there is an in

Re: WARNING: cpu_is_offline() at native_smp_send_reschedule()

2012-09-04 Thread Michael Wang
Hi, Feng Guang On 09/05/2012 09:11 AM, Fengguang Wu wrote: > Hi, > > Here is an old problem that happens also in 3.4. It's very unreliable: > it may only happen once per 3000 boots.. > > [ 10.968565] reboot: machine restart > [ 10.983510] [ cut here ] > [ 10.984218]

Re: [PATCH v7 9/9] block: Avoid deadlocks with bio allocation by stacking drivers

2012-09-04 Thread Tejun Heo
Hello, Dave. On Wed, Sep 05, 2012 at 01:57:59PM +1000, Dave Chinner wrote: > > But, yeah, this can't be solved by enlarging the stack size. The > > upper limit is unbound. > > Sure, but recursion issue is isolated to the block layer. > > If we can still submit IO directly through the block laye

[PATCH 0/5] regulator: lp872x: remove platform data dependency

2012-09-04 Thread Kim, Milo
This patch-set removes the platform data dependency. The LP872x driver should be run even if the platform data is not defined. 5 patches enable running the driver in case the LP8720/8725 platform data has no configuration. [PATCH 1/5] regulator: lp872x: remove regulator platform data dependency [

[PATCH 1/5] regulator: lp872x: remove regulator platform data dependency

2012-09-04 Thread Kim, Milo
This patch enables registering the regulator driver even though the regulator_init_data is not defined in the platform side. Signed-off-by: Milo(Woogyom) Kim --- drivers/regulator/lp872x.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/regulator/

[PATCH 2/5] regulator: lp872x: set the default DVS mode

2012-09-04 Thread Kim, Milo
The lp872x driver has the DVS platform data which select the register address of the BUCK voltage. This patch enables updating the default DVS mode when the DVS platform data is not defined. Signed-off-by: Milo(Woogyom) Kim --- drivers/regulator/lp872x.c | 15 ++- 1 file change

[PATCH 4/5] regulator: lp872x: fix NULL pointer access problem

2012-09-04 Thread Kim, Milo
The lp872x_set_dvs() is used for changing the DVS pin state. This function works only when the DVS platform data is defined. So don't assume that DVS data is always valid. In case the platform data is not defined, the DVS data is set to NULL for skipping the DVS pin control. DVS selection an

[PATCH 5/5] regulator: lp872x: remove unnecessary function

2012-09-04 Thread Kim, Milo
The lp872x_check_dvs_validity() is used for checking DVS platform data. If the DVS platform data is not defined, return as error code. Now, this is unnecessary because the default DVS mode is set in this case. Signed-off-by: Milo(Woogyom) Kim --- drivers/regulator/lp872x.c | 28

Re: [PATCH] dma: tegra: move smmu.h into SMMU driver

2012-09-04 Thread Hiroshi Doyu
On Wed, 5 Sep 2012 00:36:15 +0200 Stephen Warren wrote: > From: Stephen Warren > > There's no need to place these defines into arch/arm/mach-tegra/include/. > Move them into the SMMU driver to clean up mach-tegra, as a pre-requisite > for single-zImage. > > Signed-off-by: Stephen Warren > Cc:

<    1   2   3   4   5   6   7   >