[PATCH v2 2/2] mfd: vexpress-sysreg: Add syscon labels as platform data

2014-02-11 Thread Pawel Moll
This patch adds platform data with label names for syscon registers in the relevant MFD cells. Signed-off-by: Pawel Moll --- drivers/mfd/vexpress-sysreg.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/mfd/vexpress-sysreg.c b/drivers/mfd/vexpress-sysreg.c index

Re: [PATCH v3] ieee80211: Print human-readable disassoc/deauth reason codes

2014-02-11 Thread Calvin Owens
On Tuesday 02/11 at 09:13 -0800, Joe Perches wrote: > On Tue, 2014-02-11 at 10:37 -0600, Calvin Owens wrote: > > Create a function to return a descriptive string for each reason code, > > and print that in addition to the numeric value in the kernel log. These > > codes are easily found on popular

Re: [Xen-devel] [GIT PULL] (xen) stable/for-jens-3.14 : NFO: trying to register non-static key. the code is fine but needs lockdep annotation.

2014-02-11 Thread David Vrabel
at were you doing when you triggered this? Just launching >>> a guest? >> >> Nope it triggers on guest shutdown .. >> >> >>> CC-ing Roger and other folks who were on the patches. >> >>>> >>>> >>>> [ 438.029756] INFO: trying to register non-

Re: [Patch v5 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-11 Thread Josh Cartwright
Ugh. On Tue, Feb 11, 2014 at 11:49:10AM -0600, Josh Cartwright wrote: > On Tue, Feb 11, 2014 at 11:00:48PM +0530, Vinod Koul wrote: > > On Tue, Feb 04, 2014 at 02:42:35PM -0600, Andy Gross wrote: > > > Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA > > > controller > > >

[PATCH v2 1/2] mfd: syscon: Add platform data with a regmap config name

2014-02-11 Thread Pawel Moll
Define syscon platform data structure that can be used to define a regmap config name. This is particularly useful in the regmap debugfs when there is more than one syscon device registered, to distinguish the register blocks. Signed-off-by: Pawel Moll --- drivers/mfd/syscon.c |

Re: [PATCH 5/5] idle: Add more comments to the code

2014-02-11 Thread Nicolas Pitre
On Tue, 11 Feb 2014, Daniel Lezcano wrote: > The idle main function is a complex and a critical function. Added more > comments to the code. > > Signed-off-by: Daniel Lezcano Few questions below. In any case,: Acked-by: Nicolas Pitre > --- > kernel/sched/idle.c | 37

Re: [Patch v5 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 11:00:48PM +0530, Vinod Koul wrote: > On Tue, Feb 04, 2014 at 02:42:35PM -0600, Andy Gross wrote: > > Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA > > controller > > found in the MSM 8x74 platforms. > > > > Each BAM DMA device is associated with a

Re: [PATCH 8/9] workqueue: Replace hardcoding of -20 and 19 with MIN_NICE and MAX_NICE.

2014-02-11 Thread Tejun Heo
On Tue, Feb 11, 2014 at 03:34:52PM +0800, Dongsheng Yang wrote: > Signed-off-by: Dongsheng Yang > cc: Tejun Heo > cc: Peter Zijlstra > cc: Ingo Molnar > --- > kernel/workqueue.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/workqueue.c b/kernel/workqueue.c >

Re: [PATCH 4/7] perf: be less pessimistic when scheduling events

2014-02-11 Thread Mark Rutland
On Mon, Feb 10, 2014 at 05:58:54PM +, Peter Zijlstra wrote: > On Mon, Feb 10, 2014 at 05:44:21PM +, Mark Rutland wrote: > > This patch makes ctx_flexible_sched_in attempt to schedule every group > > in the flexible_groups list even when earlier groups failed to schedule, > > enabling more

Re: [PATCH 08/12] mfd: vexpress-sysreg: Add syscon labels as platform data

2014-02-11 Thread Lee Jones
On Tue, 11 Feb 2014, Pawel Moll wrote: > On Tue, 2014-02-11 at 17:29 +, Lee Jones wrote: > > There must be better > > ways of passing a name than through pdata, and if there isn't I'd > > suggest setting up a sysconf pdata struct that others can use in case > > they wish to expand the

Re: [PATCH v5 3/3] audit: Audit proc//cmdline aka proctitle

2014-02-11 Thread William Roberts
The most up to date patches were v6. The difference between v5 and v6 is rtrim(). Did you not want the rtrim? Most things end with null bytes, this helps prevent hex-escaping when not needed. v6 - adds rtrim http://marc.info/?l=linux-kernel=139093195718315=2

Re: [PATCH 3/8] ARM: at91: make use of of_find_matching_node_and_match

2014-02-11 Thread Nicolas Ferre
On 11/02/2014 17:24, Josh Cartwright : > Instead of the of_find_matching_node()/of_match_node() pair, which requires > two > iterations through the match table, make use of > of_find_matching_node_and_match(), > which only iterates through the table once. > > While we're here, mark the rtsc id

Re: [PATCH 05/12] GPIO: gpio-generic: Add label to platform data

2014-02-11 Thread Lee Jones
> > > When registering more than one platform device, it is > > > useful to set the gpio chip label in the platform data. > > > > > > Cc: Linus Walleij > > > Cc: Alexandre Courbot > > > Cc: Samuel Ortiz > > > Cc: Lee Jones > > > Signed-off-by: Pawel Moll > > > --- > > > This patch has been

Re: [PATCH 4/8] ARM: mvebu: make use of of_find_matching_node_and_match

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 12:34:46PM -0500, Jason Cooper wrote: > > Ok, great! Josh, do you want us to take the two mvebu patches through > mvebu/arm-soc? Or would you prefer to take them? Please, take them through the mvebu tree. Thanks, Josh -- Qualcomm Innovation Center, Inc. is a member

Re: [PATCH V3] net/dt: Add support for overriding phy configuration from device tree

2014-02-11 Thread Florian Fainelli
Hi Gerlando, 2014-02-11 1:09 GMT-08:00 Gerlando Falauto : > Hi Florian, > > first of all, thank you for your answer. > > > On 02/10/2014 06:09 PM, Florian Fainelli wrote: >> >> Hi Gerlando, >> >> Le lundi 10 février 2014, 17:14:59 Gerlando Falauto a écrit : >>> >>> Hi, >>> >>> I'm currently

Re: [PATCH 5/9] rcu: Use MAX_NICE to replace hard coding of 19.

2014-02-11 Thread Paul E. McKenney
On Tue, Feb 11, 2014 at 05:42:30PM +0100, Peter Zijlstra wrote: > On Tue, Feb 11, 2014 at 08:13:13AM -0800, Paul E. McKenney wrote: > > On Tue, Feb 11, 2014 at 07:37:32AM -0800, Josh Triplett wrote: > > > On Tue, Feb 11, 2014 at 03:34:49PM +0800, Dongsheng Yang wrote: > > > > Signed-off-by:

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-02-11 Thread Mauro Carvalho Chehab
Em Tue, 11 Feb 2014 18:22:34 +0100 Sylwester Nawrocki escreveu: > (adding Guennadi to Cc) > > On 11/02/14 17:36, Philipp Zabel wrote: > > Am Dienstag, den 11.02.2014, 16:23 +0100 schrieb Laurent Pinchart: > >> Hi Russell, > >> > >> On Tuesday 11 February 2014 14:52:48 Russell King - ARM Linux

Re: [PATCH 01/51] CPU hotplug: Provide lockless versions of callback registration functions

2014-02-11 Thread Toshi Kani
On Tue, 2014-02-11 at 22:48 +0530, Gautham R Shenoy wrote: > On Tue, Feb 11, 2014 at 09:33:56AM -0700, Toshi Kani wrote: > > > > I agree that introducing a reader-writer semaphore allows concurrent > > executions. Adding yet another hotplug lock is a bit unfortunate, > > though. > > > > I

Re: [Xen-devel] [GIT PULL] (xen) stable/for-jens-3.14 : NFO: trying to register non-static key. the code is fine but needs lockdep annotation.

2014-02-11 Thread Roger Pau Monné
>> CC-ing Roger and other folks who were on the patches. > >>> >>> >>> [ 438.029756] INFO: trying to register non-static key. >>> [ 438.029759] the code is fine but needs lockdep annotation. >>> [ 438.029760] turning off the locking correctness validator.

Re: [PATCH] mfd: dbx500/abx500: root out hardcoded IRQ assignments

2014-02-11 Thread Mark Brown
On Tue, Feb 11, 2014 at 11:29:59AM +0100, Linus Walleij wrote: > I've been ambivalent on how to look up the IRQ resource for the > AB8500 from the device tree (as it is hanging off the main GIC > interrupt controller rather than the PRCMU) and eventually ended > up with this solution. I

Re: [PATCH 3/5] idle: Reorganize the idle loop

2014-02-11 Thread Nicolas Pitre
On Tue, 11 Feb 2014, Daniel Lezcano wrote: > Now that we have the main cpuidle function in idle.c, move some code from > the idle mainloop to this function for the sake of clarity. > > That removes if then else indentation difficult to follow when looking at the > code. This patch does not the

Re: [PATCH] reset: Add generic GPIO reset driver.

2014-02-11 Thread Philipp Zabel
Hi Martin, Am Dienstag, den 11.02.2014, 10:34 +0100 schrieb Fuzzey, Martin: [...] > >> 2) Allow hardware on discoverable busses to be rest via a GPIO line > >> without driver modifications. > >> > >> Examples of the second use case include: > >> * SDIO wifi modules > >> * USB hub chips with a

Re: [PATCH] dmaengine: Remove dependency on MACH_BCM2708

2014-02-11 Thread Vinod Koul
On Sun, Feb 09, 2014 at 03:39:25PM +0100, Paul Bolle wrote: > Commit 96286b576690 ("dmaengine: Add support for BCM2835") added an > optional dependency on MACH_BCM2708. But there's no Kconfig symbol > MACH_BCM2708. > > (There was an entry for MACH_BCM2708 in arch/arm/tools/mach-types from >

Re: [Intel-gfx] [PATCH v5 11/11] drm/i915: Calling rotate and inverse rotate transformations after clipping

2014-02-11 Thread Sagar Arun Kamble
On Tue, 2014-02-11 at 16:56 +0200, Ville Syrjälä wrote: > On Tue, Feb 11, 2014 at 05:02:31PM +0530, Sagar Arun Kamble wrote: > > On Mon, 2014-02-10 at 15:32 +0200, Ville Syrjälä wrote: > > > On Mon, Feb 10, 2014 at 01:01:18PM +0530, sagar.a.kam...@intel.com wrote: > > > > From: Sagar Kamble > > >

Re: Build regressions/improvements in v3.14-rc2

2014-02-11 Thread Geert Uytterhoeven
On Tue, Feb 11, 2014 at 6:33 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.14-rc2[1] to v3.14-rc1[3], the summaries are: > - build errors: +3/-2 + /scratch/kisskb/src/drivers/gpu/drm/drm_gem_cma_helper.c: error: implicit declaration of function 'dma_alloc_writecombine'

Re: [PATCH 4/8] ARM: mvebu: make use of of_find_matching_node_and_match

2014-02-11 Thread Jason Cooper
On Tue, Feb 11, 2014 at 06:31:33PM +0100, Gregory CLEMENT wrote: > On 11/02/2014 18:10, Thomas Petazzoni wrote: > > Dear Jason Cooper, > > > > On Tue, 11 Feb 2014 11:53:14 -0500, Jason Cooper wrote: > > > >>> - np = of_find_matching_node(NULL, of_system_controller_table); > >>> + np =

Build regressions/improvements in v3.14-rc2

2014-02-11 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.14-rc2[1] compared to v3.13[2]. Summarized: - build errors: +10/-31 - build warnings: +126/-71 JFYI, when comparing v3.14-rc2[1] to v3.14-rc1[3], the summaries are: - build errors: +3/-2 - build warnings: +57/-53

Re: [Patch v5 1/2] dmaengine: add Qualcomm BAM dma driver

2014-02-11 Thread Vinod Koul
On Tue, Feb 04, 2014 at 02:42:35PM -0600, Andy Gross wrote: > Add the DMA engine driver for the QCOM Bus Access Manager (BAM) DMA controller > found in the MSM 8x74 platforms. > > Each BAM DMA device is associated with a specific on-chip peripheral. Each > channel provides a uni-directional data

Re: [PATCH 08/12] mfd: vexpress-sysreg: Add syscon labels as platform data

2014-02-11 Thread Pawel Moll
On Tue, 2014-02-11 at 17:29 +, Lee Jones wrote: > There must be better > ways of passing a name than through pdata, and if there isn't I'd > suggest setting up a sysconf pdata struct that others can use in case > they wish to expand the functionality further in some other > unfathomable way.

Re: [PATCH 1/3] driver core & of: Mark of_nodes of added device as populated

2014-02-11 Thread Christopher Covington
Hi Pawel, On 02/11/2014 11:53 AM, Pawel Moll wrote: > This patch tries to solve that issue in a generic way, > adding a "populated" flag which is set in the device_node > structure when a device is being created in the core. > Later, of_platform_populate() skips such nodes (and > its children) in

Re: [PATCH 4/8] ARM: mvebu: make use of of_find_matching_node_and_match

2014-02-11 Thread Gregory CLEMENT
On 11/02/2014 18:10, Thomas Petazzoni wrote: > Dear Jason Cooper, > > On Tue, 11 Feb 2014 11:53:14 -0500, Jason Cooper wrote: > >>> - np = of_find_matching_node(NULL, of_system_controller_table); >>> + np = of_find_matching_node_and_match(NULL, of_system_controller_table, >>> +

Re: [PATCH 08/12] mfd: vexpress-sysreg: Add syscon labels as platform data

2014-02-11 Thread Lee Jones
> This patch adds label names for syscon registers as platform > data for the relevant MFD cells. Okay, I see. Hmm... not sure I like this at all. It seems awfully as though you're bending current infrastructure to suit your needs. There must be better ways of passing a name than through pdata,

Re: [PATCH 05/12] GPIO: gpio-generic: Add label to platform data

2014-02-11 Thread Pawel Moll
On Tue, 2014-02-11 at 17:20 +, Pawel Moll wrote: > -- IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediately and do not disclose the > contents to any other

Re: drm/msm: CONFIG_MSM_OCMEM?

2014-02-11 Thread Rob Clark
On Tue, Feb 11, 2014 at 10:39 AM, Paul Bolle wrote: > Rob, > > Commit 55459968176f ("drm/msm: add a330/apq8x74") added preprocessor > checks for CONFIG_MSM_OCMEM. But I couldn't find a Kconfig symbol > MSM_OCMEM (nor a preprocessor define for a macro of that name). Why were > those preprocessor

3.14-rc2 XFS backtrace because irqs_disabled.

2014-02-11 Thread Dave Jones
BUG: sleeping function called from invalid context at mm/mempool.c:203 in_atomic(): 0, irqs_disabled(): 1, pid: 27511, name: trinity-c3 5 locks held by trinity-c3/27511: #0: (sb_writers#9){..}, at: [] mnt_want_write+0x24/0x50 #1: (>i_mutex_dir_key#3){..}, at: []

Re: [PATCH 1/5] idle/cpuidle: Split cpuidle_idle_call main function into smaller functions

2014-02-11 Thread Nicolas Pitre
On Tue, 11 Feb 2014, Daniel Lezcano wrote: > In order to allow better integration between the cpuidle framework and the > scheduler, reducing the distance between these two sub-components will > facilitate this integration by moving part of the cpuidle code in the idle > task file and, because

Re: [PATCH v5 3/3] audit: Audit proc//cmdline aka proctitle

2014-02-11 Thread William Roberts
On Tue, Feb 11, 2014 at 8:36 AM, Richard Guy Briggs wrote: > On 14/02/06, William Roberts wrote: >> During an audit event, cache and print the value of the process's >> proctitle value (proc//cmdline). This is useful in situations >> where processes are started via fork'd virtual machines where

Re: [PATCH 07/12] mfd: syscon: Consider platform data a regmap config name

2014-02-11 Thread Lee Jones
> Use the device platform data as a regmap config > name. This is particularly useful in the regmap > debugfs when there is more than one syscon device > registered, to distinguish the register blocks. > > Cc: Samuel Ortiz > Cc: Lee Jones > Signed-off-by: Pawel Moll > --- > Alternatively I

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-02-11 Thread Laurent Pinchart
Hi Philipp, On Tuesday 11 February 2014 17:36:57 Philipp Zabel wrote: > Am Dienstag, den 11.02.2014, 16:23 +0100 schrieb Laurent Pinchart: > > On Tuesday 11 February 2014 14:52:48 Russell King - ARM Linux wrote: > > > On Tue, Feb 11, 2014 at 07:56:33AM -0600, Rob Herring wrote: > > > > On Tue,

Re: [PATCH 05/12] GPIO: gpio-generic: Add label to platform data

2014-02-11 Thread Pawel Moll
On Tue, 2014-02-11 at 17:17 +, Lee Jones wrote: > > When registering more than one platform device, it is > > useful to set the gpio chip label in the platform data. > > > > Cc: Linus Walleij > > Cc: Alexandre Courbot > > Cc: Samuel Ortiz > > Cc: Lee Jones > > Signed-off-by: Pawel Moll >

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-02-11 Thread Sylwester Nawrocki
(adding Guennadi to Cc) On 11/02/14 17:36, Philipp Zabel wrote: > Am Dienstag, den 11.02.2014, 16:23 +0100 schrieb Laurent Pinchart: >> Hi Russell, >> >> On Tuesday 11 February 2014 14:52:48 Russell King - ARM Linux wrote: >>> On Tue, Feb 11, 2014 at 07:56:33AM -0600, Rob Herring wrote: On

Re: [PATCH] of: Turn of_match_node into a static inline when CONFIG_OF isn't set

2014-02-11 Thread Laurent Pinchart
Hi Josh, On Tuesday 11 February 2014 10:48:26 Josh Cartwright wrote: > On Tue, Feb 11, 2014 at 03:55:35PM +0100, Laurent Pinchart wrote: > > On Tuesday 11 February 2014 08:41:08 Josh Cartwright wrote: > > > On Tue, Feb 11, 2014 at 01:36:51PM +0100, Laurent Pinchart wrote: > > > > when CONFIG_OF

Re: [PATCH 06/12] mfd: vexpress-sysreg: Add labels to gpio banks

2014-02-11 Thread Lee Jones
> ... so debugfs interfaces are easier to use. > > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: Samuel Ortiz > Cc: Lee Jones > Signed-off-by: Pawel Moll > --- > drivers/mfd/vexpress-sysreg.c | 3 +++ > 1 file changed, 3 insertions(+) Acked-by: Lee Jones -- Lee Jones Linaro

Re: [PATCH 01/51] CPU hotplug: Provide lockless versions of callback registration functions

2014-02-11 Thread Gautham R Shenoy
On Tue, Feb 11, 2014 at 09:33:56AM -0700, Toshi Kani wrote: > > I agree that introducing a reader-writer semaphore allows concurrent > executions. Adding yet another hotplug lock is a bit unfortunate, > though. > I agree with this last part. We already have enough locks for cpu-hotplug.

Re: [RFC PATCH 3/3] idle: store the idle state index in the struct rq

2014-02-11 Thread Arjan van de Ven
On 2/11/2014 8:41 AM, Peter Zijlstra wrote: On Mon, Feb 03, 2014 at 08:17:47AM -0800, Arjan van de Ven wrote: On 2/3/2014 6:56 AM, Peter Zijlstra wrote: if there's a simple api like sched_cpu_cache_wiped(int llc) that would be very nice for this; the menuidle side knows this for some cases

Re: [PATCH 01/51] CPU hotplug: Provide lockless versions of callback registration functions

2014-02-11 Thread Oleg Nesterov
On 02/11, Srivatsa S. Bhat wrote: > > +static DECLARE_RWSEM(cpu_hotplug_rwsem); > + > +void cpu_notifier_register_begin(void) > +{ > + down_read(_hotplug_rwsem); > +} > + > +void cpu_notifier_register_end(void) > +{ > + up_read(_hotplug_rwsem); > +} > + > /* Serializes the updates to

Re: [PATCH 05/12] GPIO: gpio-generic: Add label to platform data

2014-02-11 Thread Lee Jones
> When registering more than one platform device, it is > useful to set the gpio chip label in the platform data. > > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: Samuel Ortiz > Cc: Lee Jones > Signed-off-by: Pawel Moll > --- > This patch has been already merged by Linux; it has been

[PATCH 04/12] clocksource: Sched clock source for Versatile Express

2014-02-11 Thread Pawel Moll
This patch adds a trival sched clock source using free running, 24MHz clocked counter present in the ARM Ltd. Versatile Express platform's System Registers block. This code replaces the call in the VE machine code. Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Pawel Moll ---

[PATCH 03/12] clk: versatile: Split config options for sp810 and vexpress_osc

2014-02-11 Thread Pawel Moll
Move the Kconfig entry for Versatile (& Express) clock drivers into a separate file and add individual options for sp810 and vexpress_osc drivers, as they are optional in some configurations and may have separate dependencies. Cc: Mike Turquette Signed-off-by: Pawel Moll ---

[PATCH 02/12] power/reset: vexpress: Use udelay instead of timers

2014-02-11 Thread Pawel Moll
At this stage of system shutdown procedure the jiffies may not be updated anymore, so just use udelay instead. Cc: Dmitry Eremin-Solenikov Cc: David Woodhouse Signed-off-by: Pawel Moll --- drivers/power/reset/vexpress-poweroff.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-)

www.xrefs.info: addition of openflow and SDN

2014-02-11 Thread John Smith
I setup http://www.xrefs.info for open source developers to do cross reference search based on OpenGrok. It covers projects like linux kernel from version 0.01 to latest, android, linux packages, BSD, cloud computing, big data, SDN etc.. Check it out...Let me know if you have any suggestions or

[PATCH 00/12] Versatile Express updates

2014-02-11 Thread Pawel Moll
This series is a set of updates following the infrastructure rework and depends on it. It will be finally posted once the main series is merged. For the time being I would really appreciate feedback and/or (n)acks... Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Dmitry Eremin-Solenikov Cc:

[PATCH 08/12] mfd: vexpress-sysreg: Add syscon labels as platform data

2014-02-11 Thread Pawel Moll
This patch adds label names for syscon registers as platform data for the relevant MFD cells. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Pawel Moll --- drivers/mfd/vexpress-sysreg.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/mfd/vexpress-sysreg.c

[PATCH 1/1] drm/tegra: Add guard to avoid double disable/enable of RGB outputs

2014-02-11 Thread Dmitry Osipenko
Add guard to check whether RGB output is already enabled in the way it's done for HDMI output. Fixes possible hang on trying to disable output twice (first time during driver probe and second on fb registering). Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/rgb.c | 11 +++ 1

Re: [PATCH 13/13] net: Mark functions as static in net/sunrpc/svc_xprt.c

2014-02-11 Thread J. Bruce Fields
On Sun, Feb 09, 2014 at 01:40:54AM +0530, Rashika Kheria wrote: > Mark functions as static in net/sunrpc/svc_xprt.c because they are not > used outside this file. > > This eliminates the following warning in net/sunrpc/svc_xprt.c: > net/sunrpc/svc_xprt.c:574:5: warning: no previous prototype for

Re: [PATCH v3] ieee80211: Print human-readable disassoc/deauth reason codes

2014-02-11 Thread Joe Perches
On Tue, 2014-02-11 at 10:37 -0600, Calvin Owens wrote: > Create a function to return a descriptive string for each reason code, > and print that in addition to the numeric value in the kernel log. These > codes are easily found on popular search engines, but one is generally > not able to access

[PATCH 07/12] mfd: syscon: Consider platform data a regmap config name

2014-02-11 Thread Pawel Moll
Use the device platform data as a regmap config name. This is particularly useful in the regmap debugfs when there is more than one syscon device registered, to distinguish the register blocks. Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Pawel Moll --- Alternatively I could define a syscon

[PATCH 05/12] GPIO: gpio-generic: Add label to platform data

2014-02-11 Thread Pawel Moll
When registering more than one platform device, it is useful to set the gpio chip label in the platform data. Cc: Linus Walleij Cc: Alexandre Courbot Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Pawel Moll --- This patch has been already merged by Linux; it has been included for

Re: [PATCH 4/8] ARM: mvebu: make use of of_find_matching_node_and_match

2014-02-11 Thread Thomas Petazzoni
Dear Jason Cooper, On Tue, 11 Feb 2014 11:53:14 -0500, Jason Cooper wrote: > > - np = of_find_matching_node(NULL, of_system_controller_table); > > + np = of_find_matching_node_and_match(NULL, of_system_controller_table, > > +); > > if (np) { > > -

[PATCH 01/12] misc: vexpress-syscfg: Add udelay-based delay

2014-02-11 Thread Pawel Moll
It is normally preferable to yield the task waiting for syscfg operations (that can take up to dozens of milliseconds), but when the system is shutting down it may not be possible. This patch adds a udelay-based version of the code to be used in such circumstances. Cc: Arnd Bergmann Cc: Greg

[PATCH 12/12] ARM: vexpress: move HBI check to sysreg driver

2014-02-11 Thread Pawel Moll
The last reason for static memory mapping is the HBI (board identification number) check early in the machine code. Moving the check to the sysreg driver makes it possible to completely remove the early mapping and init functions. Signed-off-by: Pawel Moll --- arch/arm/mach-vexpress/v2m.c |

[PATCH 10/12] ARM: vexpress: remove redundant vexpress_dt_cpus_num to get cpu count

2014-02-11 Thread Pawel Moll
From: Sudeep KarkadaNagesha arm_dt_init_cpu_maps parses the device tree, validates and sets the cpu_possible_mask appropriately. It is unnecessary to do another DT parse to get the number of cpus, use num_possible_cpus instead. This patch also removes setting cpu_present_mask as platforms

[PATCH 09/12] hwmon: vexpress: Use devm helper for hwmon device registration

2014-02-11 Thread Pawel Moll
Use devm_hwmon_device_register_with_groups instead of the old-style manual attributes and hwmon device registration. Cc: Jean Delvare Cc: Guenter Roeck Cc: lm-sens...@lm-sensors.org Signed-off-by: Pawel Moll --- drivers/hwmon/vexpress.c | 100 ---

[PATCH 06/12] mfd: vexpress-sysreg: Add labels to gpio banks

2014-02-11 Thread Pawel Moll
... so debugfs interfaces are easier to use. Cc: Linus Walleij Cc: Alexandre Courbot Cc: Samuel Ortiz Cc: Lee Jones Signed-off-by: Pawel Moll --- drivers/mfd/vexpress-sysreg.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/vexpress-sysreg.c

Re: [PATCH 0/4] hugetlb: add hugepagesnid= command-line option

2014-02-11 Thread Mel Gorman
On Tue, Feb 11, 2014 at 01:26:29PM -0200, Marcelo Tosatti wrote: > > Or take a stab at allocating 1G pages at runtime. It would require > > finding properly aligned 1Gs worth of contiguous MAX_ORDER_NR_PAGES at > > runtime. I would expect it would only work very early in the lifetime of > > the

[PATCH 11/12] ARM: vexpress: Simplify SMP operations for DT-powered system

2014-02-11 Thread Pawel Moll
As all cores must be properly described in the Device Tree, there is no point in getting their numbers from SCU on A5/A9 platforms. This significantly simplifies the code, removing the need for flat-tree scanning and early static mapping. Signed-off-by: Pawel Moll ---

Re: [PATCH V1] da9052: ONKEY: use correct register bit for key status

2014-02-11 Thread Dmitry Torokhov
On Tue, Feb 11, 2014 at 04:57:47PM +, Opensource [Anthony Olech] wrote: > > -Original Message- > > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > > Sent: 11 February 2014 16:29 > ..[snip].. > > > static void da9052_onkey_query(struct da9052_onkey *onkey) { > > > - int

RE: [PATCH V1] da9052: ONKEY: use correct register bit for key status

2014-02-11 Thread Opensource [Anthony Olech]
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: 11 February 2014 16:29 ..[snip].. > > static void da9052_onkey_query(struct da9052_onkey *onkey) { > > - int key_stat; > > + int ret, key_stat; > > > > - key_stat =

Re: [PATCH] ASoC: smdk_wm8994: Fix typo "wm8894"

2014-02-11 Thread Mark Brown
On Mon, Feb 10, 2014 at 10:25:31PM +0100, Paul Bolle wrote: > Signed-off-by: Paul Bolle Applied, thanks. signature.asc Description: Digital signature

Re: [PATCHSET cgroup/for-3.15] cgroup: convert to kernfs

2014-02-11 Thread Tejun Heo
On Tue, Feb 11, 2014 at 05:24:09PM +0800, Li Zefan wrote: > Acked-by: Li Zefan Updated the patches so that they apply on top of the idr locking fix and applied the series to cgroup/for-3.15. Thanks! -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH driver-core-next] kernfs: fix hash calculation in kernfs_rename_ns()

2014-02-11 Thread Greg Kroah-Hartman
On Mon, Feb 10, 2014 at 07:39:56PM -0500, Tejun Heo wrote: > Hello, Greg. > > On Mon, Feb 10, 2014 at 04:01:41PM -0800, Greg Kroah-Hartman wrote: > > Also, can you look into the merge of 3.14-rc2 into the driver-core-next > > branch? There are some conflicts in the kernfs code due to the lockdep

[PATCH v2 02/13] cgroup: introduce cgroup_tree_mutex

2014-02-11 Thread Tejun Heo
>From ace2bee8135a3dc725958b8d08c55ee9df813d39 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 11 Feb 2014 11:52:47 -0500 Currently cgroup uses combination of inode->i_mutex'es and cgroup_mutex for synchronization. With the scheduled kernfs conversion, i_mutex'es will be removed.

[PATCH v2 11/13] cgroup: misc preps for kernfs conversion

2014-02-11 Thread Tejun Heo
>From 59f5296b51b86718dd6eecf0a268b2f1a1ec0a2d Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Tue, 11 Feb 2014 11:52:49 -0500 * Un-inline seq_css(). After kernfs conversion, the function will need to dereference internal data structures. * Add cgroup_get/put_root() and replace direct

[PATCH 1/3] driver core & of: Mark of_nodes of added device as populated

2014-02-11 Thread Pawel Moll
In "Device Tree powered" systems, platform devices are usually massively populated with of_platform_populate() call, executed at some level of initcalls, either by generic architecture or by platform-specific code. There are situations though where certain devices must be created (and bound with

Re: [PATCH -mm v15 00/13] kmemcg shrinkers

2014-02-11 Thread Michal Hocko
On Tue 11-02-14 19:15:26, Vladimir Davydov wrote: > Hi Michal, Johannes, David, > > Could you please take a look at this if you have time? Without your > review, it'll never get committed. Yes, it is on my todo list. I could barely catch up with discussions on the previous versions and felt that

[PATCH 3/3] mfd: vexpress: Define the device as MFD cells

2014-02-11 Thread Pawel Moll
This patch - finally, after over 6 months! :-( - addresses Samuel's request to split the vexpress-sysreg driver into smaller portions and define the device in a form of MFD cells: * LEDs code has been completely removed and replaced with "gpio-leds" nodes in the tree (referencing dedicated

[PATCH 2/3] mfd: vexpress: Convert custom func API to regmap

2014-02-11 Thread Pawel Moll
Components of the Versatile Express platform (configuration microcontrollers on motherboard and daughterboards in particular) talk to each other over a custom configuration bus. They provide miscellaneous functions (from clock generator control to energy sensors) which are represented as platform

[PATCH 0/3] Versatile Express sysregs rework

2014-02-11 Thread Pawel Moll
It's over 6 month since I promised Samuel to rework the not-really-MFD driver for Versatile Express sysregs. It's also a while since I sent the RFC for the series, but finally - it is here! As suggested by Arnd back then, the VE configuration infrastructure is now exposing standard regmap

Re: [PATCH 4/8] ARM: mvebu: make use of of_find_matching_node_and_match

2014-02-11 Thread Jason Cooper
On Tue, Feb 11, 2014 at 10:24:02AM -0600, Josh Cartwright wrote: > Instead of the of_find_matching_node()/of_match_node() pair, which requires > two > iterations through the match table, make use of > of_find_matching_node_and_match(), > which only iterates through the table once. > > While

Re: [PATCH v3] ieee80211: Print human-readable disassoc/deauth reason codes

2014-02-11 Thread Antonio Quartulli
On 11/02/14 17:37, Calvin Owens wrote: > Create a function to return a descriptive string for each reason code, > and print that in addition to the numeric value in the kernel log. These > codes are easily found on popular search engines, but one is generally > not able to access the internet when

Re: [PATCH] of: Turn of_match_node into a static inline when CONFIG_OF isn't set

2014-02-11 Thread Josh Cartwright
On Tue, Feb 11, 2014 at 03:55:35PM +0100, Laurent Pinchart wrote: > Hi Josh, > > On Tuesday 11 February 2014 08:41:08 Josh Cartwright wrote: > > On Tue, Feb 11, 2014 at 01:36:51PM +0100, Laurent Pinchart wrote: > > > when CONFIG_OF is disabled of_match_node is defined as a macro that > > >

[PATCH] mm: remove read_cache_page_async

2014-02-11 Thread Sasha Levin
This patch removes read_cache_page_async() which wasn't really needed anywhere and simplifies the code around it a bit. read_cache_page_async() is useful when we want to read a page into the cache without waiting for it to complete. This happens when the appropriate callback 'filler' doesn't

[PATCH] n_tty: Fix poll() when TIME_CHAR and MIN_CHAR == 0

2014-02-11 Thread Peter Hurley
On 02/11/2014 07:14 AM, Arnaldo Carvalho de Melo wrote: > Em Mon, Feb 10, 2014 at 09:15:42PM -0500, Peter Hurley escreveu: >>> Bisected it down to: > >>> eb3e4668bd9e0bbda592e830e889f137e44ec9e4 is the first bad commit >>> Author: Peter Hurley >>> Date: Mon Dec 2 14:24:42 2013 -0500 > >>>

Re: [PATCH v2 6/8] perf/x86/uncore: add SNB/IVB/HSW client uncore memory controller support

2014-02-11 Thread Peter Zijlstra
On Tue, Feb 11, 2014 at 05:25:39PM +0100, Stephane Eranian wrote: > On Tue, Feb 11, 2014 at 5:19 PM, Peter Zijlstra wrote: > > On Tue, Feb 11, 2014 at 04:20:12PM +0100, Stephane Eranian wrote: > >> This patch adds a new uncore PMU for Intel SNB/IVB/HSW client > > > > > >> @@ -3501,6 +3844,28 @@

Re: [PATCH v2] clk: respect the clock dependencies in of_clk_init

2014-02-11 Thread Thomas Petazzoni
Hello, On Mon, 10 Feb 2014 18:42:59 +0100, Gregory CLEMENT wrote: > Until now the clock providers were initialized in the order found in > the device tree. This led to have the dependencies between the clocks > not respected: children clocks could be initialized before their > parent clocks. > >

Re: [tip:irq/core] genirq: Add devm_request_any_context_irq()

2014-02-11 Thread Dmitry Torokhov
On Tue, Feb 11, 2014 at 03:32:44PM +0100, Thomas Gleixner wrote: > On Mon, 10 Feb 2014, Stephen Boyd wrote: > > On 02/09, tip-bot for Stephen Boyd wrote: > > > Commit-ID: 0668d3065128d39449c097e62dbdb5707820137d > > > Gitweb: > > >

Re: [PATCH V4] max8925_power: Use "IS_ENABLED(CONFIG_OF)" for DT code.

2014-02-11 Thread Manish Badarkhe
Hi Dmitry, On Tue, Jan 28, 2014 at 10:24 PM, Manish Badarkhe wrote: > Instead of "#ifdef CONFIG_OF" use "IS_ENABLED(CONFIG_OF)" > option for DT code to avoid if-deffery in code. > > Signed-off-by: Manish Badarkhe > --- > Changes since V1: > 1.Updated code to use "IS_ENABLED" during retrieval >

Re: [PATCH 01/51] CPU hotplug: Provide lockless versions of callback registration functions

2014-02-11 Thread Toshi Kani
On Tue, 2014-02-11 at 09:27 +, Srivatsa S. Bhat wrote: > On 02/11/2014 06:56 AM, Toshi Kani wrote: > > On Thu, 2014-02-06 at 03:34 +0530, Srivatsa S. Bhat wrote: > > : > [...] > >> > >> Also, since cpu_maps_update_begin/done() is like a super-set of > >> get/put_online_cpus(), the former

Re: [patch] w1: small type cleanup in sysfs

2014-02-11 Thread David Fries
Dan, I have some other changes in work, how automated is your checkers? How much work is it for me to give a github repository and branch and find out if I introduced any problems before submitting them? I didn't get how you could get a less than one after a check for less than one from the

Re: [tip:perf/core] x86/nmi: Push duration printk() to irq context

2014-02-11 Thread Dave Hansen
On 02/11/2014 07:01 AM, Peter Zijlstra wrote: > - irq_work_queue(_duration_work); > + if (!irq_work_queue(_duration_work)) { > + early_printk("perf interrupt took too long (%lld > %lld), > lowering " > + "kernel.perf_event_max_sample_rate to %d\n", > +

Re: [PATCH 4/8] ARM: mvebu: make use of of_find_matching_node_and_match

2014-02-11 Thread Thomas Petazzoni
Dear Josh Cartwright, On Tue, 11 Feb 2014 10:24:02 -0600, Josh Cartwright wrote: > Instead of the of_find_matching_node()/of_match_node() pair, which requires > two > iterations through the match table, make use of > of_find_matching_node_and_match(), > which only iterates through the table

Re: [PATCH 3/3] 0001-blk-mq-don-t-assume-rq-errors-is-set-when-returning-.patch 0002-blk-mq-pair-blk_mq_start_request-blk_mq_requeue_requ.patch series

2014-02-11 Thread Jens Axboe
On Tue, Feb 11 2014, Christoph Hellwig wrote: > On Tue, Feb 11, 2014 at 09:31:04AM -0700, Jens Axboe wrote: > > On Tue, Feb 11 2014, Christoph Hellwig wrote: > > > > > > > looks like the last one got botched? > > That was quilt sending along the series file which I created by doing > > ls >

Re: [PATCH 2/8] bus: mvebu-mbus: make use of of_find_matching_node_and_match

2014-02-11 Thread Jason Cooper
On Tue, Feb 11, 2014 at 10:24:00AM -0600, Josh Cartwright wrote: > Instead of the of_find_matching_node()/of_match_node() pair, which requires > two > iterations through the match table, make use of > of_find_matching_node_and_match(), > which only iterates through the table once. > >

Re: [PATCH 5/9] rcu: Use MAX_NICE to replace hard coding of 19.

2014-02-11 Thread Peter Zijlstra
On Tue, Feb 11, 2014 at 08:13:13AM -0800, Paul E. McKenney wrote: > On Tue, Feb 11, 2014 at 07:37:32AM -0800, Josh Triplett wrote: > > On Tue, Feb 11, 2014 at 03:34:49PM +0800, Dongsheng Yang wrote: > > > Signed-off-by: Dongsheng Yang > > > cc: Josh Triplett > > > cc: "Paul E. McKenney" > > >

Re: [RFC PATCH 3/3] idle: store the idle state index in the struct rq

2014-02-11 Thread Peter Zijlstra
On Mon, Feb 03, 2014 at 08:17:47AM -0800, Arjan van de Ven wrote: > On 2/3/2014 6:56 AM, Peter Zijlstra wrote: > if there's a simple api like > > sched_cpu_cache_wiped(int llc) > > that would be very nice for this; the menuidle side knows this > for some cases and thus can just call it. This

[PATCH 3/4] blk-mq: handle dma_drain_size

2014-02-11 Thread Christoph Hellwig
Make blk-mq handle the dma_drain_size field the same way as the old request path. Signed-off-by: Christoph Hellwig --- block/blk-mq.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/block/blk-mq.c b/block/blk-mq.c index 40fc4dd..35800e1 100644 --- a/block/blk-mq.c +++

[PATCH 7/8] C6X: make use of of_find_matching_node_and_match

2014-02-11 Thread Josh Cartwright
Instead of the of_find_matching_node()/of_match_node() pair, which requires two iterations through the match table, make use of of_find_matching_node_and_match(), which only iterates through the table once. Signed-off-by: Josh Cartwright --- arch/c6x/platforms/plldata.c | 7 +++ 1 file

Re: [PATCH] [TRIVIAL] Kconfig: Remove useless "default N" lines

2014-02-11 Thread Paul Bolle
On Tue, 2014-02-11 at 08:03 -0800, Randy Dunlap wrote: > Yes, I found it in Documentation/SubmittingPatches. > I find that unfortunate. Dan Carpenter and I already suggested updates to the text about getting permission to add a Reported-by tag in https://lkml.org/lkml/2014/2/11/252 and in Dan's

Re: [PATCH cgroup/for-3.14-fixes] cgroup: protect modifications to cgroup_idr with cgroup_mutex

2014-02-11 Thread Michal Hocko
On Tue 11-02-14 10:41:05, Tejun Heo wrote: [...] > @@ -4254,12 +4256,12 @@ static long cgroup_create(struct cgroup *parent, > struct dentry *dentry, > > return 0; > > -err_unlock: > - mutex_unlock(_mutex); > - /* Release the reference count that we took on the superblock */ > -

Re: [PATCH v5 3/3] audit: Audit proc//cmdline aka proctitle

2014-02-11 Thread Richard Guy Briggs
On 14/02/06, William Roberts wrote: > During an audit event, cache and print the value of the process's > proctitle value (proc//cmdline). This is useful in situations > where processes are started via fork'd virtual machines where the > comm field is incorrect. Often times, setting the comm field

<    3   4   5   6   7   8   9   10   11   12   >