Re: [PATCH] crypto: fix FTBFS with ARM SHA1-asm and THUMB2_KERNEL

2013-01-21 Thread Jussi Kivilinna
Quoting Jussi Kivilinna : Quoting Matt Sealey : This question is to the implementor/committer (Dave McCullough), how exactly did you measure the benchmark and can we reproduce it on some other ARM box? If it's long and laborious and not so important to test the IPsec tunnel use-case, what

Re: [PATCH 33/33] ASoC: Convert to devm_ioremap_resource()

2013-01-21 Thread Thierry Reding
On Tue, Jan 22, 2013 at 04:48:26PM +0900, Mark Brown wrote: > On Mon, Jan 21, 2013 at 11:09:26AM +0100, Thierry Reding wrote: > > Convert all uses of devm_request_and_ioremap() to the newly introduced > > devm_ioremap_resource() which provides more consistent error handling. > > Applied, thanks.

Re: [PATCH] crypto: fix FTBFS with ARM SHA1-asm and THUMB2_KERNEL

2013-01-21 Thread Jussi Kivilinna
Quoting Matt Sealey : This question is to the implementor/committer (Dave McCullough), how exactly did you measure the benchmark and can we reproduce it on some other ARM box? If it's long and laborious and not so important to test the IPsec tunnel use-case, what would be the simplest possible

Re: [PATCH] lib: vsprintf: Add %pa format specifier for phys_addr_t types

2013-01-21 Thread Joe Perches
On Tue, 2013-01-22 at 09:29 +0200, Andy Shevchenko wrote: > On Mon, 2013-01-21 at 21:47 -0800, Stepan Moskovchenko wrote: > > Add the %pa format specifier for printing a phys_addr_t > > type, since the physical address size on some platforms > > can vary based on build options, regardless of the

[PATCH] serial:ifx6x60: Remove memset for SPI frame

2013-01-21 Thread channing
There is no need to memset 0 to SPI frame memory before preparing transfer frame bits, because SPI frame header are encoded with valid data size, so don't need to worry about adopting dirty bits, more, memset zero for each SPI frame may impact the spi throughput efficiency. Signed-off-by: Chen

[PATCH V3 RESEND RFC 0/2] kvm: Improving undercommit scenarios

2013-01-21 Thread Raghavendra K T
In some special scenarios like #vcpu <= #pcpu, PLE handler may prove very costly, because there is no need to iterate over vcpus and do unsuccessful yield_to burning CPU. The first patch optimizes all the yield_to by bailing out when there is no need to continue in yield_to (i.e., when there

[PATCH v5 08/45] CPU hotplug: Convert preprocessor macros to static inline functions

2013-01-21 Thread Srivatsa S. Bhat
On 12/05/2012 06:10 AM, Andrew Morton wrote: "static inline C functions would be preferred if possible. Feel free to fix up the wrong crufty surrounding code as well ;-)" Convert the macros in the CPU hotplug code to static inline C functions. Signed-off-by: Srivatsa S. Bhat ---

[PATCH v5 22/45] infiniband: ehca: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 07/45] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2013-01-21 Thread Srivatsa S. Bhat
There are places where preempt_disable() or local_irq_disable() are used to prevent any CPU from going offline during the critical section. Let us call them as "atomic hotplug readers" ("atomic" because they run in atomic, non-preemptible contexts). Today, preempt_disable() or its equivalent

Re: [PATCH v2 29/76] ARC: Boot #1: low-level, setup_arch(), /proc/cpuinfo, mem init

2013-01-21 Thread Vineet Gupta
On Friday 18 January 2013 08:15 PM, Arnd Bergmann wrote: > On Friday 18 January 2013, Vineet Gupta wrote: >> + /* setup bootmem allocator */ >> + bootmap_sz = init_bootmem_node(NODE_DATA(0), >> + first_free_pfn,/* bitmap start */ >> +

Re: [PATCH v3 09/22] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-01-21 Thread Alex Shi
On 01/22/2013 02:55 PM, Mike Galbraith wrote: > On Tue, 2013-01-22 at 11:20 +0800, Alex Shi wrote: >> >> I just looked into the aim9 benchmark, in this case it forks 2000 tasks, >> after all tasks ready, aim9 give a signal than all tasks burst waking up >> and run until all

[PATCH v5 45/45] Documentation/cpu-hotplug: Remove references to stop_machine()

2013-01-21 Thread Srivatsa S. Bhat
Since stop_machine() is no longer used in the CPU offline path, we cannot disable CPU hotplug using preempt_disable()/local_irq_disable() etc. We need to use the newly introduced get/put_online_cpus_atomic() APIs. Reflect this in the documentation. Cc: Rob Landley Cc: linux-...@vger.kernel.org

Re: [PATCH 33/33] ASoC: Convert to devm_ioremap_resource()

2013-01-21 Thread Mark Brown
On Mon, Jan 21, 2013 at 11:09:26AM +0100, Thierry Reding wrote: > Convert all uses of devm_request_and_ioremap() to the newly introduced > devm_ioremap_resource() which provides more consistent error handling. Applied, thanks. signature.asc Description: Digital signature

[PATCH v5 44/45] CPU hotplug, stop_machine: Decouple CPU hotplug from stop_machine() in Kconfig

2013-01-21 Thread Srivatsa S. Bhat
... and also cleanup a comment that refers to CPU hotplug being dependent on stop_machine(). Cc: David Howells Signed-off-by: Srivatsa S. Bhat --- include/linux/stop_machine.h |2 +- init/Kconfig |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v5 43/45] cpu: No more __stop_machine() in _cpu_down()

2013-01-21 Thread Srivatsa S. Bhat
From: Paul E. McKenney The _cpu_down() function invoked as part of the CPU-hotplug offlining process currently invokes __stop_machine(), which is slow and inflicts substantial real-time latencies on the entire system. This patch substitutes stop_one_cpu() for __stop_machine() in order to

[PATCH v5 42/45] tile: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 40/45] sh: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 41/45] sparc: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 39/45] powerpc: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 36/45] MIPS: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs fom going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 37/45] mn10300: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 35/45] m32r: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 34/45] ia64: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 33/45] hexagon/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 32/45] cris/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 31/45] blackfin/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 30/45] alpha/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Also,

[PATCH v5 29/45] x86/xen: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 26/45] perf/x86: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
The CPU_DYING notifier modifies the per-cpu pointer pmu->box, and this can race with functions such as uncore_pmu_to_box() and uncore_pci_remove() when we remove stop_machine() from the CPU offline path. So protect them using get/put_online_cpus_atomic(). Cc: "H. Peter Anvin" Cc: x...@kernel.org

[PATCH v5 28/45] kvm/vmx: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context (in

[PATCH v5 27/45] KVM: Use get/put_online_cpus_atomic() to prevent CPU offline from atomic context

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH V3 RESEND RFC 2/2] kvm: Handle yield_to failure return code for potential undercommit case

2013-01-21 Thread Raghavendra K T
From: Raghavendra K T yield_to returns -ESRCH, When source and target of yield_to run queue length is one. When we see three successive failures of yield_to we assume we are in potential undercommit case and abort from PLE handler. The assumption is backed by low probability of wrong decision

[PATCH v5 25/45] x86: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH V3 RESEND RFC 1/2] sched: Bail out of yield_to when source and target runqueue has one task

2013-01-21 Thread Raghavendra K T
From: Peter Zijlstra In case of undercomitted scenarios, especially in large guests yield_to overhead is significantly high. when run queue length of source and target is one, take an opportunity to bail out and return -ESRCH. This return condition can be further exploited to quickly come out of

[PATCH v5 24/45] staging: octeon: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 23/45] [SCSI] fcoe: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 21/45] crypto: pcrypt - Protect access to cpu_online_mask with get/put_online_cpus()

2013-01-21 Thread Srivatsa S. Bhat
The pcrypt_aead_init_tfm() function access the cpu_online_mask without disabling CPU hotplug. And it looks like it can afford to sleep, so use the get/put_online_cpus() APIs to protect against CPU hotplug. Cc: Steffen Klassert Cc: Herbert Xu Cc: "David S. Miller" Cc:

[PATCH v5 20/45] block: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 19/45] net: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 18/45] irq: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context.

[PATCH v5 17/45] softirq: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 16/45] time/clocksource: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc:

[PATCH v5 14/45] rcu, CPU hotplug: Fix comment referring to stop_machine()

2013-01-21 Thread Srivatsa S. Bhat
Don't refer to stop_machine() in the CPU hotplug path, since we are going to get rid of it. Also, move the comment referring to callback adoption to the CPU_DEAD case, because that's where it happens now. Signed-off-by: Srivatsa S. Bhat --- kernel/rcutree.c |9 - 1 file changed, 4

[PATCH v5 12/45] sched/migration: Use raw_spin_lock/unlock since interrupts are already disabled

2013-01-21 Thread Srivatsa S. Bhat
We need not use the raw_spin_lock_irqsave/restore primitives because all CPU_DYING notifiers run with interrupts disabled. So just use raw_spin_lock/unlock. Signed-off-by: Srivatsa S. Bhat --- kernel/sched/core.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git

[PATCH v5 11/45] sched/timer: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() or local_irq_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context.

[PATCH v5 10/45] smp, cpu hotplug: Fix on_each_cpu_*() to prevent CPU offline properly

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Signed-off-by: Srivatsa S.

[PATCH v5 09/45] smp, cpu hotplug: Fix smp_call_function_*() to prevent CPU offline properly

2013-01-21 Thread Srivatsa S. Bhat
Once stop_machine() is gone from the CPU offline path, we won't be able to depend on preempt_disable() to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Signed-off-by: Srivatsa S.

[PATCH v5 06/45] percpu_rwlock: Allow writers to be readers, and add lockdep annotations

2013-01-21 Thread Srivatsa S. Bhat
CPU hotplug (which will be the first user of per-CPU rwlocks) has a special requirement with respect to locking: the writer, after acquiring the per-CPU rwlock for write, must be allowed to take the same lock for read, without deadlocking and without getting complaints from lockdep. In comparison,

[PATCH v5 05/45] percpu_rwlock: Make percpu-rwlocks IRQ-safe, optimally

2013-01-21 Thread Srivatsa S. Bhat
If interrupt handlers can also be readers, then one of the ways to make per-CPU rwlocks safe, is to disable interrupts at the reader side before trying to acquire the per-CPU rwlock and keep it disabled throughout the duration of the read-side critical section. The goal is to avoid cases such as:

[PATCH v5 03/45] percpu_rwlock: Provide a way to define and init percpu-rwlocks at compile time

2013-01-21 Thread Srivatsa S. Bhat
Add the support for defining and initializing percpu-rwlocks at compile time for those users who would like to use percpu-rwlocks really early in the boot process (even before dynamic per-CPU allocations can begin). Cc: David Howells Signed-off-by: Srivatsa S. Bhat ---

[PATCH v5 02/45] percpu_rwlock: Introduce per-CPU variables for the reader and the writer

2013-01-21 Thread Srivatsa S. Bhat
Per-CPU rwlocks ought to give better performance than global rwlocks. That is where the "per-CPU" component comes in. So introduce the necessary per-CPU variables that would be necessary at the reader and the writer sides, and add the support for dynamically initializing per-CPU rwlocks. These

[PATCH v5 01/45] percpu_rwlock: Introduce the global reader-writer lock backend

2013-01-21 Thread Srivatsa S. Bhat
A straight-forward (and obvious) algorithm to implement Per-CPU Reader-Writer locks can also lead to too many deadlock possibilities which can make it very hard/impossible to use. This is explained in the example below, which helps justify the need for a different algorithm to implement flexible

[PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug

2013-01-21 Thread Srivatsa S. Bhat
Hi, This patchset removes CPU hotplug's dependence on stop_machine() from the CPU offline path and provides an alternative (set of APIs) to preempt_disable() to prevent CPUs from going offline, which can be invoked from atomic context. The motivation behind the removal of stop_machine() is to

Re: Can jiffies freeze?

2013-01-21 Thread anish singh
On Tue, Jan 22, 2013 at 11:21 AM, sandeep kumar wrote: > Hi all > As far as I know jiffie counter is incremented HZ times/second. And it is > used to measure the time lapses in the kernel code. > > I m seeing a case where, actualy time spent in some module using giffies is > zero, but while

Re: [PATCH] lib: vsprintf: Add %pa format specifier for phys_addr_t types

2013-01-21 Thread Andy Shevchenko
On Mon, 2013-01-21 at 21:47 -0800, Stepan Moskovchenko wrote: > Add the %pa format specifier for printing a phys_addr_t > type, since the physical address size on some platforms > can vary based on build options, regardless of the native > integer type. > > Signed-off-by: Stepan Moskovchenko >

Re: [PATCH v2 1/2] ARM: shmobile: sh73a0: Use generic irqchip_init()

2013-01-21 Thread Olof Johansson
On Mon, Jan 21, 2013 at 08:03:01AM +0100, Thierry Reding wrote: > On Mon, Jan 21, 2013 at 09:54:39AM +0900, Simon Horman wrote: > > On Fri, Jan 18, 2013 at 08:16:12AM +0100, Thierry Reding wrote: > > > The asm/hardware/gic.h header does no longer exist and the corresponding > > > functionality was

Re: [PATCH 2/2] dw_dmac: return proper residue value

2013-01-21 Thread Andy Shevchenko
On Mon, 2013-01-21 at 06:22 -0800, Vinod Koul wrote: > On Mon, Jan 21, 2013 at 11:45:51AM +0200, Andy Shevchenko wrote: > > > > + return 0; > > > hmmm, why not use BLOCK_TS value. That way you dont need to look at > > > direction > > > and along with burst can easily calculate residue... >

Re: [PATCH] dts: vt8500: Add initial dts support for WM8850

2013-01-21 Thread Olof Johansson
On Sat, Jan 19, 2013 at 07:44:28PM +1300, Tony Prisk wrote: > This patch adds a soc dtsi for the Wondermedia WM8850. > > A board dts file is also included for the W70v2 tablet, with support > for all the drivers currently in mainline. > > Signed-off-by: Tony Prisk > --- > Hi Olof, > > Sorry

[patch] ntb: off by one sanity checks

2013-01-21 Thread Dan Carpenter
These tests are off by one. If "mw" is equal to NTB_NUM_MW then we would go beyond the end of the ndev->mw[] array. Signed-off-by: Dan Carpenter diff --git a/drivers/ntb/ntb_hw.c b/drivers/ntb/ntb_hw.c index 4c71b17..5bf54f3 100644 --- a/drivers/ntb/ntb_hw.c +++ b/drivers/ntb/ntb_hw.c @@

Re: [PATCH 7/7] ARM: sunxi: olinuxino: Add muxing for the uart

2013-01-21 Thread Olof Johansson
On Mon, Jan 21, 2013 at 11:15:32PM +0100, Linus Walleij wrote: > On Fri, Jan 18, 2013 at 10:30 PM, Maxime Ripard > wrote: > > > Signed-off-by: Maxime Ripard > > All pinctrl and device tree patches applied to my allwinner branch in the > pinctrl tree. Hope the ARM SoC can accept me poking

Re: [PATCH 0/3] pwm-backlight: add subdrivers & Tegra support

2013-01-21 Thread Thierry Reding
On Mon, Jan 21, 2013 at 05:18:11PM +0900, Alex Courbot wrote: > Hi Thierry, > > On Monday 21 January 2013 15:49:28 Thierry Reding wrote: > > Eventually this should all be covered by the CDF, but since that's not > > ready yet we want something ad-hoc to get the hardware supported. As > > such I

[PATCH v1] net: net_cls: fd passed in SCM_RIGHTS datagram not set correctly

2013-01-21 Thread Daniel Wagner
From: Daniel Wagner Commit 6a328d8c6f03501657ad580f6f98bf9a42583ff7 changed the update logic for the socket but it does not update the SCM_RIGHTS update as well. This patch is based on the net_prio fix commit 48a87cc26c13b68f6cce4e9d769fcb17a6b3e4b8 net: netprio: fd passed in SCM_RIGHTS

Re: [PATCH 1/4] ACPI / PM: Make acpi_bus_init_power() more robust

2013-01-21 Thread Mika Westerberg
On Tue, Jan 22, 2013 at 03:09:01AM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ACPI specification requires the _PSC method to be present under > a device object if its power state cannot be inferred from the states > of power resources used by it (ACPI 5, Section 7.6.2).

Re: [PATCH 2/3] tegra: pwm-backlight: add tegra pwm-bl driver

2013-01-21 Thread Thierry Reding
On Tue, Jan 22, 2013 at 12:24:34PM +0900, Alex Courbot wrote: > On Tuesday 22 January 2013 01:46:33 Stephen Warren wrote: > > > arch/arm/boot/dts/tegra20-ventana.dts | 18 +++- > > > arch/arm/configs/tegra_defconfig | 1 + > > > drivers/video/backlight/Kconfig| 7 ++ > > >

Re: [PATCH] staging/iio: Use correct argument for sizeof

2013-01-21 Thread Dan Carpenter
These two lines are what I meant. Not the other stuff before. > > More information about semantic patching is available at > > http://coccinelle.lip6.fr/ regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] powerpc/pasemi: Fix crash on reboot

2013-01-21 Thread Olof Johansson
Hi, On Mon, Jan 21, 2013 at 7:23 PM, Steven Rostedt wrote: > commit f96972f2dc "kernel/sys.c: call disable_nonboot_cpus() in > kernel_restart()" > > added a call to disable_nonboot_cpus() on kernel_restart(), which tries > to shutdown all the CPUs except the first one. The issue with the PA >

Re: [PATCH 20/33] net: Convert to devm_ioremap_resource()

2013-01-21 Thread Thierry Reding
On Mon, Jan 21, 2013 at 03:29:13PM -0500, David Miller wrote: > From: Thierry Reding > Date: Mon, 21 Jan 2013 11:09:13 +0100 > > > Convert all uses of devm_request_and_ioremap() to the newly introduced > > devm_ioremap_resource() which provides more consistent error handling. > > > >

Re: [PATCH v3 09/22] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-01-21 Thread Mike Galbraith
On Tue, 2013-01-22 at 11:20 +0800, Alex Shi wrote: > > I just looked into the aim9 benchmark, in this case it forks 2000 tasks, > after all tasks ready, aim9 give a signal than all tasks burst waking up > and run until all finished. > Since each of tasks are finished very

Re: [PATCH 15/17] workqueue: remove global_cwq

2013-01-21 Thread Joonsoo Kim
On Wed, Jan 16, 2013 at 05:42:47PM -0800, Tejun Heo wrote: > global_cwq is now nothing but a container for per-pcu standard s/per-pcu/per-cpu/ > worker_pools. Declare the worker pools directly as > cpu/unbound_std_worker_pools[] and remove global_cwq. > > * get_gcwq() is replaced with

Re: [PATCH] staging/iio: Use correct argument for sizeof

2013-01-21 Thread Dan Carpenter
On Mon, Jan 21, 2013 at 10:14:02PM +0100, Peter Huewe wrote: > found with coccicheck > sizeof when applied to a pointer typed expression gives the size of > the pointer > The original code is correct, in this case. We're storing an array of pointers and the last element in the array is a NULL.

Re: [PATCH] regmap: debugfs: Fix compilation warning

2013-01-21 Thread Mark Brown
On Mon, Jan 21, 2013 at 03:36:55PM +0100, Vincent Stehlé wrote: > This fixes the following compilation warning: > - unsigned int i, ret; > + unsigned int i, ret = 0; This sort of fix is not a good idea, you're just shutting the warning up without any sort of analysis explaining why it's

Re: [PATCH 05/15] ASoC: fsl: fiq and dma cannot both be modules

2013-01-21 Thread Mark Brown
On Tue, Jan 22, 2013 at 11:50:30AM +0800, Shawn Guo wrote: > On Mon, Jan 21, 2013 at 05:15:58PM +, Arnd Bergmann wrote: > > Without this patch, we cannot build the ARM 'allmodconfig', or > > we get this error: > > sound/soc/fsl/imx-pcm-dma.o: In function `init_module': > >

Re: [PATCH 0/3] ELF executable signing and verification

2013-01-21 Thread Rusty Russell
Vivek Goyal writes: > Hi, > > This is a very crude RFC for ELF executable signing and verification. This > has been done along the lines of module signature verification. Yes, but I'm the first to admit that's the wrong lines. The reasons we didn't choose that for module signatures: 1) I was

Re: [PATCH] MODSIGN: Warn when module signature checking fails

2013-01-21 Thread Rusty Russell
Chris Samuel writes: > /* Please CC me, I'm not on LKML */ > > On 21/01/13 10:36, Rusty Russell wrote: > >> We have errnos for a reason; let's not pollute the kernel logs. That's >> a userspace job. > > Fair enough. > >> This part is OK, but I'll add mod->name to the printk. > > Sounds good. >

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Santosh Shilimkar
On Tuesday 22 January 2013 04:53 AM, Tony Lindgren wrote: * Russell King - ARM Linux [130121 13:07]: As for Samsung and the rest I can't comment. The original reason OMAP used this though was because the 32768Hz counter can't produce 100Hz without a .1% error - too much error under

HID: clean up quirk for Sony RF receivers

2013-01-21 Thread Fernando Luis Vázquez Cao
Document what the fix-up is does and make it more robust by ensuring that it is only applied to the USB interface that corresponds to the mouse (sony_report_fixup() is called once per interface during probing). Cc: linux-in...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc:

Re: [RFC PATCH linux-next] et131x: Promote staging et131x driver to drivers/net

2013-01-21 Thread Dan Carpenter
On Mon, Jan 21, 2013 at 11:44:55PM +, Mark Einon wrote: > On 19 January 2013 11:03, Dan Carpenter wrote: > > > > > et131x_get_regs() has endian bugs calling et131x_mii_read(). > > > > > Hi Dan, > > Could you be a bit more descriptive about the issues you think there > are with these

Re: [PATCH] usb: musb: core: Add missing newline character

2013-01-21 Thread kishon
Hi, On Monday 21 January 2013 10:52 PM, Sergei Shtylyov wrote: Hello. On 01/21/2013 05:52 PM, Kishon Vijay Abraham I wrote: No functional change. Just added a missing newline character. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/musb/musb_core.c |2 +- 1 file changed, 1

Re: [v3 2/2] ARM: tegra: Skip scu_enable(scu_base) if not Cortex A9

2013-01-21 Thread Santosh Shilimkar
On Tuesday 22 January 2013 11:22 AM, Hiroshi Doyu wrote: Skip scu_enable(scu_base) if CPU is not Cortex A9 with SCU. Signed-off-by: Hiroshi Doyu --- Looks fine. I will also update OMAP code with the new interface. Thanks. For the patch, Acked-by: Santosh Shilimkar -- To unsubscribe from this

Re: [PATCH 08/13] perf gtk/browser: Add support for event group view

2013-01-21 Thread Namhyung Kim
Hi Arnaldo, On Wed, 16 Jan 2013 15:28:59 -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Jan 16, 2013 at 07:25:02PM +0900, Namhyung Kim escreveu: >> Adding current header name to event name will fix the problem but it >> probably occupies too much screen width especially for long named >>

Re: [PATCH v2] HID: add support for Sony RF receiver with USB product id 0x0374

2013-01-21 Thread Fernando Luis Vazquez Cao
On Wed, 2013-01-16 at 11:44 +0100, Jiri Kosina wrote: On Wed, 16 Jan 2013, Fernando Luis Vazquez Cao wrote: > I noticed that the patch was tagged "for-3.9". Does this mean > that it is too late to get it merged during the current release > cycle? I currently don't have anything queued for 3.8,

Re: [PATCH 0/2] ARM: Exynos5250: Enabling samsung usb phy

2013-01-21 Thread Vivek Gautam
Hi Kukjin, On Tue, Jan 22, 2013 at 10:36 AM, Kukjin Kim wrote: > Felipe Balbi wrote: >> >> On Fri, Jan 18, 2013 at 03:10:13PM +0200, Felipe Balbi wrote: >> > Hi, >> > >> > On Tue, Dec 18, 2012 at 09:09:40PM +0530, Vivek Gautam wrote: >> > > This patch-set enables the samsung-usbphy driver on

[v3 2/2] ARM: tegra: Skip scu_enable(scu_base) if not Cortex A9

2013-01-21 Thread Hiroshi Doyu
Skip scu_enable(scu_base) if CPU is not Cortex A9 with SCU. Signed-off-by: Hiroshi Doyu --- arch/arm/mach-tegra/platsmp.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index 689ee4b..8853bd2 100644 ---

[v3 1/2] ARM: Add API to detect SCU base address from CP15

2013-01-21 Thread Hiroshi Doyu
Add API to detect SCU base address from CP15. Signed-off-by: Hiroshi Doyu --- Update: Use Russell's suggestion, http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/143321.html --- arch/arm/include/asm/smp_scu.h | 17 + 1 file changed, 17 insertions(+) diff

[PATCH] lib: vsprintf: Add %pa format specifier for phys_addr_t types

2013-01-21 Thread Stepan Moskovchenko
Add the %pa format specifier for printing a phys_addr_t type, since the physical address size on some platforms can vary based on build options, regardless of the native integer type. Signed-off-by: Stepan Moskovchenko --- Documentation/printk-formats.txt | 13 ++--- lib/vsprintf.c

Re: [PATCH 13/15] USB: ehci: make orion and mxc bus glues coexist

2013-01-21 Thread Shawn Guo
On Tue, Jan 22, 2013 at 02:11:18PM +0800, Shawn Guo wrote: > Alan, > > Thanks for the patch. I just gave it try. The USB Host port still > works for me with a couple of fixes on your changes integrated (one > for compiling and the other for probing). So you have my ACK with > the changes below

Re: [PATCH 13/15] USB: ehci: make orion and mxc bus glues coexist

2013-01-21 Thread Shawn Guo
On Mon, Jan 21, 2013 at 09:37:42PM +, Arnd Bergmann wrote: > > Arnd, please take a look at > > > > http://marc.info/?l=linux-usbm=135843716515529w=2 > > > > I can't test it easily, not being set up for cross compilation. I'm > > waiting to hear from anybody whether it works before

Re: [PATCHSET] workqueue: remove gcwq and make worker_pool the only backend abstraction

2013-01-21 Thread Joonsoo Kim
Hello, Tejun. On Wed, Jan 16, 2013 at 05:42:32PM -0800, Tejun Heo wrote: > Hello, > > Currently, on the backend side, there are two layers of abstraction. > For each CPU and the special unbound wq-specific CPU, there's one > global_cwq. gcwq in turn hosts two worker_pools - one for normal >

Re: [RFC PATCH] Input: gpio_keys: Fix suspend/resume press event lost

2013-01-21 Thread NeilBrown
On Mon, 21 Jan 2013 15:57:18 -0800 Dmitry Torokhov wrote: > Hi Ivan, > > On Mon, Jan 21, 2013 at 03:15:14PM +0200, Ivan Khoronzhuk wrote: > > Rebased on linux_omap/master. > > > > During suspend/resume the key press can be lost if time of resume > > sequence is significant. > > > > If press

RE: [PATCH v6 0/4] Adding usb2.0 host-phy support for exynos5250

2013-01-21 Thread Kukjin Kim
Vivek Gautam wrote: > > Changes from v5: > - Rebased on top of latest patches: > usb: phy: samsung: Introducing usb phy driver for hsotg (v9) > usb: phy: samsung: Add support to set pmu isolation (v6) >As a result adding hostphy enable mask and hostphy register offsets >

[PATCH v2] media: adv7343: accept configuration through platform data

2013-01-21 Thread Prabhakar Lad
From: Lad, Prabhakar The current code was implemented with some default configurations, this default configuration works on board and doesn't work on other. This patch accepts the configuration through platform data and configures the encoder depending on the data passed. Signed-off-by: Lad,

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

2013-01-21 Thread Laxman Dewangan
To to Samuel. On Tuesday 22 January 2013 10:41 AM, Laxman Dewangan wrote: On Tuesday 22 January 2013 09:40 AM, Stephen Rothwell wrote: * PGP Signed by an unknown key Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this:

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

2013-01-21 Thread Laxman Dewangan
On Tuesday 22 January 2013 09:40 AM, Stephen Rothwell wrote: * PGP Signed by an unknown key Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpio/gpio-palmas.c: In function 'palmas_gpio_get': drivers/gpio/gpio-palmas.c:46:2:

RE: [PATCH 0/2] ARM: Exynos5250: Enabling samsung usb phy

2013-01-21 Thread Kukjin Kim
Felipe Balbi wrote: > > On Fri, Jan 18, 2013 at 03:10:13PM +0200, Felipe Balbi wrote: > > Hi, > > > > On Tue, Dec 18, 2012 at 09:09:40PM +0530, Vivek Gautam wrote: > > > This patch-set enables the samsung-usbphy driver on exynos5250, > > > which enables the support for USB2 type and USB3 type

Re: [PATCH v4 2/2] perf stat: add interval printing

2013-01-21 Thread Namhyung Kim
Hi Stephane, On Mon, 21 Jan 2013 13:38:29 +0100, Stephane Eranian wrote: > On Mon, Jan 21, 2013 at 3:53 AM, Namhyung Kim wrote: >> AFAICS the only caller of print_stat() is cmd_stat() and it'll call this >> only if interval is 0. So why not just setting prefix to NULL then? >> > I don't

RE: [LSF/MM TOPIC] Re: [dm-devel] Announcement: STEC EnhanceIO SSD caching software for Linux kernel

2013-01-21 Thread Amit Kale
> -Original Message- > From: Mike Snitzer [mailto:snit...@redhat.com] > Sent: Monday, January 21, 2013 6:40 PM > To: Amit Kale > Cc: Darrick J. Wong; device-mapper development; linux- > bca...@vger.kernel.org; kent.overstr...@gmail.com; LKML; lsf- > p...@lists.linux-foundation.org; Joe

Re: [PATCH] tools lib traceevent: Handle dynamic array's element size properly

2013-01-21 Thread Steven Rostedt
On Mon, 2013-01-21 at 13:44 +0100, Jiri Olsa wrote: > Fixing the dynamic array format field parsing. > > Currently the event_read_fields function could segfault while parsing > dynamic array other than string type. The reason is the event->pevent > does not need to be set and gets dereferenced

linux-next: Tree for Jan 22

2013-01-21 Thread Stephen Rothwell
Hi all, Changes since 20130121: The powerpc tree still had a build failure. The usb tree lost its build failure. The gpio-lw tree gained a build failure so I used the version from next-20130121. The akpm tree lost a patch that turned up elsewhere

Re: [PATCH 30/33] video: Convert to devm_ioremap_resource()

2013-01-21 Thread Jingoo Han
On Monday, January 21, 2013 7:09 PM, Thierry wrote > > Convert all uses of devm_request_and_ioremap() to the newly introduced > devm_ioremap_resource() which provides more consistent error handling. > > devm_ioremap_resource() provides its own error messages so all explicit > error messages can

linux-next: build failure after merge of the final tree (gpio-lw tree related)

2013-01-21 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpio/gpio-palmas.c: In function 'palmas_gpio_get': drivers/gpio/gpio-palmas.c:46:2: error: implicit declaration of function 'palmas_read' [-Werror=implicit-function-declaration]

  1   2   3   4   5   6   7   8   9   10   >