[PATCH v5 16/17] xen/arm: compile netback

2012-09-17 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk --- arch/arm/include/asm/xen/hypercall.h | 19 +++ drivers/net/xen-netback/netback.c|1 + drivers/net/xen-netfront.c |1 + 3 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arc

[PATCH v5 11/17] xen/arm: get privilege status

2012-09-17 Thread Stefano Stabellini
Use Xen features to figure out if we are privileged. XENFEAT_dom0 was introduced by 23735 in xen-unstable.hg. Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk --- arch/arm/xen/enlighten.c |7 +++ include/xen/interface/features.h |3 +++ 2 files changed, 10

[PATCH v5 15/17] xen/arm: compile blkfront and blkback

2012-09-17 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk --- drivers/block/xen-blkback/blkback.c |1 + include/xen/interface/io/protocols.h |3 +++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/bl

[PATCH v5 12/17] xen/arm: initialize grant_table on ARM

2012-09-17 Thread Stefano Stabellini
Initialize the grant table mapping at the address specified at index 0 in the DT under the /xen node. After the grant table is initialized, call xenbus_probe (if not dom0). Changes in v2: - introduce GRANT_TABLE_PHYSADDR; - remove unneeded initialization of boot_max_nr_grant_frames. Signed-off-b

[PATCH v5 14/17] xen/arm: implement alloc/free_xenballooned_pages with alloc_pages/kfree

2012-09-17 Thread Stefano Stabellini
Only until we get the balloon driver to work. Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk --- arch/arm/xen/enlighten.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index bad67

[PATCH v5 13/17] xen/arm: receive Xen events on ARM

2012-09-17 Thread Stefano Stabellini
Compile events.c on ARM. Parse, map and enable the IRQ to get event notifications from the device tree (node "/xen"). Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk --- arch/arm/include/asm/xen/events.h | 18 ++ arch/arm/xen/enlighten.c | 33 +

[PATCH v5 17/17] MAINTAINERS: add myself as Xen ARM maintainer

2012-09-17 Thread Stefano Stabellini
Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk CC: Arnd Bergmann --- MAINTAINERS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index fdc0119..3d38291 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7752,6 +7752,13 @@ F

[PATCH v5 03/17] xen/arm: page.h definitions

2012-09-17 Thread Stefano Stabellini
ARM Xen guests always use paging in hardware, like PV on HVM guests in the X86 world. Changes in v3: - improve comments. Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk --- arch/arm/include/asm/xen/page.h | 82 +++ 1 files changed, 82 in

[PATCH v5 09/17] xen: do not compile manage, balloon, pci, acpi, pcpu and cpu_hotplug on ARM

2012-09-17 Thread Stefano Stabellini
Changes in v4: - compile pcpu only on x86; - use "+=" instead of ":=" for dom0- targets. Changes in v2: - make pci.o depend on CONFIG_PCI and acpi.o depend on CONFIG_ACPI. Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk --- drivers/xen/Makefile | 13 + 1 files

[PATCH v5 05/17] xen/arm: empty implementation of grant_table arch specific functions

2012-09-17 Thread Stefano Stabellini
Changes in v2: - return -ENOSYS rather than -1. Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk --- arch/arm/xen/Makefile |2 +- arch/arm/xen/grant-table.c | 53 2 files changed, 54 insertions(+), 1 deletions(-) create

[PATCH v5 06/17] docs: Xen ARM DT bindings

2012-09-17 Thread Stefano Stabellini
Add a doc to describe the Xen ARM device tree bindings Changes in v5: - add a comment about the size of the grant table memory region; - add a comment about the required presence of a GIC node; - specify that the described properties are part of a top-level "hypervisor" node; - specify #address-

[PATCH v5 02/17] xen/arm: hypercalls

2012-09-17 Thread Stefano Stabellini
Use r12 to pass the hypercall number to the hypervisor. We need a register to pass the hypercall number because we might not know it at compile time and HVC only takes an immediate argument. Among the available registers r12 seems to be the best choice because it is defined as "intra-procedure ca

[PATCH v5 01/17] arm: initial Xen support

2012-09-17 Thread Stefano Stabellini
- Basic hypervisor.h and interface.h definitions. - Skeleton enlighten.c, set xen_start_info to an empty struct. - Make xen_initial_domain dependent on the SIF_PRIVILIGED_BIT. The new code only compiles when CONFIG_XEN is set, that is going to be added to arch/arm/Kconfig in patch #11 "xen/arm: in

Re: [PATCH v6 0/2] ARM: New cache API for iommu

2012-09-17 Thread Gupta, Ramesh
Hi Russell, On Thu, Sep 13, 2012 at 12:39 PM, Gupta, Ramesh wrote: > From a00cbfadc0053a3c21812593997a1b7338234a9f Mon Sep 17 00:00:00 2001 > From: Ramesh Gupta G > Date: Thu, 13 Sep 2012 11:43:20 +0530 > Subject: [PATCH v6 0/2] ARM: New cache API for iommu > > This patch series is the next ve

Re: Why blktrace didn't trace requests merge?

2012-09-17 Thread Tejun Heo
(cc'ing Jens) On Mon, Sep 17, 2012 at 09:22:28AM -0400, Steven Rostedt wrote: > On Mon, 2012-09-17 at 19:33 +0800, Jianpeng Ma wrote: > > Hi all: > > I used blktrace to trace some io.But i can't find requests merge. I > > searched the code and did't not find. > > Why? > >

Re: [PATCH] Increase XHCI suspend timeout to 16ms

2012-09-17 Thread Sarah Sharp
On Fri, Sep 14, 2012 at 01:05:49PM -0400, Michael Spang wrote: > The Intel XHCI specification says that after clearing the run/stop bit > the controller may take up to 16ms to halt. We've seen a device take > 14ms, which with the current timeout of 10ms causes the kernel to > abort the suspend. Inc

Re: [RFC][PATCH] fs/buffer.c: Revoke LRU when trying to drop buffers

2012-09-17 Thread Laura Abbott
Hi, On 9/14/2012 6:41 PM, Hugh Dickins wrote: On Tue, 11 Sep 2012, Laura Abbott wrote: When a buffer is added to the LRU list, a reference is taken which is not dropped until the buffer is evicted from the LRU list. This is the correct behavior, however this LRU reference will prevent the buffe

[GIT PULL] RAS changes for 3.7

2012-09-17 Thread Borislav Petkov
Hi guys, just a "enable MCE by default" patch and a trivial cleanup. Please pull, Thanks. The following changes since commit 5698bd757d55b1bb87edd1a9744ab09c142abfc2: Linux 3.6-rc6 (2012-09-16 14:58:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kerne

Re: Why blktrace didn't trace requests merge?

2012-09-17 Thread KOSAKI Motohiro
(9/17/12 1:55 PM), Tejun Heo wrote: > (cc'ing Jens) > > On Mon, Sep 17, 2012 at 09:22:28AM -0400, Steven Rostedt wrote: >> On Mon, 2012-09-17 at 19:33 +0800, Jianpeng Ma wrote: >>> Hi all: >>> I used blktrace to trace some io.But i can't find requests merge. I >>> searched the code and did't

[PATCH] drivers/target/target_core_configfs.c: fix error return code

2012-09-17 Thread Peter Senna Tschudin
From: Peter Senna Tschudin Convert a nonnegative error return code to a negative one, as returned elsewhere in the function. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // ( if@p1 (\(ret < 0\|ret != 0\)) { ... return ret; } |

Re: [PATCH] applesmc: Bump max wait and rearrange udelay

2012-09-17 Thread Parag Warudkar
On Mon, 17 Sep 2012, Henrik Rydberg wrote: > The current patch does exactly the same sleeps, the only difference is > that the test is also done before the first sleep. Thus, the increased > delay, if any, comes from the sleep range. My understanding is that the original patch resulted in trying

Re: [Xen-devel] [PATCH 11/11] xen/mmu: Release just the MFN list, not MFN list and part of pagetables.

2012-09-17 Thread William Dauchy
Hello Konrad, On Thu, Aug 16, 2012 at 6:03 PM, Konrad Rzeszutek Wilk wrote: > (XEN) mm.c:908:d0 Error getting mfn 116a83 (pfn 14e2a) from L1 entry > 800116a83067 for l1e_owner=0, pg_owner=0 > (XEN) mm.c:908:d0 Error getting mfn 4040 (pfn ) from L1 entry > 04040601 fo

Re: [PATCH v9 0/2] kvm: level irqfd support

2012-09-17 Thread Alex Williamson
On Wed, 2012-08-22 at 11:25 +0300, Michael S. Tsirkin wrote: > On Tue, Aug 21, 2012 at 07:28:15PM -0600, Alex Williamson wrote: > > On Wed, 2012-08-22 at 03:31 +0300, Michael S. Tsirkin wrote: > > > On Tue, Aug 21, 2012 at 01:28:57PM -0600, Alex Williamson wrote: > > > > Here's the much anticipated

Re: [PATCH 3/4] drivers/mmc/host/omap_hsmmc.c: fix error return code

2012-09-17 Thread S, Venkatraman
On Mon, Sep 17, 2012 at 1:45 PM, Peter Senna Tschudin wrote: > From: Peter Senna Tschudin > > Convert a nonnegative error return code to a negative one, as returned > elsewhere in the function. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccine

Re: [PATCH] Smack: add support for modification of existing rules

2012-09-17 Thread Casey Schaufler
On 9/17/2012 8:15 AM, Rafal Krypa wrote: > Rule modifications are enabled via /smack/change-rule. Format is as follows: > "Subject Object rwaxt rwaxt" > > First two strings are subject and object labels up to 255 characters. > Third string contains permissions to enable. > Fourth string contains pe

2 physical-cpu (like 2x6core) config and NUMA?

2012-09-17 Thread Linda Walsh
I was wondering, on dual processor MB's, Intel uses dedicated memory for each cpu 6 memchips in the X5XXX series, and to access the memory of the other chip's cores, the memory has to be transferred over the QPI bus. So wouldn't it be of benefit if such dual chip configurations were to be

Re: [PATCH 0/7] dw_dmac: introduce autoconfiguration

2012-09-17 Thread Hein Tibosch
On 9/17/2012 3:39 PM, Andy Shevchenko wrote: > Here is a patchset that allows to adapt the driver to the hardware > configuration during probe time. The hardware should have the specific > optional > parameters enabled. Otherwise the driver will consider values stored in the > platform data. > > A

Re: [patch 1/7] procfs: Add ability to plug in auxiliary fdinfo providers

2012-09-17 Thread Cyrill Gorcunov
On Thu, Sep 13, 2012 at 01:29:07AM +0400, Cyrill Gorcunov wrote: > This patch brings ability to print out auxiliary data associated > with file in procfs interface /proc/pid/fdinfo/fd. > > In particular further patches make eventfd, evenpoll, signalfd > and fsnotify to print additional information

Re: [PATCH 1/2] iio: inkern: add error case in iio_channel_get()

2012-09-17 Thread Jonathan Cameron
On 09/17/2012 09:44 AM, Kim, Milo wrote: > The datasheet name is defined in the IIO driver. > On the other hand, the adc_channel_label is configured in > the platform side. > If the datasheet name is not matched with any adc_channel_label, > the iio_channel_get() should be returned as error fo

Re: [PATCH 6/7 v2] HID: picoLCD: drop version check during probe

2012-09-17 Thread Bruno Prémont
Jiri, You seem not to have applied this one yet (it doesn't show up in picolcd branch). Could you please apply it? (or did I miss locking changes making it obsolete?) Thanks, Bruno On Sun, 19 August 2012 Bruno Prémont wrote: > Commit 4ea5454203d991ec85264f64f89ca8855fce69b0 > [HID: Fix race co

Re: [PATCH] applesmc: Bump max wait and rearrange udelay

2012-09-17 Thread Parag Warudkar
On Mon, 17 Sep 2012, Henrik Rydberg wrote: > The MBP10,1 experiences a lot of write errors with this patch. I just noticed a single write failure - are you seeing something similar? [ 1660.362997] applesmc: send_byte(0x00, 0x0300) fail: 0x00 [ 1660.363002] applesmc: LKSB: write data fail Sinc

Re: Why blktrace didn't trace requests merge?

2012-09-17 Thread Jens Axboe
On 2012-09-17 19:55, Tejun Heo wrote: > (cc'ing Jens) > > On Mon, Sep 17, 2012 at 09:22:28AM -0400, Steven Rostedt wrote: >> On Mon, 2012-09-17 at 19:33 +0800, Jianpeng Ma wrote: >>> Hi all: >>> I used blktrace to trace some io.But i can't find requests merge. I >>> searched the code and did'

Re: [Xen-devel] [PATCH 11/11] xen/mmu: Release just the MFN list, not MFN list and part of pagetables.

2012-09-17 Thread Konrad Rzeszutek Wilk
On Mon, Sep 17, 2012 at 08:06:26PM +0200, William Dauchy wrote: > Hello Konrad, > > On Thu, Aug 16, 2012 at 6:03 PM, Konrad Rzeszutek Wilk > wrote: > > (XEN) mm.c:908:d0 Error getting mfn 116a83 (pfn 14e2a) from L1 entry > > 800116a83067 for l1e_owner=0, pg_owner=0 > > (XEN) mm.c:908:d0 Erro

Re: [PATCH] applesmc: Bump max wait and rearrange udelay

2012-09-17 Thread Henrik Rydberg
On Mon, Sep 17, 2012 at 02:06:05PM -0400, Parag Warudkar wrote: > > > On Mon, 17 Sep 2012, Henrik Rydberg wrote: > > > The current patch does exactly the same sleeps, the only difference is > > that the test is also done before the first sleep. Thus, the increased > > delay, if any, comes from t

Re: [PATCH V2] mmc: omap_hsmmc: Pass on the suspend failure to the PM core

2012-09-17 Thread S, Venkatraman
On Thu, Sep 13, 2012 at 12:01 PM, Hebbar, Gururaja wrote: > From: Vaibhav Bedia > > In some cases mmc_suspend_host() is not able to claim the > host and proceed with the suspend process. The core returns > -EBUSY to the host controller driver. Unfortunately, the > host controller driver does not

Where can find block layer lockless queue work.

2012-09-17 Thread Muthu Kumar
Hi All, I heard there is some work going on to support lockless queue in the block layer. Is there a git repo with current changes that I can follow? Any info on this work is appreciated. Thanks a lot. Regards, Muthu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH] serial: set correct baud_base for EXSYS EX-41092 Dual 16950

2012-09-17 Thread Flavio Leitner
Apparently the same card model has two IDs, so this patch complements the commit 39aced68d664291db3324d0fcf0985ab5626aac2 adding the missing one. Signed-off-by: Flavio Leitner --- drivers/tty/serial/8250/8250_pci.c | 7 +-- include/linux/pci_ids.h| 3 ++- 2 files changed, 7 inser

Re: [PATCH] applesmc: Bump max wait and rearrange udelay

2012-09-17 Thread Parag Warudkar
On Mon, 17 Sep 2012, Henrik Rydberg wrote: > So the question is, does this patch work equally well for you? > > > diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c > index 2827088..8bf9011 100644 > --- a/drivers/hwmon/applesmc.c > +++ b/drivers/hwmon/applesmc.c > @@ -56,7 +56,7

Re: [PATCH] workqueue: fix leak of active

2012-09-17 Thread Tejun Heo
Hello, Lai. On Mon, Sep 17, 2012 at 10:40:05AM +0800, Lai Jiangshan wrote: > try_to_grab_pending() leave LINKED tagalong in delayed queue when > it deletes a work. This behavior will cause future > cwq_activate_first_delayed() increase the ->nr_active wrongly, > and may cause the whole cwq frozen.

Re: [PATCH] applesmc: Bump max wait and rearrange udelay

2012-09-17 Thread Henrik Rydberg
On Mon, Sep 17, 2012 at 02:54:25PM -0400, Parag Warudkar wrote: > > > On Mon, 17 Sep 2012, Henrik Rydberg wrote: > > > So the question is, does this patch work equally well for you? > > > > > > diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c > > index 2827088..8bf9011 100644 >

Re: [PATCH v2 1/5] x86, fpu: decouple non-lazy/eager fpu restore from xsave

2012-09-17 Thread Pavel Machek
Hi! irely omitted. > and restore using xsave. The kernel will fallback to > enabling legacy floating-point and sse state. > > + eagerfpu= [X86] > + on enable eager fpu restore > + off disable e

[PATCH] ARM: msm: Silence warning when CONFIG_MMC=n

2012-09-17 Thread Stephen Boyd
arch/arm/mach-msm/board-trout.c:67:6: warning: unused variable 'rc' Just drop the #ifdef and do this unconditionally. Signed-off-by: Stephen Boyd --- arch/arm/mach-msm/board-trout.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-msm/board-trout.c b/arch/arm/mach-msm/board-t

RE: radeon: Regression between v3.6-rc4 and v3.6-rc6: unable to allocate a PPLL

2012-09-17 Thread Deucher, Alexander
> -Original Message- > From: Andres Freund [mailto:and...@anarazel.de] > Sent: Monday, September 17, 2012 1:16 PM > To: Deucher, Alexander > Cc: LKML; David Airlie; dri-de...@lists.freedesktop.org > Subject: Re: radeon: Regression between v3.6-rc4 and v3.6-rc6: unable to > allocate a PPLL

Re: [PATCH 0/5] Simplify code by using hotplug safe pci_get_domain_bus_and_slot()

2012-09-17 Thread Bjorn Helgaas
On Tue, Aug 28, 2012 at 9:43 AM, Jiang Liu wrote: > Following code has a race window between pci_find_bus() and pci_get_slot() > if PCI hotplug operation happens between them which removes the pci_bus. > So use PCI hotplug safe interface pci_get_domain_bus_and_slot() instead, > which also reduces

Re: [PATCH] applesmc: Bump max wait and rearrange udelay

2012-09-17 Thread Henrik Rydberg
> > So bottomline, I suspect we will need to bump to 0x2 if you want to > > keep the current loop termination and udelay(). > > That is just crazy, since your code works with a 32ms maximum. I am sorry, I misread the number of zeroes here. If you are saying that fours times the current numbe

Re: [PATCHSET] kthread_worker: reimplement flush_kthread_work() to allow freeing during execution

2012-09-17 Thread Tejun Heo
On Fri, Sep 14, 2012 at 03:50:40PM -0700, Colin Cross wrote: > This patch set fixes a reproducible crash I'm seeing on a 3.4.10 > kernel. flush_kthread_worker (which is different from > flush_kthread_work) is initializing a kthread_work and a completion on > the stack, then queuing it and calling

Re: Where can find block layer lockless queue work.

2012-09-17 Thread Jens Axboe
On 2012-09-17 20:52, Muthu Kumar wrote: > Hi All, > I heard there is some work going on to support lockless queue in the > block layer. Is there a git repo with current changes that I can > follow? Any info on this work is appreciated. Thanks a lot. It's in my new-queue branch of the block git rep

Re: [PATCH v2 3/3] devfreq: Add current freq callback in device profile

2012-09-17 Thread Rafael J. Wysocki
On Monday, September 17, 2012, MyungJoo Ham wrote: > > From: Rajagopal Venkat > > > > Devfreq returns governor predicted frequency as current frequency > > via sysfs interface. But device may not support all frequencies > > that governor predicts. So add a callback in device profile to get > > cu

Re: [PATCH 2/2] iio: inkern: put the IIO device when mem alloc gets failed

2012-09-17 Thread Jonathan Cameron
On 09/17/2012 10:57 AM, Kim, Milo wrote: >>> drivers/iio/inkern.c |5 - >>> 1 file changed, 4 insertions(+), 1 deletion(-) >>> >>> diff --git a/drivers/iio/inkern.c b/drivers/iio/inkern.c >>> index 13748c0..aff034b 100644 >>> --- a/drivers/iio/inkern.c >>> +++ b/drivers/iio/inkern.c >>> @@

[PATCH] usbhid: call report_fixup before comparing descriptors

2012-09-17 Thread Kevin Daughtridge
hid_post_reset checks the stored report descriptor against what is currently returned by the device. An HID driver's report_fixup method may have changed the stored descriptor, however, creating false positives. These leave some devices nonfunctional after a resume, with a "reset_resume error 1"

Re: [PATCH] applesmc: Bump max wait and rearrange udelay

2012-09-17 Thread Henrik Rydberg
> Any better/other ideas ? Is the problem that we have to increase the wait > time, > or is something else going on ? No, it makes sense now that I got the right number of zeroes. ;-) So, to be explicit, this is the patch I would like to go in. It is completely safe, back-portable, and a no-brai

Re: perf script: rwtop: SIGALRM and pipe read race

2012-09-17 Thread David Ahern
On 9/17/12 11:12 AM, Arnaldo Carvalho de Melo wrote: Its possible that changes made to support non tracepoint events introduced this problem, so perhaps bisecting it, as this wasn't present some time ago, i.e. those big numbers :-\ git bisect failed miserably for me. But, pondering a bit on ch

Re: linux-next: Tree for Sept 17 (jfs)

2012-09-17 Thread Geert Uytterhoeven
Hi Dave. On Mon, Sep 17, 2012 at 6:50 PM, Dave Kleikamp wrote: >> modular build: >> ERROR: "__divdi3" [fs/jfs/jfs.ko] undefined! >> >> or builtin: >> fs/built-in.o: In function `dbDiscardAG': >> (.text+0x12988b): undefined reference to `__divdi3' > > Thanks Randy. > > This should fix it. I'll int

Re: [PATCH] xfrm_user: return error pointer instead of NULL

2012-09-17 Thread Mathias Krause
On Mon, Sep 17, 2012 at 9:16 AM, Steffen Klassert wrote: > On Thu, Sep 13, 2012 at 11:41:26PM +0200, Mathias Krause wrote: >> When dump_one_state() returns an error, e.g. because of a too small >> buffer to dump the whole xfrm state, xfrm_state_netlink() returns NULL >> instead of an error pointer

[PATCH 3.6-rc6] cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to another CPU

2012-09-17 Thread Tejun Heo
powernowk8_target() runs off a per-cpu work item and if the cpufreq_policy->cpu is different from the current one, it migrates the kworker to the target CPU by manipulating current->cpus_allowed. The function migrates the kworker back to the original CPU but this is still broken. Workqueue concur

[PATCH 1/2] vfs: dcache: fix deadlock in tree traversal

2012-09-17 Thread Miklos Szeredi
From: Miklos Szeredi IBM reported a deadlock in select_parent(). This was found to be caused by taking rename_lock when already locked when restarting the tree traversal. There are two cases when the traversal needs to be restarted: 1) concurrent d_move(); this can only happen when not alread

Re: staging: Line6 - Steps needed to get driver out of staging area

2012-09-17 Thread Greg KH
On Sun, Sep 16, 2012 at 07:29:03PM +0200, Johannes Thumshirn wrote: > Hi LKML, > > I wanted to ask for the steps that are needed to get the line6 > driver out of the staging area (apart from minor getpatch.pl fixes). First try asking on the proper mailing list :) Second, it needs to be submitted

Re: [weiyj...@gmail.com: [PATCH] gpio_msm: using for_each_set_bit to simplify the code]

2012-09-17 Thread Rohit Vaswani
On 9/17/2012 8:50 AM, David Brown wrote: - Forwarded message from Wei Yongjun - Date: Fri, 14 Sep 2012 10:28:31 +0800 From: Wei Yongjun To: grant.lik...@secretlab.ca, linus.wall...@linaro.org Cc: yongjun_...@trendmicro.com.cn, linux-kernel@vger.kernel.org Subject: [PATCH] gpio_msm: usi

Re: [PATCHSET] kthread_worker: reimplement flush_kthread_work() to allow freeing during execution

2012-09-17 Thread Greg KH
On Mon, Sep 17, 2012 at 12:40:16PM -0700, Tejun Heo wrote: > On Fri, Sep 14, 2012 at 03:50:40PM -0700, Colin Cross wrote: > > This patch set fixes a reproducible crash I'm seeing on a 3.4.10 > > kernel. flush_kthread_worker (which is different from > > flush_kthread_work) is initializing a kthread

[PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Tony Lindgren
Commit 7d7e1eba (ARM: OMAP2+: Prepare for irqs.h removal) broke compile for non-omap as include plat/cpu.h was added: drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or directory This header was indirectly included earlier when SPARSE_IRQ was not set, but does not exist on mos

[PATCH 2/2] vfs: dcache: use DCACHE_DENTRY_KILLED instead of DCACHE_DISCONNECTED in d_kill()

2012-09-17 Thread Miklos Szeredi
From: Miklos Szeredi IBM reported a soft lockup after applying the fix for the rename_lock deadlock. Commit c83ce989 ("VFS: Fix the nfs sillyrename regression in kernel 2.6.38") was found to be the culprit. The nfs sillyrename fix used DCACHE_DISCONNECTED to indicate that the dentry was killed.

Re: [PATCH 00/10] rcu: Add missing RCU idle APIs on idle loop

2012-09-17 Thread Geert Uytterhoeven
Hi Frederic, Paul, On Thu, Aug 23, 2012 at 11:50 PM, Frederic Weisbecker wrote: > On Thu, Aug 23, 2012 at 10:23:22PM +0200, Geert Uytterhoeven wrote: >> On Thu, Aug 23, 2012 at 1:02 PM, Frederic Weisbecker >> wrote: >> > On Wed, Aug 22, 2012 at 07:18:04PM +0200, Geert Uytterhoeven wrote: >> >>

Re: [PATCH 3.6-rc6] cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to another CPU

2012-09-17 Thread Rafael J. Wysocki
On Monday, September 17, 2012, Tejun Heo wrote: > powernowk8_target() runs off a per-cpu work item and if the > cpufreq_policy->cpu is different from the current one, it migrates the > kworker to the target CPU by manipulating current->cpus_allowed. The > function migrates the kworker back to the

Re: linux-next: build failure after merge of the final tree (arm-soc tree related)

2012-09-17 Thread Tony Lindgren
* Tony Lindgren [120917 10:25]: > * Arnd Bergmann [120917 07:30]: > > > > If it requires plat/cpu.h, it should actually be limited to > > CONFIG_ARCH_OMAP, > > otherwise we will get the same problem on non-OMAP ARM builds. From what > > I can tell, the problem is the clocks_init function, which

Re: [PATCH V2 0/3] x86,idle: Enhance cpuidle prediction to handle its failure

2012-09-17 Thread Daniel Lezcano
On 09/18/2012 05:30 AM, Youquan Song wrote: >>> One case is turbostat utility (tools/power/x86/turbostat) at kernel 3.3 or >>> early >>> . turbostat utility will read 10 registers one by one at Sandybridge, so it >>> will >>> generate 10 IPIs to wake up idle CPUs. So cpuidle menu governor will >

Re: [PATCH 3.6-rc6] cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to another CPU

2012-09-17 Thread Borislav Petkov
On Mon, Sep 17, 2012 at 01:17:21PM -0700, Tejun Heo wrote: > powernowk8_target() runs off a per-cpu work item and if the > cpufreq_policy->cpu is different from the current one, it migrates the > kworker to the target CPU by manipulating current->cpus_allowed. The > function migrates the kworker b

Re: [PATCH 1/2] vfs: dcache: fix deadlock in tree traversal

2012-09-17 Thread Al Viro
On Mon, Sep 17, 2012 at 10:23:30PM +0200, Miklos Szeredi wrote: > From: Miklos Szeredi > > IBM reported a deadlock in select_parent(). This was found to be caused by > taking rename_lock when already locked when restarting the tree traversal. > > There are two cases when the traversal needs to

Re: [dm-devel] [PATCH v10 8/8] block: Add bio_clone_bioset(), bio_clone_kmalloc()

2012-09-17 Thread Kent Overstreet
On Fri, Sep 14, 2012 at 10:50:59PM +0100, Alasdair G Kergon wrote: > On Thu, Sep 06, 2012 at 03:35:02PM -0700, Kent Overstreet wrote: > > Previously, there was bio_clone() but it only allocated from the fs bio > > set; as a result various users were open coding it and using > > __bio_clone(). > >

RE: [RFC] mm: add support for zsmalloc and zcache

2012-09-17 Thread Dan Magenheimer
> From: Nitin Gupta [mailto:ngu...@vflare.org] > Subject: Re: [RFC] mm: add support for zsmalloc and zcache > > The problem is that zbud performs well only when a (compressed) page is > either PAGE_SIZE/2 - e or PAGE_SIZE - e, where e is small. So, even if > the average compression ratio is 2x (wh

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Arnd Bergmann
On Monday 17 September 2012, Tony Lindgren wrote: > Commit 7d7e1eba (ARM: OMAP2+: Prepare for irqs.h removal) broke > compile for non-omap as include plat/cpu.h was added: > > drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or > directory > > This header was indirectly includ

Re: [patch net] sky2: fix rx filter setup on link up

2012-09-17 Thread Jiri Pirko
Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote: >On Mon, 17 Sep 2012 17:10:17 +0200 >Jiri Pirko wrote: > >> In my case I have following problem. sky2_set_multicast() sets registers >> GM_MC_ADDR_H[1-4] correctly to: >> 0800 0001 0410 >> However, when adapter gets link and s

[PATCH 4/4] tools lib traceevent: Remove some die() calls

2012-09-17 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cleaned event-parse.c this time, just propagate the errors and in handle them the call sites. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://l

[PATCH 3/4] tools lib traceevent: Fix afterlife gotos

2012-09-17 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Instead of dying, just use do_warning and let the goto that is there to take place. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Steven Rostedt Link

[RFC 0/4] Some libtraceevent cleanups/simplifications

2012-09-17 Thread Arnaldo Carvalho de Melo
Hi Steven, Please take a look, while looking at how to do some stuff in 'perf test' just for parsing the /format file I ended up with this series, lemme know if I can add your Acked-by and push via my perf/core branch. - Arnaldo Arnaldo Carvalho de Melo (4): tools lib traceevent: Use a

Re: [dm-devel] [PATCH v10 1/8] block: Generalized bio pool freeing

2012-09-17 Thread Kent Overstreet
On Fri, Sep 14, 2012 at 07:28:28PM +0100, Alasdair G Kergon wrote: > On Thu, Sep 06, 2012 at 03:34:55PM -0700, Kent Overstreet wrote: > > With the old code, when you allocate a bio from a bio pool you have to > > implement your own destructor that knows how to find the bio pool the > > bio was orig

[PATCH 1/4] tools lib traceevent: Use asprintf were applicable

2012-09-17 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Replacing the equivalent open coded malloc + sprintf bits. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Steven Rostedt Link: http://lkml.kernel.org/

[PATCH 2/4] tools lib traceevent: Use calloc were applicable

2012-09-17 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Replacing the equivalent open coded malloc + memset bits. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Steven Rostedt Link: http://lkml.kernel.org/n

Re: linux-next: manual merge of the arm-soc tree with the staging tree

2012-09-17 Thread Tony Lindgren
* Stephen Rothwell [120917 02:21]: > Hi all, > > Today's linux-next merge of the arm-soc tree got a conflict in > drivers/staging/tidspbridge/core/wdt.c between commit c37a1747acbf > ("staging: tidspbridge: Prepare for irqs.h removal") from the tree and > commit ec2c0825ca31 ("ARM: OMAP2+: Remov

Re: [PATCH 3.6-rc6] cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to another CPU

2012-09-17 Thread Tejun Heo
On Mon, Sep 17, 2012 at 10:36:54PM +0200, Borislav Petkov wrote: > Wouldn't it be much simpler to carve out the piece after > set_cpus_allowed_ptr(), put it in a sub-function called > __powernowk8_target() and call it with smp_call_function_single instead > of defining another work item? > > Would

Re: [RFC 1/3] PCI/PM: Fix kexec for D3cold and bridge suspending

2012-09-17 Thread Bjorn Helgaas
+cc Eric and kexec list On Mon, Sep 17, 2012 at 2:54 AM, Huang Ying wrote: > If PCI devices are put into D3cold before kexec, because the > configuration registers of PCI devices in D3cold are not accessible. > > And if PCI bridges are put into low power state before kexec, > configuration regist

Re: [PATCH 00/10] rcu: Add missing RCU idle APIs on idle loop

2012-09-17 Thread Paul E. McKenney
On Mon, Sep 17, 2012 at 10:31:24PM +0200, Geert Uytterhoeven wrote: > Hi Frederic, Paul, > > On Thu, Aug 23, 2012 at 11:50 PM, Frederic Weisbecker > wrote: > > On Thu, Aug 23, 2012 at 10:23:22PM +0200, Geert Uytterhoeven wrote: > >> On Thu, Aug 23, 2012 at 1:02 PM, Frederic Weisbecker > >> wrot

Re: [PATCH v3 1/2] PM / devfreq: add global PM QoS support

2012-09-17 Thread Rafael J. Wysocki
On Monday, September 17, 2012, MyungJoo Ham wrote: > Sender : Rafael J. Wysocki > Date : 2012-09-09 07:20 (GMT+09:00) > Title : Re: [PATCH v3 1/2] PM / devfreq: add global PM QoS support > > On Thursday, August 30, 2012, MyungJoo Ham wrote: > > > Even if the performance of a device is controlled pr

Re: [dm-devel] [PATCH v2 01/26] block: Convert integrity to bvec_alloc_bs(), and a bugfix

2012-09-17 Thread Kent Overstreet
On Wed, Sep 12, 2012 at 03:39:18PM -0400, Martin K. Petersen wrote: > > "Kent" == Kent Overstreet writes: > > Kent, > > Kent> To fix the bug first, I'd have to reorder struct bio_pair and then > Kent> just delete two lines of code from bio_integrity_split(). But the > Kent> reordering is unn

Re: [PATCH v2 25/26] bio-integrity: Add explicit field for owner of bip_buf

2012-09-17 Thread Kent Overstreet
On Wed, Sep 12, 2012 at 03:41:36PM -0400, Martin K. Petersen wrote: > > "Kent" == Kent Overstreet writes: > > Kent> This was the only real user of BIO_CLONED, which didn't have very > Kent> clear semantics. Convert to its own flag so we can get rid of > Kent> BIO_CLONED. > > I already have a

Re: [patch net] sky2: fix rx filter setup on link up

2012-09-17 Thread Stephen Hemminger
On Mon, 17 Sep 2012 22:47:24 +0200 Jiri Pirko wrote: > Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote: > >On Mon, 17 Sep 2012 17:10:17 +0200 > >Jiri Pirko wrote: > > > >> In my case I have following problem. sky2_set_multicast() sets registers > >> GM_MC_ADDR_H[1-4] correctly

Re: [PATCH 0/4] Fix a crash when block device is read and block size is changed at the same time

2012-09-17 Thread Jeff Moyer
Jeff Moyer writes: > Mikulas Patocka writes: >> I would be interested if other people did performance testing of the >> patches too. > > I'll do some testing next week, but don't expect to get to it before > Wednesday. Sorry for taking so long on this. I managed to get access to an 80cpu (160

Re: [PATCH 3.6-rc6] cpufreq/powernow-k8: workqueue user shouldn't migrate the kworker to another CPU

2012-09-17 Thread Borislav Petkov
On Mon, Sep 17, 2012 at 01:53:55PM -0700, Tejun Heo wrote: > On Mon, Sep 17, 2012 at 10:36:54PM +0200, Borislav Petkov wrote: > > Wouldn't it be much simpler to carve out the piece after > > set_cpus_allowed_ptr(), put it in a sub-function called > > __powernowk8_target() and call it with smp_call_

Re: [PATCH 17/24] ARM: OMAP: use __iomem pointers for MMIO

2012-09-17 Thread Tony Lindgren
* Tony Lindgren [120916 13:39]: > * Arnd Bergmann [120915 13:15]: > > On Saturday 15 September 2012, Tony Lindgren wrote: > > > With my patches, this is now all omap1 specific and > > > moved to arch/arm/mach-omap1/include/mach/hardware.h. > > > It's probably easiest to just update this patch on

Re: [RFC v1 00/11] vfs: hot data tracking

2012-09-17 Thread Dave Chinner
On Mon, Sep 17, 2012 at 03:18:34PM +0800, zwu.ker...@gmail.com wrote: > From: Zhi Yong Wu > > NOTE: > > The patchset is currently post out mainly to make sure > it is going in the correct direction and hope to get some > helpful comments from other guys. > > TODO List: > > 1.) Need to do sc

Re: [PATCH] x86, acpi: Make acpi_processor_ffh_cstate_probe() use a work item instead of work_on_cpu()

2012-09-17 Thread Tejun Heo
On Thu, Aug 23, 2012 at 05:26:43PM -0700, Tejun Heo wrote: > Workqueue is guaranteed to be available on the target CPU by the time > acpi_processor_ffh_cstate_probe() is invoked for it. There's no > reason to use costly work_on_cpu() which involves creating and tearing > down a full kthread on eac

Re: [PATCH] x86, apm: Make on_cpu0() use workqueue instead of work_on_cpu()

2012-09-17 Thread Tejun Heo
On Tue, Aug 28, 2012 at 03:57:27PM -0700, Jiri Kosina wrote: > On Thu, 23 Aug 2012, Tejun Heo wrote: > > > Make APM schedule a work item on CPU0 instead of using the expensive > > work_on_cpu(); hopefully, this is the last user of work_on_cpu() and > > we can take out work_on_cpu() in not too dist

Re: [PATCH] pci: rewrite pci_call_probe() to use workqueue instead of work_on_cpu()

2012-09-17 Thread Tejun Heo
On Fri, Sep 14, 2012 at 12:13:21PM -0600, Bjorn Helgaas wrote: > On Thu, Aug 23, 2012 at 3:35 PM, Tejun Heo wrote: > > pci_call_probe() uses work_on_cpu(), which creates and tears down a > > full kthread on each call, to invoke ->probe() on node local CPU for > > allocation affinity. > > > > The s

Re: [RFC/PATCH] ia64, SR870, EFI bug breaks ata_piix, uninitialized ICH4 IDE EXBAR mem resource

2012-09-17 Thread Bjorn Helgaas
On Sun, Sep 16, 2012 at 10:39 AM, Stephan Schreiber wrote: > [0.065516] pci :00:1f.1: [8086:24cb] type 0 class 0x000101 > [0.065530] pci :00:1f.1: reg 10: [io 0x-0x0007] > [0.065541] pci :00:1f.1: reg 14: [io 0x-0x0003] > [0.065552] pci :00:1f.1: reg 18:

Re: [PATCH] JFS: use list_move instead of list_del/list_add

2012-09-17 Thread Dave Kleikamp
Meant to reply earlier. I've sent this to linux-next and will target for the next mainline merge window. Thanks, Shaggy On 09/06/2012 02:33 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Using list_move() instead of list_del() + list_add(). > > spatch with a semantic match is used to found thi

Re: [PATCH] pci: rewrite pci_call_probe() to use workqueue instead of work_on_cpu()

2012-09-17 Thread Bjorn Helgaas
On Mon, Sep 17, 2012 at 3:41 PM, Tejun Heo wrote: > On Fri, Sep 14, 2012 at 12:13:21PM -0600, Bjorn Helgaas wrote: >> On Thu, Aug 23, 2012 at 3:35 PM, Tejun Heo wrote: >> > pci_call_probe() uses work_on_cpu(), which creates and tears down a >> > full kthread on each call, to invoke ->probe() on n

Re: [PATCH 1/1] drivers: bus: Move the OMAP interconnect driver to drivers/bus/

2012-09-17 Thread Tony Lindgren
* Santosh Shilimkar [120914 02:21]: > OMAP interconnect drivers are used for the interconnect error handling. > Since they are bus driver, lets move it to newly created drivers/bus. > > Cc: Arnd Bergmann > Cc: Tony Lindgren > Tested-by: Lokesh Vutla > Signed-off-by: Santosh Shilimkar > --- >

Re: [PATCH] dmaengine: add dmanegine slave map api's

2012-09-17 Thread Russell King - ARM Linux
On Mon, Sep 17, 2012 at 03:20:29PM +0530, Vinod Koul wrote: > On Mon, 2012-09-17 at 09:36 +0100, Russell King - ARM Linux wrote: > > > > I'm not saying take the slave_id out of the map. I'm saying, let the > > > > DMA engine driver itself figure out what dma_chan to return. > > > But wont that as

Re: [PATCH 2/8] gpio: pl061 depends on ARM

2012-09-17 Thread Russell King - ARM Linux
On Fri, Sep 14, 2012 at 06:23:57PM +0200, Davide Ciminaghi wrote: > From: Alessandro Rubini > > Patch dece904d itroduced chained_irq_enter/exit, which is only > available for arch/arm and the driver won't compile elsewhere. > > The dependency is thus made explicit, because AMBA is used in the x8

Re: [PATCH] applesmc: Bump max wait and rearrange udelay

2012-09-17 Thread Guenter Roeck
On Mon, Sep 17, 2012 at 10:14:36PM +0200, Henrik Rydberg wrote: > > Any better/other ideas ? Is the problem that we have to increase the wait > > time, > > or is something else going on ? > > No, it makes sense now that I got the right number of zeroes. ;-) > > So, to be explicit, this is the pa

Re: [PATCH 22/24] scsi: eesox: use __iomem pointers for MMIO

2012-09-17 Thread Russell King - ARM Linux
On Sat, Sep 15, 2012 at 10:30:43AM +, Arnd Bergmann wrote: > On Saturday 15 September 2012, Russell King - ARM Linux wrote: > > On Sat, Sep 15, 2012 at 08:00:35AM +, Arnd Bergmann wrote: > > > On Friday 14 September 2012, Russell King - ARM Linux wrote: > > > > On Fri, Sep 14, 2012 at 11:34

<    1   2   3   4   5   6   7   >