Re: [PATCH] nbd: Zero from and len fields in NBD_CMD_DISCONNECT.

2014-05-25 Thread Hani Benhabiles
On Sun, May 18, 2014 at 10:11:13AM +0100, Hani Benhabiles wrote: On Fri, May 16, 2014 at 10:56:33PM -0400, Paul Clements wrote: Agreed. But better yet, the request structure should just be zeroed when it's allocated. It is already initialized in __nbd_ioctl() with the blk_rq_init()

[PATCH] ideapad_laptop: Introduce the use of the managed version of kzalloc

2014-05-25 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. The label sysfs_failed is removed as it is no longer required. Also, linux/device.h is added to make sure the devm_*() routine declarations

Re: [PATCH v2 01/11] sched: fix imbalance flag reset

2014-05-25 Thread Preeti U Murthy
Hi Vincent, On 05/23/2014 09:22 PM, Vincent Guittot wrote: The imbalance flag can stay set whereas there is no imbalance. Let assume that we have 3 tasks that run on a dual cores /dual cluster system. We will have some idle load balance which are triggered during tick. Unfortunately, the

[PATCH] video: Introduce the use of the managed version of kzalloc

2014-05-25 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also, linux/device.h is added to make sure the devm_*() routine declarations are unambiguously available. The function mddi_dummy_remove is

Re: [PATCH] Fixed zero copy GSO without orphaning the fragments

2014-05-25 Thread Igor Royzis
If true, I'd like to see some performance numbers please. The numbers have been obtained by running iperf between 2 QEMU Win2012 VMs, 4 vCPU/ 4GB RAM each. iperf parameters: -w 256K -l 256K -t 300 Original kernel 3.15.0-rc5: 34.4 Gbytes transferred, 984 Mbits/sec bandwidth. Kernel

[PATCH v2] sbus: Introduce the use of the managed version of kzalloc

2014-05-25 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. The header file is added to make the devm function explicitly available. The following Coccinelle semantic patch was used for making a part

Re: [PATCH] Fixed zero copy GSO without orphaning the fragments

2014-05-25 Thread Igor Royzis
On Tue, May 20, 2014 at 5:28 PM, Eric Dumazet eric.duma...@gmail.com wrote: On Tue, 2014-05-20 at 14:24 +0300, Igor Royzis wrote: Fix accessing GSO fragments memory (and a possible corruption therefore) after reporting completion in a zero copy callback. The previous fix in the commit

Re: [PATCH v2 0/7] drm/tegra: Convert to master/component framework

2014-05-25 Thread Thierry Reding
On Fri, May 23, 2014 at 08:03:00PM +0900, Greg Kroah-Hartman wrote: On Thu, May 22, 2014 at 11:56:23AM +0200, Thierry Reding wrote: On Tue, May 13, 2014 at 05:30:43PM +0200, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com Hi, This series converts the Tegra DRM

Re: [PATCH 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-05-25 Thread Corentin LABBE
Le 24/05/2014 14:00, Marek Vasut a écrit : On Thursday, May 22, 2014 at 05:09:56 PM, LABBE Corentin wrote: Do I have to repeat myself ? :) No, sorry for the commit message, I begin to use git Generally I agree all your remarks with some comments below. Signed-off-by: LABBE Corentin

Re: [PATCH RESEND] drm/ttm: remove declaration of ttm_tt_cache_flush

2014-05-25 Thread David Herrmann
Hi On Fri, May 23, 2014 at 5:58 AM, Alexandre Courbot acour...@nvidia.com wrote: ttm_tt_cache_flush's implementation was removed in 2009 by commit c9c97b8c, but its declaration has been hiding in ttm_bo_driver.h since then. It has been surviving in the dark for too long now ; give it the

Re: [PATCH] drm/ttm: fix kerneldoc of ttm_bo_create

2014-05-25 Thread David Herrmann
Hi On Fri, May 23, 2014 at 5:58 AM, Alexandre Courbot acour...@nvidia.com wrote: The kerneldoc header of ttm_bo_create() was referring to another (nonexisting) function and had a few obsolete or incorrect arguments. Signed-off-by: Alexandre Courbot acour...@nvidia.com Reviewed-by: David

Re: [PATCH linux-next] DRM: Armada: update dma_buf_export use

2014-05-25 Thread David Herrmann
Hi On Sat, May 24, 2014 at 11:05 PM, Vincent Stehlé vincent.ste...@laposte.net wrote: The dma_buf_export function was updated in commit 4bcec44ffaf9 'dma-buf: use reservation objects' to take a reservation object parameter; update Armada export method accordingly. This fixes the following

Extend irq_set_affinity_notifier() to use a call chain

2014-05-25 Thread Amir Vadai
Hi, I'm working for Mellanox on mlx4_en NIC driver. We need to be able to be notified on irq affinity changes. This is because, during non-stop full bandwidth traffic, napi will poll constantly and no interrupt will be fired. Because of that, even if the user changes the irq affinity, polling

Re: [PATCH] drm/gem: remove obsolete BUG_ON

2014-05-25 Thread David Herrmann
Hi On Wed, May 21, 2014 at 3:17 PM, Daniel Vetter dan...@ffwll.ch wrote: On Wed, May 21, 2014 at 02:16:26PM +0200, David Herrmann wrote: The shmem subsystem supports relocating pages on swap-in in case it was loaded into the wrong zone. This was implemented 2 years ago in: commit

[PATCH] msi3103: Use time_before_eq()

2014-05-25 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before_eq() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de --- drivers/staging/media/msi3101/sdr-msi3101.c | 28 +-- 1 file changed,

Re: Radeon wakeup regression in 3.15-rc6

2014-05-25 Thread Woody Suwalski
Malte Schröder wrote: Hi, I just tried 3.15-rc6. I encountered a pretty nasty problem, which is after suspending to RAM the system doesn't wake up properly. v3.14 is fine. On wakeup all seems fine, i.e. hd starts to spin an USB-stuff wakes up. But all I get from the graphics card is a white

[PATCH] rtl8188eu: use time_before/time_after and change type of ips_deny_time

2014-05-25 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before/_after() instead of plain, error-prone math. To suppress compiler warnings the type of ips_deny_time was changed. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de ---

Re: Extend irq_set_affinity_notifier() to use a call chain

2014-05-25 Thread Amir Vadai
On 5/25/2014 3:15 PM, Amir Vadai wrote: Hi, I'm working for Mellanox on mlx4_en NIC driver. We need to be able to be notified on irq affinity changes. This is because, during non-stop full bandwidth traffic, napi will poll constantly and no interrupt will be fired. Because of that, even if the

[PATCH] gdm72xx: use time_before()

2014-05-25 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de --- drivers/staging/gdm72xx/gdm_usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH 1/3] dt: Add DT bindings documentation for SUNXI Security System

2014-05-25 Thread Maxime Ripard
On Sat, May 24, 2014 at 09:59:30PM +0200, Marek Vasut wrote: On Saturday, May 24, 2014 at 09:51:59 PM, Tomasz Figa wrote: [...] Why sun7i-a20 ? Is the crypto unit different in other sunxi chips ? Can that not be described by DT props ? A widely used convention is to define

Re: [PATCH 1/3] dt: Add DT bindings documentation for SUNXI Security System

2014-05-25 Thread Maxime Ripard
On Sat, May 24, 2014 at 09:43:42PM +0200, Marek Vasut wrote: On Saturday, May 24, 2014 at 09:20:03 PM, Tomasz Figa wrote: Hi Marek, On 24.05.2014 13:21, Marek Vasut wrote: On Thursday, May 22, 2014 at 05:09:54 PM, LABBE Corentin wrote: Missing commit message. Please fix this and

Re: [PATCH v2 05/11] ARM: topology: use new cpu_power interface

2014-05-25 Thread Preeti U Murthy
Hi Vincent, Why do we have two interfaces arch_scale_freq_power() and arch_scale_cpu_power()? Does it make sense to consolidate them now ? Regards Preeti U Murthy On 05/23/2014 09:22 PM, Vincent Guittot wrote: Use the new arch_scale_cpu_power in order to reflect the original capacity of a

[PATCH] ipath: use time_before()/_after()

2014-05-25 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before/_after() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de --- drivers/infiniband/hw/ipath/ipath_intr.c |4 ++--

Re: [PATCH] coccinelle: Check for missing NULL terminators in of_device_id tables

2014-05-25 Thread Rob Herring
On Fri, May 23, 2014 at 6:41 PM, Stephen Boyd sb...@codeaurora.org wrote: Failure to terminate an of_device_id table can lead to confusing failures depending on where the compiler places the array. Add a check to make sure these tables are terminated. Thanks to Mitchel Humpherys for coming up

Re: [PATCH] ipath: use time_before()/_after()

2014-05-25 Thread Dongsheng Yang
On Sun, May 25, 2014 at 9:26 PM, Manuel Schölling manuel.schoell...@gmx.de wrote: To be future-proof and for better readability the time comparisons are modified to use time_before/_after() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de ---

[PATCH] sched: remove redundant assignment to rt_rq in update_curr_rt(...)

2014-05-25 Thread Giedrius Rekasius
Variable rt_rq is used only in block for_each_sched_rt_entity so the value assigned to it at the beginning of the update_curr_rt(...) gets overwritten without ever being read. Remove redundant assignment and move variable declaration to the block in which it is being used. Signed-off-by: Giedrius

[PATCH 4/5] nohz: Move full nohz kick to its own IPI

2014-05-25 Thread Frederic Weisbecker
Now that the irq work subsystem can queue remote callbacks, it's a perfect fit to safely queue IPIs when interrupts are disabled without worrying about concurrent callers. Lets use it for the full dynticks kick to notify a CPU that it's exiting single task mode. This unbloats a bit the scheduler

[PATCH 0/5] nohz: Move nohz kick out of scheduler IPI, v6

2014-05-25 Thread Frederic Weisbecker
This version implements separate lists for tick and IPI works. As such it simplifies the IPI raise decision. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/nohz-irq-work-v4 Thanks, Frederic --- Frederic Weisbecker (5): irq_work: Split

[PATCH 3/5] irq_work: Implement remote queueing

2014-05-25 Thread Frederic Weisbecker
irq work currently only supports local callbacks. However its code is mostly ready to run remote callbacks and we have some potential user. The full nohz subsystem currently open codes its own remote irq work on top of the scheduler ipi when it wants a CPU to reevaluate its next tick. However

[PATCH 2/5] irq_work: Shorten a bit irq_work_needs_cpu()

2014-05-25 Thread Frederic Weisbecker
Just a small cleanup. Cc: Andrew Morton a...@linux-foundation.org Cc: Ingo Molnar mi...@kernel.org Cc: Kevin Hilman khil...@linaro.org Cc: Paul E. McKenney paul...@linux.vnet.ibm.com Cc: Peter Zijlstra pet...@infradead.org Cc: Thomas Gleixner t...@linutronix.de Cc: Viresh Kumar

[PATCH 1/5] irq_work: Split raised and lazy lists

2014-05-25 Thread Frederic Weisbecker
An irq work can be handled from two places: from the tick if the work carries the lazy flag and the tick is periodic, or from a self IPI. We merge all these works in a single list and we use some per cpu latch to avoid raising a self-IPI when one is already pending. Now we could do away with

[PATCH 5/5] nohz: Use IPI implicit full barrier against rq-nr_running r/w

2014-05-25 Thread Frederic Weisbecker
A full dynticks CPU is allowed to stop its tick when a single task runs. Meanwhile when a new task gets enqueued, the CPU must be notified so that it can restart its tick to maintain local fairness and other accounting details. This notification is performed by way of an IPI. Then when the target

[PATCH RFC] sysfs/cpu: add attributes for count of cpus and last cpu index

2014-05-25 Thread Konstantin Khlebnikov
Surprisingly there is no straight way to get number of processors. Sysfs attributes /sys/devices/system/cpu/online, present and possible shows cpus bitmap as comma-separated list of numbers and ranges. This format is human-freindly but it's hard to parse and unusable for scripts. This patchs adds

[PATCH net-next V6 0/2] cpumask,net: Affinity hint helper function

2014-05-25 Thread Amir Vadai
Hi, This patchset will set affinity hint to influence IRQs to be allocated on the same NUMA node as the one where the card resides. As discussed in http://www.spinics.net/lists/netdev/msg271497.html If the number of IRQs allocated is greater than the number of local NUMA cores, all local cores

[PATCH net-next V6 1/2] cpumask: Utility function to set n'th cpu - local cpu first

2014-05-25 Thread Amir Vadai
This function sets the n'th cpu - local cpu's first. For example: in a 16 cores server with even cpu's local, will get the following values: cpumask_set_cpu_local_first(0, numa, cpumask) = cpu 0 is set cpumask_set_cpu_local_first(1, numa, cpumask) = cpu 2 is set ... cpumask_set_cpu_local_first(7,

[PATCH net-next V6 2/2] net/mlx4_en: Use affinity hint

2014-05-25 Thread Amir Vadai
From: Yuval Atias yuv...@mellanox.com The “affinity hint” mechanism is used by the user space daemon, irqbalancer, to indicate a preferred CPU mask for irqs. Irqbalancer can use this hint to balance the irqs between the cpus indicated by the mask. We wish the HCA to preferentially map the IRQs

Re: [PATCH 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-05-25 Thread Marek Vasut
On Sunday, May 25, 2014 at 01:58:39 PM, Corentin LABBE wrote: [...] This is one IP block and it provides 5 algorithms. Put it under one config option please. I want to let the user choose what it want to be used. Someone could want only to accelerate md5 and to not use the PRNG. Lots of

Re: [PATCH] i8k: increase fan limit to 3

2014-05-25 Thread Flavio Leitner
On Fri, May 23, 2014 at 11:33:11AM -0700, Guenter Roeck wrote: On 05/23/2014 10:09 AM, Flavio Leitner wrote: On Thu, May 22, 2014 at 11:00:23AM -0700, Guenter Roeck wrote: On Thu, May 22, 2014 at 12:54:58PM -0300, Flavio Leitner wrote: On Thu, May 22, 2014 at 08:10:48AM -0700, Guenter Roeck

[PATCH] Staging: rtl8192u: r819xU_firmware_img.c Fixed checkpatch.pl ERRORs

2014-05-25 Thread Chaitanya Hazarey
Fixed a lot of errors of the type ERROR: space required after that ',' (ctx:VxV) Added tabs at the beginning of line. Signed-off-by: Chaitanya Hazarey c...@24.io --- drivers/staging/rtl8192u/r819xU_firmware_img.c | 1042 1 file changed, 521 insertions(+), 521

Re: [PATCH] gpio: gpiolib: set gpiochip_remove retval to void

2014-05-25 Thread abdoulaye berthe
Well, ignoring the return value as it is done in gpio-bt8xx makes the compiler complain and display a warning message. The problem with false warning is that it might distract you. I think that the patch will makes things consistent once completed Thanks a lot for the review. On Sun, May 25, 2014

CHARITY AID FOUNDATION

2014-05-25 Thread HAIDER Christoph
CHARITY AID FOUNDATION, You have been selected to receive this donation award sum of One Million UK Pound as charity donations/aid from the Qatar Foundation, held on 17th of May 2014, in Doha, Qatar. For more details on how to receive your Donation,please contact the President of Qatar

[PATCH] kconfig: plug false-positive warning in get_prompt_str() seen with gcc-4.9

2014-05-25 Thread Konstantin Khlebnikov
scripts/kconfig/menu.c: In function ‘get_symbol_str’: scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized] jump-offset = strlen(r-s); ^ scripts/kconfig/menu.c:551:19: note: ‘jump’ was declared here struct

Re: [PATCH v3 0/2] irqchip: Broadcom Set Top Box Level-2 interrupt controller

2014-05-25 Thread Jason Cooper
On Fri, May 23, 2014 at 05:40:52PM -0700, Florian Fainelli wrote: Hi Thomas, Jason, This patch set adds an irqchip driver for the Broadcom Set Top Box Level-2 interrupt controller hardware, as well as a corresponding Device Tree binding document. Thanks! Florian Fainelli (2):

Re: [PATCH] ipath: use time_before()/_after()

2014-05-25 Thread Manuel Schoelling
On So, 2014-05-25 at 22:17 +0800, Dongsheng Yang wrote: On Sun, May 25, 2014 at 9:26 PM, Manuel Schölling manuel.schoell...@gmx.de wrote: To be future-proof and for better readability the time comparisons are modified to use time_before/_after() instead of plain, error-prone math.

[PATCH] wan: time_before()

2014-05-25 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de --- drivers/net/wan/farsync.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2 2/2] usb: gadget: Add xilinx axi usb2 device support

2014-05-25 Thread sundeep subbaraya
Hi Felipe, Please take a look at below about how this IP works: IN: req.buf --- DMA (transfers from ddr to IP buffer, raise DMA done interrupt and set Buffer ready to transfer data to Host)Host PC buffer sent interrupt OUT: Host PC---buffer ready interrupt---DMA (transfer from

Re: [PATCH] wan: time_before()

2014-05-25 Thread Joe Perches
On Sun, 2014-05-25 at 19:32 +0200, Manuel Schölling wrote: To be future-proof and for better readability the time comparisons are modified to use time_before() instead of plain, error-prone math. Sensible change, but it seems these should be udelay(some_constant) instead of a a rather variable

[PATCH] mwifiex: use time_after()

2014-05-25 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_after() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de --- drivers/net/wireless/mwifiex/main.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] Staging: Silicom: bpctl_mod.c bypass.c: Fixed a lot of checkpatch.pl warnings

2014-05-25 Thread Greg KH
On Fri, May 23, 2014 at 10:25:28PM -0700, Chaitanya Hazarey wrote: Added a blank line after declarations in many places to fix the following warning issued by checkpatch.pl: WARNING: Missing a blank line after declarations Thanks Greg K-H and Dan for the patience. Hope it works this time,

[PATCH] dgnc: Use time_after_eq()

2014-05-25 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_after_eq() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de --- drivers/staging/dgnc/dgnc_neo.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [PATCH 3/8 V2] drivers/staging: Remove useless return variables

2014-05-25 Thread Greg Kroah-Hartman
On Sat, May 24, 2014 at 01:06:48PM +0200, Peter Senna Tschudin wrote: This patch remove variables that are initialized with a constant, are never updated, and are only used as parameter of return. Return the constant instead of using a variable. Verified by compilation only. The

Re: [PATCH] nbd: Zero from and len fields in NBD_CMD_DISCONNECT.

2014-05-25 Thread Paul Clements
On Sun, May 25, 2014 at 6:18 AM, Hani Benhabiles kroo...@gmail.com wrote: On Sun, May 18, 2014 at 10:11:13AM +0100, Hani Benhabiles wrote: On Fri, May 16, 2014 at 10:56:33PM -0400, Paul Clements wrote: Agreed. But better yet, the request structure should just be zeroed when it's allocated.

[PATCH] sgi-gru: use time_before()

2014-05-25 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de --- drivers/misc/sgi-gru/grumain.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

Re: [PATCH] staging: gdm72xx: use time_before()

2014-05-25 Thread Greg KH
On Sun, May 25, 2014 at 03:08:59PM +0200, Manuel Schölling wrote: To be future-proof and for better readability the time comparisons are modified to use time_before() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de ---

[PATCH 7/6] ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)

2014-05-25 Thread Manfred Spraul
The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT) always (since 0.99.10) reported a thread as sleeping on all semaphores that are listed in the semop() call. The documented behavior (both in the Linux man page and in the Single Unix Specification) is that a task should be

Re: [PATCH] staging: gdm72xx: use time_before()

2014-05-25 Thread Manuel Schoelling
On So, 2014-05-25 at 11:14 -0700, Greg KH wrote: On Sun, May 25, 2014 at 03:08:59PM +0200, Manuel Schölling wrote: To be future-proof and for better readability the time comparisons are modified to use time_before() instead of plain, error-prone math. Signed-off-by: Manuel Schölling

Re: [PATCH] Staging: Silicom: bpctl_mod.c bypass.c: Fixed a lot of checkpatch.pl warnings

2014-05-25 Thread Chaitanya Hazarey
Sorry Greg, this is taking so long, will make this against your tree and send it out. Thanks for looking into this, Chaitanya On Sun, May 25, 2014 at 11:03 AM, Greg KH gre...@linuxfoundation.org wrote: On Fri, May 23, 2014 at 10:25:28PM -0700, Chaitanya Hazarey wrote: Added a blank line after

Re: [PATCH] staging: gdm72xx: use time_before()

2014-05-25 Thread Greg KH
On Sun, May 25, 2014 at 08:24:33PM +0200, Manuel Schoelling wrote: On So, 2014-05-25 at 11:14 -0700, Greg KH wrote: On Sun, May 25, 2014 at 03:08:59PM +0200, Manuel Schölling wrote: To be future-proof and for better readability the time comparisons are modified to use time_before()

Re: [PATCH 7/6] ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)

2014-05-25 Thread Joe Perches
On Sun, 2014-05-25 at 20:21 +0200, Manfred Spraul wrote: The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT) always (since 0.99.10) reported a thread as sleeping on all semaphores that are listed in the semop() call. The documented behavior (both in the Linux man page and

Re: [PATCH] staging: gdm72xx: use time_before()

2014-05-25 Thread Manuel Schoelling
On So, 2014-05-25 at 11:33 -0700, Greg KH wrote: On Sun, May 25, 2014 at 08:24:33PM +0200, Manuel Schoelling wrote: On So, 2014-05-25 at 11:14 -0700, Greg KH wrote: On Sun, May 25, 2014 at 03:08:59PM +0200, Manuel Schölling wrote: To be future-proof and for better readability the time

[PATCH v2] ehea: Introduce the use of the managed version of kzalloc

2014-05-25 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also, linux/device.h is added to make sure the devm_*() routine declarations are unambiguously available. The following Coccinelle semantic

[PATCH] Staging: Silicom: bpctl_mod.c bypass.c: Fixed a lot of checkpatch.pl warnings

2014-05-25 Thread Chaitanya Hazarey
Added a blank line after declarations in many places to fix the following warning issued by checkpatch.pl: WARNING: Missing a blank line after declarations Lets see if this works now, this patch is prepared against Greg's staging tree. Signed-off-by: Chaitanya Hazarey c...@24.io ---

[PATCH] arm: Set hardirq tracing to on when idling

2014-05-25 Thread minyard
From: Corey Minyard cminy...@mvista.com The CPU will go to idle with interrupts off, but the interrupts will wake up the idle. This was causing very long irqsoff trace values because, basically, the whole idle time was traces with irqs off, even though they weren't really off. Rework the idle

[PATCH] vgaarb: We can own non-decoded resources

2014-05-25 Thread Alex Williamson
The VGA arbiter does not allow devices to own resources that it doesn't decode. However, it does allow devices to lock resources that it doesn't decode. This gets us into trouble because locking the resource goes through the same bridge routing updates regardless of whether we decode the

Re: [PATCH 7/6] ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)

2014-05-25 Thread Manfred Spraul
Hi Joe, On 05/25/2014 08:39 PM, Joe Perches wrote: On Sun, 2014-05-25 at 20:21 +0200, Manfred Spraul wrote: +*/ + printk_once(KERN_INFO semctl(GETNCNT/GETZCNT) is since 3.16 Single \ + Unix Specification compliant.\n \ +

Re: [PATCH 19/22] ARM: sunxi: Add earlyprintk support using R_UART (sun6i/sun8i)

2014-05-25 Thread Maxime Ripard
Hi, On Fri, May 23, 2014 at 03:51:22PM +0800, Chen-Yu Tsai wrote: sun6i/sun8i have a UART in the RTC block group, which can be used as an early console. This is most useful on sun8i as UART0 is muxed with MMC0, which is not available if we boot from MMC. Signed-off-by: Chen-Yu Tsai

Re: [PATCH 20/22] ARM: sun8i: Add SMP support for the Allwinner A23

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:23PM +0800, Chen-Yu Tsai wrote: The A23 is a dual Cortex-A7. Add the logic to use the IPs used to control the CPU configuration and the CPU power so that we can bring up secondary CPUs at boot. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

Re: [PATCH 13/22] clk: sunxi: Add A23 clocks support

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:16PM +0800, Chen-Yu Tsai wrote: The clock control unit on the A23 is similar to the one found on the A31. The AHB1, APB1, APB2 gates on the A23 are almost identical to the ones on the A31, but some outputs are missing. The main CPU PLL (PLL1) however is like

Re: [PATCH 02/22] clk: sunxi: register clock gates with clkdev

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:05PM +0800, Chen-Yu Tsai wrote: The new important clock protect code requires the clocks be registered with clkdev. This was missing for sunxi_gates type clocks. Signed-off-by: Chen-Yu Tsai w...@csie.org Acked-by: Maxime Ripard maxime.rip...@free-electrons.com

Re: [PATCH 17/22] mfd: sun6i-prcm: Add support for Allwinner A23 PRCM

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:20PM +0800, Chen-Yu Tsai wrote: The Allwinner A23 SoC has a PRCM unit like the previous A31 SoC. The differences are the AR100 clock can no longer be modified, and the APB0 clock has different divisors. This patch adds a compatible with a modified subdevice list

Re: [PATCH 16/22] pinctrl: sunxi: Add A23 R_PIO controller support

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:19PM +0800, Chen-Yu Tsai wrote: The A23 has a R_PIO pin controller, similar to the one found on the A31 SoC. Add support for the pins controlled by the R_PIO controller. Signed-off-by: Chen-Yu Tsai w...@csie.org --- drivers/pinctrl/sunxi/Kconfig

Re: [PATCH 03/22] clk: sunxi: add pll6 to sun6i protected clock list

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:06PM +0800, Chen-Yu Tsai wrote: PLL6 is used by some important but undocumented module, most likely memory related, such as mbus or the actual memory controller. As we do not have a driver for that, add pll6 to the list of protected clocks, so that it won't be

[PATCH 7/6] ipc/sem.c: add a printk_once for semctl(GETNCNT/GETZCNT)

2014-05-25 Thread Manfred Spraul
The actual Linux implementation for semctl(GETNCNT) and semctl(GETZCNT) always (since 0.99.10) reported a thread as sleeping on all semaphores that are listed in the semop() call. The documented behavior (both in the Linux man page and in the Single Unix Specification) is that a task should be

Re: [PATCH 11/22] ARM: sun6i: DT: Add PLL6 multiple outputs

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:14PM +0800, Chen-Yu Tsai wrote: PLL6 on sun6i has multiple outputs, just like the other sunxi platforms. Which outputs? If it's the PLLx2, PLLx4 and PLLx8, like I said, use fixed factor clocks. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and

Re: [PATCH 21/22] ARM: sunxi: Add Allwinner A23 dtsi

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:24PM +0800, Chen-Yu Tsai wrote: The Allwinner A23 is a tablet oriented SoC with 2 Cortex-A7 cores and a Mali-400MP2 GPU. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun8i-a23.dtsi | 524 +++ 1 file

Re: [PATCH 18/22] ARM: sunxi: Introduce Allwinner A23 support

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:21PM +0800, Chen-Yu Tsai wrote: The Allwinner A23 is a dual-core Cortex-A7-based SoC. It re-uses most of the IPs found in previous SoCs, notably the A31. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/mach-sunxi/Kconfig | 8

Re: [PATCH 22/22] ARM: sun8i: dt: Add Ippo-q8h v5 support

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:25PM +0800, Chen-Yu Tsai wrote: The Ippo-q8h is a tablet circiut board commonly found in cheap Android tablets with A23 SoCs. There are at least 2 versions of the board, with different peripherals, such as WiFi chips. This patch add supports for v5 of such

Re: [PATCH 15/22] pinctrl: sunxi: Add A23 PIO controller support

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:18PM +0800, Chen-Yu Tsai wrote: The A23 uses the same pin controller as previous SoC's from Allwinner. Add support for the pins controlled by the main PIO controller. Signed-off-by: Chen-Yu Tsai w...@csie.org ---

Re: [PATCH 09/22] clk: sunxi: Implement A31 PLL6 as a divs clock for 2x output

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:12PM +0800, Chen-Yu Tsai wrote: Some clock modules on the A31 use PLL6x2 as one of their inputs. This patch changes the PLL6 implementation for A31 to a divs clock, i.e. clock with multiple outputs that have different dividers. This behavior is consistent with

Re: [PATCH 10/22] clk: sunxi: Add support for PLL6 pre-divider on AHB1 clock

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:13PM +0800, Chen-Yu Tsai wrote: On the A31 and A23, the PLL6 input to the AHB1 clock has a 2 bit wide pre-divider. This was verified from the A23 user manual and A31/A23 SDK sources. Signed-off-by: Chen-Yu Tsai w...@csie.org No, it should be part of the AHB1

Re: [PATCH 07/22] clk: sunxi: Fix PLL6 calculation on sun6i

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:10PM +0800, Chen-Yu Tsai wrote: The N factor for PLL6 counts from 1 to 32, as specified in the A23 manual, and shown in Allwinner's original code. This patch fixes the N factor in the clock driver, as well as the comment describing it. Signed-off-by: Chen-Yu

Re: [PATCH 06/22] clk: sunxi: Support factor clocks with N multiplier factor starting from 1

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:09PM +0800, Chen-Yu Tsai wrote: The PLLs on newer Allwinner SoC's, such as the A31 and A23, have a N multiplier factor that starts from 1, not 0. This patch adds an option to the clock driver's config data structures to define the difference. Signed-off-by:

Re: [PATCH 04/22] clk: sunxi: move ahb_sdram to protected clock list

2014-05-25 Thread Maxime Ripard
On Fri, May 23, 2014 at 03:51:07PM +0800, Chen-Yu Tsai wrote: With sunxi_gates clocks registered with clkdev, we can use the protected clocks list to enable the ahb_sdram clock, instead of looking for it and adding CLK_IGNORE_UNUSED inline in the clock setup code. Signed-off-by: Chen-Yu

kernel BUG at fs/jbd2/journal.c:1951!

2014-05-25 Thread Meelis Roos
Tried yesterdays git v3.15-rc6-190-g1ee1cea on Sun Fire T2000 (32-thread sparc64) and got reproducibly stuck on boot with ext journal replay like below. Booting Debian 3.14.2-1 replayed the log and mounted FS fine. After that, my test kernel works fine too. SO I can not reproduce it any more

Re: [PATCH] IPC initialize shmmax and shmall from the current value not the default

2014-05-25 Thread Manfred Spraul
Hi Marian, On 05/22/2014 03:01 PM, Marian Marinov wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/05/2014 10:59 PM, Marian Marinov wrote: In my tests it worked exactly as expected. Here is an example: [root@sp2 ~]# sysctl -a|grep shmmax kernel.shmmax = 68719476736 [root@sp2 ~]#

Re: [PATCH] do_mounts: try all available filesystems before panicking

2014-05-25 Thread Linus Torvalds
On Mon, May 5, 2014 at 11:34 AM, Plamen Petrov plamen.s...@gmail.com wrote: The story short: on systems with btrfs root I have a kernel .config with ext4, xfs and btrfs built-in which works fine with 3.13.x, but 3.14.x panics. After inserting some debug printks, I got this info from

[PATCH] KVM: x86: MOV CR/DR emulation should ignore mod

2014-05-25 Thread Nadav Amit
MOV CR/DR instructions ignore the mod field (in the ModR/M byte). As the SDM states: The 2 bits in the mod field are ignored. Accordingly, the second operand of these instructions is always a general purpose register. The current emulator implementation does not do so. If the mod bits do not

Re: [PATCH v10 3/3] ARM: dts: Add initial device tree support for EXYNOS5410

2014-05-25 Thread Kukjin Kim
On 05/24/14 06:15, Tomasz Figa wrote: Hi Tarek, On 23.05.2014 12:35, Tarek Dakhran wrote: Add initial device tree nodes for EXYNOS5410 SoC and SMDK5410 board. Signed-off-by: Tarek Dakhrant.dakh...@samsung.com Signed-off-by: Vyacheslav Tyrtovv.tyr...@samsung.com ---

scaling of msgmni

2014-05-25 Thread Manfred Spraul
Hi Nadia, You added a patch that adds dynamic scaling of MSGMNI (f7bf3df8). The description begins with: On large systems we'd like to allow a larger number of message queues. In some cases up to 32K. However simply setting MSGMNI to a larger value may cause problems for smaller systems.

Re: [PATCH] do_mounts: try all available filesystems before panicking

2014-05-25 Thread Theodore Ts'o
On Sun, May 25, 2014 at 01:04:09PM -0700, Linus Torvalds wrote: The fact is, I think xfs is just buggy. Returning 38 (ENOSYS) is totally insane. No such system call? Somebody is on some bad bad drugs. Not that the mount_block_root() loop and error handling might not be a good thing to

[PATCH] serial: efm32: add module_exit

2014-05-25 Thread Vincent Stehlé
Add missing specification of efm32_uart_exit as module_exit. This fixes the following compilation warning: drivers/tty/serial/efm32-uart.c:840:123: warning: ‘efm32_uart_exit’ defined but not used [-Wunused-function] Signed-off-by: Vincent Stehlé vincent.ste...@laposte.net Cc: Uwe

Re: [PATCH v2 00/18] Cross-architecture definitions of relaxed MMIO accessors

2014-05-25 Thread Benjamin Herrenschmidt
On Thu, 2014-05-22 at 17:47 +0100, Will Deacon wrote: A corollary to this is that mmiowb() probably needs rethinking. As it currently stands, an mmiowb() is required to order MMIO writes to a device from multiple CPUs, even if that device is protected by a lock. However, this isn't often

[PATCH linux-next] imx-drm: imx-tve: remove unused variable

2014-05-25 Thread Vincent Stehlé
Commit f9b0e251dfbf 'drm: make mode_valid callback optional' left variable ret unused; remove it. This fixes the following compilation warning: drivers/staging/imx-drm/imx-tve.c: In function ‘imx_tve_connector_mode_valid’: drivers/staging/imx-drm/imx-tve.c:252:6: warning: unused variable

Re: [PATCH] nbd: Zero from and len fields in NBD_CMD_DISCONNECT.

2014-05-25 Thread Hani Benhabiles
On Sun, May 25, 2014 at 02:11:13PM -0400, Paul Clements wrote: On Sun, May 25, 2014 at 6:18 AM, Hani Benhabiles kroo...@gmail.com wrote: On Sun, May 18, 2014 at 10:11:13AM +0100, Hani Benhabiles wrote: On Fri, May 16, 2014 at 10:56:33PM -0400, Paul Clements wrote: Agreed. But better yet,

Re: [PATCH] serial: efm32: add module_exit

2014-05-25 Thread Uwe Kleine-König
On Sun, May 25, 2014 at 11:13:05PM +0200, Vincent Stehlé wrote: Add missing specification of efm32_uart_exit as module_exit. This fixes the following compilation warning: drivers/tty/serial/efm32-uart.c:840:123: warning: ‘efm32_uart_exit’ defined but not used [-Wunused-function] This

Re: [PATCH linux-next] imx-drm: imx-tve: remove unused variable

2014-05-25 Thread Greg Kroah-Hartman
On Sun, May 25, 2014 at 11:54:14PM +0200, Vincent Stehlé wrote: Commit f9b0e251dfbf 'drm: make mode_valid callback optional' left variable ret unused; remove it. This fixes the following compilation warning: drivers/staging/imx-drm/imx-tve.c: In function ‘imx_tve_connector_mode_valid’:

Re: [PATCH] Staging: Silicom: bpctl_mod.c bypass.c: Fixed a lot of checkpatch.pl warnings

2014-05-25 Thread Greg KH
On Sun, May 25, 2014 at 11:59:08AM -0700, Chaitanya Hazarey wrote: Added a blank line after declarations in many places to fix the following warning issued by checkpatch.pl: WARNING: Missing a blank line after declarations Lets see if this works now, this patch is prepared against Greg's

[PATCHv2] nbd: Zero from and len fields in NBD_CMD_DISCONNECT.

2014-05-25 Thread Hani Benhabiles
Len field is already set to zero, but not the from field which is sent as 0xfe00. This makes no sense, and may cause confuse server implementations doing sanity checks (qemu-nbd is an example.) Signed-off-by: Hani Benhabiles h...@linux.com --- Compared to v1: * Zero the request

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-25 Thread Serge E. Hallyn
Quoting James Bottomley (james.bottom...@hansenpartnership.com): On Sat, 2014-05-24 at 22:25 +, Serge Hallyn wrote: Quoting James Bottomley (james.bottom...@hansenpartnership.com): On Fri, 2014-05-23 at 11:20 +0300, Marian Marinov wrote: On 05/20/2014 05:19 PM, Serge Hallyn wrote:

[PATCH v3] staging: lustre: lnet: klnds: Fix coding style in socklnd.c

2014-05-25 Thread Masaru Nomura
Remove prohibited space between function name and open parenthesis to meet kernel coding style. Also fix indenting due to changes to keep readability. -since v2: None. This is the resend of v2 as v2 failed to apply Signed-off-by: Masaru Nomura massa.nom...@gmail.com ---

<    1   2   3   4   >