Re: [PATCH 04/37] cpufreq: at32ap: don't initialize part of policy that is set by core too

2013-08-14 Thread Hans-Christian Egtvedt
Around Wed 14 Aug 2013 19:01:53 +0530 or thereabout, Viresh Kumar wrote: > Many common initializations of struct policy are moved to core now and hence > this driver doesn't need to do it. This patch removes such code. > > Most recent of those changes is to call ->get() in the core after calling >

Re: [PATCH v3] arm: dts: AM43x: Add usb DT nodes for AM4372

2013-08-14 Thread Benoit Cousson
+ Roger Hi George, Yes, I had some comment about the "ti'type" in Roger's series that will be applicable here as well. On 14/08/2013 16:16, George Cherian wrote: +Benoit If you dont have any comments, can you take this for 3.12? Regards -George On 7/10/2013 1:44 PM, George Cherian wrote

Re: [PATCH 5/8] drm/i2c: tda998x: add video and audio input configuration

2013-08-14 Thread Sebastian Hesselbarth
On 08/14/13 16:12, Russell King - ARM Linux wrote: On Tue, Aug 06, 2013 at 12:20:15AM +0200, Sebastian Hesselbarth wrote: @@ -0,0 +1,23 @@ +#ifndef __TDA998X_H__ +#define __TDA998X_H__ + +enum tda998x_audio_format { + AFMT_I2S, + AFMT_SPDIF, +}; + +struct tda998x_encoder_params { +

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-14 Thread Alan Stern
On Wed, 14 Aug 2013, Mark Brown wrote: > On Mon, Aug 12, 2013 at 09:04:00PM -0400, Alan Stern wrote: > > > The bus code would need hooks installed wherever the platform wants to > > do something extra. This could end up growing to a lot of hooks. How > > can the whole thing be done in a reaso

[PATCH] drivers/net/ethernet/via/via-velocity.c: update napi implementation

2013-08-14 Thread Julia Lawall
From: Julia Lawall Drivers supporting NAPI should use a NAPI-specific function for receiving packets. Hence netif_rx is changed to netif_receive_skb. Furthermore netif_napi_del should be used in the probe and remove function to clean up the NAPI resource information. Thanks to Francois Romieu,

Re: [patch] pstore: d_alloc_name() doesn't return an ERR_PTR

2013-08-14 Thread Kees Cook
On Wed, Aug 14, 2013 at 4:52 AM, Dan Carpenter wrote: > d_alloc_name() returns NULL on error. Also I changed the error code > from -ENOSPC to -ENOMEM to reflect that we were short on RAM not disk > space. > > Signed-off-by: Dan Carpenter Thanks for the catch! Acked-by: Kees Cook -- Kees Coo

Re: [PATCH 6/8] drm/i2c: tda998x: fix sync generation and calculation

2013-08-14 Thread Sebastian Hesselbarth
On 08/14/13 14:41, Russell King - ARM Linux wrote: On Tue, Aug 06, 2013 at 12:20:16AM +0200, Sebastian Hesselbarth wrote: + de_pix_s = mode->htotal - mode->hdisplay; + de_pix_e = de_pix_s + mode->hdisplay; + hs_pix_s = mode->hsync_start - mode->hdisplay; + hs_

Re: [PATCH] perf tests: Fix compile failure on do_sort_something - v2

2013-08-14 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 14, 2013 at 02:05:52PM +0300, Adrian Hunter escreveu: > On 14/08/13 07:32, David Ahern wrote: > > Commit b55ae0a9 added code-reading.c which fails to compile on Fedora 16 > > with compiler version: > > Signed-off-by: David Ahern > > Cc: Adrian Hunter > > Cc: Jiri Olsa > > Acked-by:

[PATCH] gpio-pca953x: Fix read for chips with more than 8 gpios

2013-08-14 Thread Ricardo Ribalda Delgado
pca953x_read_single returns ONLY the value of the 8 inputs of the same bank. off can have a value from 0 to 15, therefore we have to find the offset of that gpio within that bank. Without this patch gpios 8-15 will always be read as zero. Signed-off-by: Ricardo Ribalda Delgado --- drivers/gpio

Re: [PATCH] RFC: perf, tools: Move gtk browser into separate perfgtk executable

2013-08-14 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Em Tue, Aug 13, 2013 at 05:57:16PM -0400, Vince Weaver escreveu: > > On Tue, 13 Aug 2013, Ingo Molnar wrote: > > > > > that can only be addressed by either extending 'perf test' or by > > > testing libpfm et al sooner. The upstream kernel can only address >

Re: [PATCH v3 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-14 Thread Josh Cartwright
On Wed, Aug 14, 2013 at 03:59:42PM +0300, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > These drivers handles control and configuration of the HS > and SS USB PHY transceivers. They are part of the driver > which manage Synopsys DesignWare USB3 controller stack > inside Qualcomm SoC's. > >

Re: [PATCH v2] iommu: Add event tracing feature to iommu

2013-08-14 Thread Joerg Roedel
Hi Shuah, thanks for doing this. I have a few suggestions for improvements. On Tue, Jul 30, 2013 at 08:57:09AM -0600, Shuah Khan wrote: > iommu:add_device_to_group > iommu:remove_device_from_group > iommu:attach_device_to_domain > iommu:detach_device_from_domain > iommu:unmap > iommu:map Please

[PATCH] hp-wmi; Limit hotkey enable funtion

2013-08-14 Thread Kyle Evans
This patch is a supplement to commit b253c9d1d858a3f115f791ee4fe2b9399ae7dbbd Signed-off-by: Kyle Evans --- drivers/platform/x86/hp-wmi.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index 9

Re: [PATCH v3] arm: dts: AM43x: Add usb DT nodes for AM4372

2013-08-14 Thread George Cherian
+Benoit If you dont have any comments, can you take this for 3.12? Regards -George On 7/10/2013 1:44 PM, George Cherian wrote: This patch adds - HS USB nodes - phy nodes - usb control module nodes. Signed-off-by: George Cherian --- changes from v2 change synopsis to

Re: [PATCH] RFC: perf, tools: Move gtk browser into separate perfgtk executable

2013-08-14 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 13, 2013 at 05:57:16PM -0400, Vince Weaver escreveu: > On Tue, 13 Aug 2013, Ingo Molnar wrote: > > that can only be addressed by either extending 'perf test' or by testing > > libpfm et al sooner. The upstream kernel can only address regressions that > > get reported. > Most of the

Re: [PATCH 5/8] drm/i2c: tda998x: add video and audio input configuration

2013-08-14 Thread Russell King - ARM Linux
On Tue, Aug 06, 2013 at 12:20:15AM +0200, Sebastian Hesselbarth wrote: > @@ -0,0 +1,23 @@ > +#ifndef __TDA998X_H__ > +#define __TDA998X_H__ > + > +enum tda998x_audio_format { > + AFMT_I2S, > + AFMT_SPDIF, > +}; > + > +struct tda998x_encoder_params { > + int audio_cfg; > + int audio_

Re: arm: Only load TLS values when needed

2013-08-14 Thread André Hentschel
Hi Jonathan, Any updates on this? Am 17.07.2013 21:49, schrieb André Hentschel: > Am 17.07.2013 13:10, schrieb Jonathan Austin: >> Hi André, >> Do you have access to anything v6-NOT-k-ish? If not I can try and test this >> on something appropriate. How does your test-case access tpidrurw? If it

[PATCH] mm: memcontrol: fix handling of swapaccount parameter

2013-08-14 Thread Gergely Risko
Fixed swap accounting option parsing to enable if called without argument. Signed-off-by: Gergely Risko --- mm/memcontrol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index c290a1c..8ec2507 100644 --- a/mm/memcontrol.c +++ b/mm/memco

[PATCH 1/2] arch/x86/crypto/camellia_glue.c: replace commas by semicolons and adjust code alignment

2013-08-14 Thread Julia Lawall
From: Julia Lawall Adjust alignment and replace commas by semicolons in automatically generated code. Signed-off-by: Julia Lawall --- arch/x86/crypto/camellia_glue.c | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/arch/x86/crypt

[PATCH 2/2] crypto/camellia_generic.c: replace commas by semicolons and adjust code alignment

2013-08-14 Thread Julia Lawall
From: Julia Lawall Adjust alignment and replace commas by semicolons in automatically generated code. Signed-off-by: Julia Lawall --- crypto/camellia_generic.c | 48 +++--- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/crypto/camelli

Re: [PATCH v2 0/2] omap4/twl6030: typical connection to omap4 as a separate dtsi file

2013-08-14 Thread Benoit Cousson
Hi Ruslan, On 14/08/2013 10:35, Ruslan Bilovol wrote: Hello, There is no functional changes between v1 and v2 - just added the patch for omap4-var-som - Uri Yosef confirmed this board have the same connection of OMAP4<->TWL6030 as SDP4430 board The series looks good to me, but it will be good

Re: [RFC][PATCH 0/5] preempt_count rework

2013-08-14 Thread H. Peter Anvin
On 08/14/2013 06:15 AM, Peter Zijlstra wrote: > These patches optimize preempt_enable by firstly folding the preempt and > need_resched tests into one -- this should work for all architectures. And > secondly by providing per-arch preempt_count implementations; with x86 using > per-cpu preempt_coun

[PATCH 03/37] cpufreq: arm_big_little: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/arm_big_little.c | 2

[PATCH 17/37] cpufreq: integrator: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Russell King Signed-off-by: Viresh Kumar --- drivers/cpufreq/int

[RFC][PATCH 2/5] sched: Add NEED_RESCHED to the preempt_count

2013-08-14 Thread Peter Zijlstra
In order to combine the preemption and need_resched test we need to fold the need_resched information into the preempt_count value. We keep the existing TIF_NEED_RESCHED infrastructure in place but at 3 sites test it and fold its value into preempt_count; namely: - resched_task() when setting TI

[RFC][PATCH 5/5] sched, x86: Provide a per-cpu preempt_count implementation

2013-08-14 Thread Peter Zijlstra
Convert x86 to use a per-cpu preemption count. The reason for doing so is that accessing per-cpu variables is a lot cheaper than accessing thread_info variables. With this preempt_enable() reduces to: decl fs:__preempt_count jnz 1f call preempt_schedule 1: We still need to save/restore the

[RFC][PATCH 1/5] sched: Introduce preempt_count accessor functions

2013-08-14 Thread Peter Zijlstra
Replace the single preempt_count() 'function' that's an lvalue with two proper functions: preempt_count() - returns the preempt_count value as rvalue preempt_count_ptr() - returns a pointer to the preempt_count Then change all sites that modify the preempt count to use preempt_count_ptr(). Sig

[RFC][PATCH 4/5] sched: Create more preempt_count accessors

2013-08-14 Thread Peter Zijlstra
We need a few special preempt_count accessors: - task_preempt_count() for when we're interested in the preemption count of another (non-running) task. - init_task_preempt_count() for properly initializing the preemption count. - init_idle_preempt_count() a special case of the above for the

[PATCH 16/37] cpufreq: imx6q: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Shawn Guo Signed-off-by: Viresh Kumar --- drivers/cpufreq/imx6q-

[RFC][PATCH 3/5] sched, arch: Create asm/preempt.h

2013-08-14 Thread Peter Zijlstra
In order to prepare to per-arch implementations of preempt_count move the required bits into an asm-generic header and use this for all archs. Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-svxlmlhaa58low5tko1it...@git.kernel.org --- arch/alpha/include/asm/Kbuild |1 +

[RFC][PATCH 0/5] preempt_count rework

2013-08-14 Thread Peter Zijlstra
These patches optimize preempt_enable by firstly folding the preempt and need_resched tests into one -- this should work for all architectures. And secondly by providing per-arch preempt_count implementations; with x86 using per-cpu preempt_count for fastest access. These patches have so far only

[PATCH 18/37] cpufreq: kirkwood: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Andrew Lunn Signed-off-by: Viresh Kumar --- drivers/cpufreq/kirk

[PATCH 20/37] cpufreq: loongson2: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: John Crispin Signed-off-by: Viresh Kumar --- drivers/cpufreq/loo

[PATCH 28/37] cpufreq: pxa: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Eric Miao Signed-off-by: Viresh Kumar --- drivers/cpufreq/pxa2xx

[PATCH 33/37] cpufreq: sh: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Paul Mundt Cc: linux...@vger.kernel.org Signed-off-by: Viresh Kuma

[PATCH 02/37] cpufreq: acpi: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/acpi-cpufreq.c | 1 -

[PATCH 29/37] cpufreq: s3c: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Kukjin Kim Signed-off-by: Viresh Kumar --- drivers/cpufreq/s3c24

[PATCH 34/37] cpufreq: spear: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: spear-de...@list.st.com Signed-off-by: Viresh Kumar --- drivers/c

[PATCH 35/37] cpufreq: speedstep: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: David S. Miller Signed-off-by: Viresh Kumar --- drivers/cpufreq/

[PATCH 37/37] cpufreq: unicore2: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/unicore2-cpufreq.c |

[PATCH 36/37] cpufreq: tegra: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Stephen Warren Signed-off-by: Viresh Kumar --- drivers/cpufreq/t

[PATCH 26/37] cpufreq: powernow: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/powernow-k6.c | 1 -

[PATCH 25/37] cpufreq: pmac: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/pmac32-cpufreq.c | 1

[PATCH 31/37] cpufreq: sa11x0: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Russell King Signed-off-by: Viresh Kumar --- drivers/cpufreq/sa1

[PATCH 27/37] cpufreq: ppc: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/ppc-corenet-cpufreq.c

[PATCH 24/37] cpufreq: pcc: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/pcc-cpufreq.c | 7 ---

[PATCH 32/37] cpufreq: sc520_freq: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/sc520_freq.c | 1 - 1

[PATCH 23/37] cpufreq: p4: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: David S. Miller Signed-off-by: Viresh Kumar --- drivers/cpufreq/

[PATCH 30/37] cpufreq: s5pv210: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Kukjin Kim Signed-off-by: Viresh Kumar --- drivers/cpufreq/s5pv2

[PATCH 21/37] cpufreq: maple: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Dmitry Eremin-Solenikov Signed-off-by: Viresh Kumar --- drivers/

[PATCH 19/37] cpufreq: longhaul: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/longhaul.c | 1 - 1 f

[PATCH 22/37] cpufreq: omap: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Santosh Shilimkar Signed-off-by: Viresh Kumar --- drivers/cpufre

[PATCH 11/37] cpufreq: e_powersaver: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/e_powersaver.c | 1 -

[PATCH 15/37] cpufreq: ia64-acpi: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Tony Luck Signed-off-by: Viresh Kumar --- drivers/cpufreq/ia64-a

[PATCH 13/37] cpufreq: exynos: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Kukjin Kim Signed-off-by: Viresh Kumar --- drivers/cpufreq/exyno

[PATCH 09/37] cpufreq: davinci: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Sekhar Nori Signed-off-by: Viresh Kumar --- drivers/cpufreq/davi

[PATCH 10/37] cpufreq: dbx500: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Linus Walleij Signed-off-by: Viresh Kumar --- drivers/cpufreq/db

[PATCH 08/37] cpufreq: cris: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Jesper Nilsson Cc: Mikael Starvik Cc: linux-cris-ker...@axis.com

[PATCH 14/37] cpufreq: gx: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/gx-suspmod.c | 5 +---

[PATCH 12/37] cpufreq: elanfreq: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/elanfreq.c | 1 - 1 f

[PATCH 01/37] cpufreq: call cpufreq_driver->get() after calling ->init()

2013-08-14 Thread Viresh Kumar
Almost all drivers set policy->cur with current cpu frequency in their ->init() part. This can be done for all of them at core level and so they wouldn't need to do it. This patch adds supporting code in cpufreq core for calling get() after we have called init() for a policy. Cc: Andrew Lunn Cc:

[PATCH 06/37] cpufreq: cpu0: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Shawn Guo Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufre

[PATCH 05/37] cpufreq: blackfin: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Steven Miao Signed-off-by: Viresh Kumar --- drivers/cpufreq/blac

[PATCH 07/37] cpufreq: nforce2: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq-nforce2.c | 1

[PATCH 04/37] cpufreq: at32ap: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
Many common initializations of struct policy are moved to core now and hence this driver doesn't need to do it. This patch removes such code. Most recent of those changes is to call ->get() in the core after calling ->init(). Cc: Hans-Christian Egtvedt Signed-off-by: Viresh Kumar --- drivers/c

Re: [PATCH 27/29] drivers/ata/sata_rcar.c: simplify use of devm_ioremap_resource

2013-08-14 Thread Tejun Heo
On Wed, Aug 14, 2013 at 11:11:31AM +0200, Julia Lawall wrote: > From: Julia Lawall > > Remove unneeded error handling on the result of a call to > platform_get_resource when the value is passed to devm_ioremap_resource. > > Move the call to platform_get_resource adjacent to the call to > devm_io

[PATCH 00/37] CPUFreq: set policy->cur in cpufreq core instead of

2013-08-14 Thread Viresh Kumar
Almost all drivers set policy->cur with current cpu frequency in their ->init() part. This can be done for all of them at core level and so they wouldn't need to do it. This patchset adds supporting code in cpufreq core for calling get() after we have called init() for a policy. Also fixes all dr

Re: [PATCH 2/2] cpuset: remove redundant checks in file write functions

2013-08-14 Thread Tejun Heo
Hello, Li. On Wed, Aug 14, 2013 at 10:01:32AM +0800, Li Zefan wrote: > But most controllers don't check this in those read/write functions. > It shoudn't do any harm not checking online/offline status. It depends on the specific controller. For controllers which make clear distinction between on

[PATCH 1/4] printk: Remove separate printk_sched buffers and use printk buf instead

2013-08-14 Thread Jan Kara
From: Steven Rostedt To prevent deadlocks with doing a printk inside the scheduler, printk_sched() was created. The issue is that printk has a console_sem that it can grab and release. The release does a wake up if there's a task pending on the sem, and this wake up grabs the rq locks that is hel

[PATCH 4/4] printk: Use unbound irq work for printing and waking

2013-08-14 Thread Jan Kara
Now when per-cpu printk buffers are gone, there's no need to have printk flags or printk irq_work per cpu. Just make printk_pending a single variable operated by atomic operations and have single unbound irq work doing the waking and printing. This has an advantage that any cpu can do the printing

[PATCH 3/4] printk: Defer printing to irq work when we printed too much

2013-08-14 Thread Jan Kara
A CPU can be caught in console_unlock() for a long time (tens of seconds are reported by our customers) when other CPUs are using printk heavily and serial console makes printing slow. Despite serial console drivers are calling touch_nmi_watchdog() this triggers softlockup warnings because interrup

[PATCH 0/4 v5] Avoid softlockups in console_unlock()

2013-08-14 Thread Jan Kara
Hello, so I finally got back to the patches to avoid softlockups when a CPU gets caught in console_unlock() for a long time during heavy printing from other CPU. As is discussed in patch 3/4 it isn't enough to just silence the watchdog because if CPU spends too long in console_unlock() also RC

[PATCH 2/4] irq_work: Provide a irq work that can be processed on any cpu

2013-08-14 Thread Jan Kara
Provide new irq work flag - IRQ_WORK_UNBOUND - meaning that can be processed on any cpu. This flag implies IRQ_WORK_LAZY so that things are simple and we don't have to pick any particular cpu to do the work. We just do the work from a timer tick on whichever cpu it happens first. This is useful as

Re: [GIT PULL] DT/core: cpu_ofnode updates for v3.12

2013-08-14 Thread Sudeep KarkadaNagesha
On 14/08/13 13:53, Rob Herring wrote: > On 08/14/2013 05:01 AM, Sudeep KarkadaNagesha wrote: >> On 13/08/13 22:07, Benjamin Herrenschmidt wrote: >>> On Tue, 2013-08-13 at 19:29 +0100, Sudeep KarkadaNagesha wrote: I don't understand completely the use of ibm,ppc-interrupt-server#s and its

Re: [GIT PULL] DT/core: cpu_ofnode updates for v3.12

2013-08-14 Thread Sudeep KarkadaNagesha
On 14/08/13 12:37, Benjamin Herrenschmidt wrote: > On Wed, 2013-08-14 at 11:01 +0100, Sudeep KarkadaNagesha wrote: >> Yes this doesn't cover the historical "ibm,ppc-interrupt-server#s", >> for >> which we can have PPC specific wrapper above the generic one i.e. get >> the cpu node and then parse fo

Re: [PATCH 2/2] iommu/exynos: Follow kernel coding style for __sysmmu_enable return type

2013-08-14 Thread 'Joerg Roedel'
KyongHo, On Fri, Jul 26, 2013 at 07:46:01PM +0900, Cho KyongHo wrote: > __sysmmu_enable() must return 1 if it is called with the same page table. > I have fixed it exynos_iommu_attach_device() to always return zero on success > in the next patchset which I will post today. > > Thank you. When yo

[PATCH] ia64: use asm-generic/bitops/builtin-ffs.h

2013-08-14 Thread Akinobu Mita
The definision of ffs() for ia64 is almost same as asm-generic/bitops/builtin-ffs.h. The only difference is that it is defined as inline function or macro function. So this switches to use the header. Signed-off-by: Akinobu Mita Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org ---

[PATCH] tile: use asm-generic/bitops/builtin-*.h

2013-08-14 Thread Akinobu Mita
The definisions of __ffs(), __fls(), and ffs() for tile are almost same as asm-generic/bitops-*.h. The only difference is that it is defined as __always_inline or inline. So this switches to use those headers. Signed-off-by: Akinobu Mita Cc: Chris Metcalf --- arch/tile/include/asm/bitops.h |

Re: [PATCH v7 2/2] mm: make lru_add_drain_all() selective

2013-08-14 Thread Tejun Heo
Hello, On Tue, Aug 13, 2013 at 11:46:29PM -0700, Andrew Morton wrote: > What does "nest" mean? lru_add_drain_all() calls itself recursively, > presumably via some ghastly alloc_percpu()->alloc_pages(GFP_KERNEL) > route? If that ever happens then we'd certainly want to know about it. > Hopefully

Re: linux-next: manual merge of the mvebu tree with the pci tree

2013-08-14 Thread Jason Cooper
Stephen, On Wed, Aug 14, 2013 at 04:22:33PM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the mvebu tree got a conflict in > drivers/pci/host/pci-mvebu.c between commit f48fbf9c7e89 ("PCI: mvebu: > Convert to use devm_ioremap_resource") from the pci tree and commit > 82

Re: [PATCH 0/3] cpufreq: sa11x0: cleanups for 3.13

2013-08-14 Thread Rafael J. Wysocki
On Wednesday, August 14, 2013 07:56:44 AM Viresh Kumar wrote: > On 14 August 2013 01:31, Rafael J. Wysocki wrote: > > On Tuesday, August 13, 2013 07:01:04 PM Viresh Kumar wrote: > > > Are the three patches in this series prerequisite for the big target_index > > one? If so, I think they can go i

[PATCH v3 1/3] usb: dwc3: msm: Add device tree binding information

2013-08-14 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys (SNPS) and HS, SS PHY's control and configuration registers. It could operate in device mode (SS, HS, FS) and host mode (SS, HS, FS, LS). Signed-off-by: Ivan T. Ivanov --- .../devicetree/bindings/usb/msm-ssusb.t

[PATCH v3 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-14 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" These drivers handles control and configuration of the HS and SS USB PHY transceivers. They are part of the driver which manage Synopsys DesignWare USB3 controller stack inside Qualcomm SoC's. Signed-off-by: Ivan T. Ivanov --- drivers/usb/phy/Kconfig | 11 ++

Re: [PATCH v3 09/10] swiotlb-xen: support autotranslate guests

2013-08-14 Thread Stefano Stabellini
On Fri, 9 Aug 2013, Konrad Rzeszutek Wilk wrote: > > @@ -193,9 +315,10 @@ retry: > > /* > > * Get IO TLB memory from any location. > > */ > > - if (early) > > + if (early) { > > xen_io_tlb_start = alloc_bootmem_pages(PAGE_ALIGN(bytes)); > > - else { > > + x

[PATCH v3 0/3] DWC3 USB support for Qualcomm platform

2013-08-14 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" Hi, These patches add basic support for USB3.0 controllers found on MSM platforms. USB3.0 core is based on Synopsys DesignWare SuperSpeed IP. Changes since v2: * Several improvements in devicetree bindings description * Disable regulators in glue layer if there is error

[PATCH v3 3/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2013-08-14 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" DWC3 glue layer is hardware layer around Synopsys DesignWare USB3 core. Its purpose is to supply Synopsys IP with required clocks, voltages and interface it with the rest of the SoC. Signed-off-by: Ivan T. Ivanov --- drivers/usb/dwc3/Kconfig|8 ++ drivers/usb/dwc

Re: [PATCH 8/29] drivers/cpuidle/cpuidle-kirkwood.c: simplify use of devm_ioremap_resource

2013-08-14 Thread Rafael J. Wysocki
On Wednesday, August 14, 2013 11:11:12 AM Julia Lawall wrote: > From: Julia Lawall > > Remove unneeded error handling on the result of a call to > platform_get_resource when the value is passed to devm_ioremap_resource. > > A simplified version of the semantic patch that makes this change is as

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-14 Thread Peter Maydell
On 14 August 2013 13:49, Russell King - ARM Linux wrote: > On Wed, Aug 14, 2013 at 01:44:44PM +0100, Peter Maydell wrote: >> Yes, I definitely think we should test on the hardware before we >> land yet another change to this PCI code that hasn't really been >> thoroughly tested on anything. I have

[PATCH net-next v2 1/3] net/usb/r8152: support aggregation

2013-08-14 Thread Hayes Wang
Enable the tx/rx aggregation which could contain one or more packets for each bulk in/out. This could reduce the loading of the host controller by sending less bulk transfer. The rx packets in the bulk in buffer should be 8-byte aligned, and the tx packets in the bulk out buffer should be 4-byte a

[PATCH net-next v2 2/3] net/usb/r8152: enable tx checksum

2013-08-14 Thread Hayes Wang
Enable tx checksum. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 64 + 1 file changed, 59 insertions(+), 5 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index abb0b9f..4d938a7 100644 --- a/drivers/net/usb/r

[PATCH net-next v2 3/3] net/usb/r8152: enable interrupt transfer

2013-08-14 Thread Hayes Wang
Use the interrupt transfer to replace polling link status. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 140 ++-- 1 file changed, 113 insertions(+), 27 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 4d938a

Re: [PATCH V11 09/15] perf: make events stream always parsable

2013-08-14 Thread Adrian Hunter
On 14/08/13 15:48, Adrian Hunter wrote: > The event stream is not always parsable because the format of a sample > is dependent on the sample_type of the selected event. When there > is more than one selected event and the sample_types are not the > same then parsing becomes problematic. A sample

Re: [GIT PULL] DT/core: cpu_ofnode updates for v3.12

2013-08-14 Thread Rob Herring
On 08/14/2013 05:01 AM, Sudeep KarkadaNagesha wrote: > On 13/08/13 22:07, Benjamin Herrenschmidt wrote: >> On Tue, 2013-08-13 at 19:29 +0100, Sudeep KarkadaNagesha wrote: >>> I don't understand completely the use of ibm,ppc-interrupt-server#s and >>> its implications on generic of_get_cpu_node impl

[tip:x86/spinlocks] kvm: Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-08-14 Thread tip-bot for Srivatsa Vaddagiri
Commit-ID: 92b75202e5e8790905f9441ccaea2456cc4621a5 Gitweb: http://git.kernel.org/tip/92b75202e5e8790905f9441ccaea2456cc4621a5 Author: Srivatsa Vaddagiri AuthorDate: Tue, 6 Aug 2013 14:55:41 +0530 Committer: Ingo Molnar CommitDate: Wed, 14 Aug 2013 13:12:35 +0200 kvm: Paravirtual ticke

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-14 Thread Russell King - ARM Linux
On Wed, Aug 14, 2013 at 01:44:44PM +0100, Peter Maydell wrote: > On 14 August 2013 11:33, Russell King - ARM Linux > wrote: > > On Mon, Aug 12, 2013 at 04:04:08PM -0700, Guenter Roeck wrote: > >> Hacked diff is below. Can I write that up as clean patch and submit it, > >> or do we need a test on r

Re: [Xen-devel] [PATCH] xen/hvc: If we use xen_raw_printk let it also work on HVM guests.

2013-08-14 Thread Konrad Rzeszutek Wilk
On Wed, Aug 14, 2013 at 08:15:56AM +0100, Ian Campbell wrote: > On Tue, 2013-08-13 at 20:10 -0400, Konrad Rzeszutek Wilk wrote: > > On Tue, Aug 13, 2013 at 11:20:05PM +0100, Ian Campbell wrote: > > > On Tue, 2013-08-13 at 21:59 +0100, Ian Campbell wrote: > > > > > > > > What it should be is: > > >

[PATCH V11 06/15] perf tools: tidy up sample parsing overflow checking

2013-08-14 Thread Adrian Hunter
The size of data retrieved from a sample event must be validated to ensure it does not go past the end of the event. That was being done sporadically and without considering integer overflows. Signed-off-by: Adrian Hunter Acked-by: Jiri Olsa --- tools/perf/util/evsel.c | 112 ++

[PATCH V11 04/15] perf tools: add pid to struct thread

2013-08-14 Thread Adrian Hunter
Record pid on struct thread. The member is named 'pid_' to avoid confusion with the 'tid' member which was previously named 'pid'. Signed-off-by: Adrian Hunter Acked-by: David Ahern --- tools/perf/util/machine.c | 16 +++- tools/perf/util/thread.c | 3 ++- tools/perf/util/thread.

[PATCH V11 03/15] perf tools: allow non-matching sample types

2013-08-14 Thread Adrian Hunter
Sample types need not be identical to determine the sample id from the event. Only the position of the sample id needs to be the same. Compatible sample types are ones in which the bits defined by PERF_COMPAT_MASK are the same. 'perf_evlist__config()' forces sample types to be compatible on that

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-14 Thread Peter Maydell
On 14 August 2013 11:33, Russell King - ARM Linux wrote: > On Mon, Aug 12, 2013 at 04:04:08PM -0700, Guenter Roeck wrote: >> Hacked diff is below. Can I write that up as clean patch and submit it, >> or do we need a test on real hardware ? > > Well, if we want to ensure that it is really correct,

<    1   2   3   4   5   6   7   8   9   >