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:

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:

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

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 No, it should be part of the AHB1 clock

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 > --- > 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 > --- > .../bindings/pinctrl/allwinner,sunxi-pinctrl.txt |

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 > --- > arch/arm/boot/dts/sun8i-a23.dtsi | 524 > +++ > 1 file changed,

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 Acked-by: Maxime Ripard -- Maxime Ripard, Free Electrons

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

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 > --- > drivers/pinctrl/sunxi/Kconfig | 4 +

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 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 > --- >

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

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" \ +

[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

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

2014-05-25 Thread minyard
From: Corey Minyard 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 code to turn hardirq

[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 ---

[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

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

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

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

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 wrote: > On Fri, May 23, 2014 at 10:25:28PM -0700, Chaitanya Hazarey wrote: >> Added a blank line after declarations in many

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

[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 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 > --- > drivers/staging/gdm72xx/gdm_usb.c |2 +-

[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 --- drivers/misc/sgi-gru/grumain.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

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 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. >> > >>

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

[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 --- drivers/staging/dgnc/dgnc_neo.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

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

[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 --- drivers/net/wireless/mwifiex/main.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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

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

[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 --- drivers/net/wan/farsync.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

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 > 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:

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):

[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

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

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

[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 --- drivers/staging/rtl8192u/r819xU_firmware_img.c | 1042 1 file changed, 521 insertions(+), 521 deletions(-)

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,

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.

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

2014-05-25 Thread Amir Vadai
From: Yuval Atias 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 it uses to numa

[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 ...

[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

[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 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 Cc: Ingo Molnar Cc: Kevin Hilman Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Viresh Kumar Signed-off-by: Frederic Weisbecker --- kernel/irq_work.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[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 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] 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:

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 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 > --- > drivers/infiniband/hw/ipath/ipath_intr.c |

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 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 with the initial

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 --- drivers/infiniband/hw/ipath/ipath_intr.c |4 ++-- drivers/infiniband/hw/ipath/ipath_sdma.c |4 ++-- 2 files

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

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.

[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 --- drivers/staging/gdm72xx/gdm_usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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] 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 --- drivers/staging/rtl8188eu/core/rtw_pwrctrl.c

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] 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 --- drivers/staging/media/msi3101/sdr-msi3101.c | 28 +-- 1 file changed, 14 insertions(+), 14

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 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

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 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é 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 compilation error: > >

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 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 Reviewed-by: David Herrmann Thanks David > --- >

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 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 mercy > blow. > >

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 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 > > > > > > Hi, > > > > > > This series converts the Tegra DRM

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 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 >> 1fd819ec >>

[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
> 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] 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 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,

[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] 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

[PATCH] Input: mc13783-pwrbutton: Allocate resources using managed interfaces

2014-05-25 Thread Himangi Saraogi
This patch moves most data allocated in the probe function from unmanaged interfaces to managed interfaces. The kfrees and error handling code is done away with. The unnecesary labels are removed. Also, linux/device.h is added to make sure the devm_*() routine declarations are unambiguously

Re: [PATCH 1/2] RFT: pinctrl: sirf: switch to using allocated state container

2014-05-25 Thread Barry Song
2014-05-09 19:53 GMT+08:00 Linus Walleij : > On Thu, May 1, 2014 at 2:29 PM, Barry Song wrote: >> 2014-04-24 5:16 GMT+08:00 Linus Walleij : > >>> This rewrites the SIRF pinctrl driver to allocate a state container >>> for the GPIO chip, just as is done for the pin controller, and >>> use the

[patch v2] rt/sched: fix resursion when CONTEXT_TRACKING and PREEMPT_LAZY are enabled

2014-05-25 Thread Mike Galbraith
On Fri, 2014-05-16 at 15:53 +0200, Mike Galbraith wrote: > On Tue, 2014-05-13 at 17:40 +0200, Sebastian Andrzej Siewior wrote: > > * Mike Galbraith | 2014-05-10 06:15:03 [+0200]: > > > > >On Fri, 2014-05-09 at 20:12 +0200, Sebastian Andrzej Siewior wrote: > > > > > >> Known issues: > > >> > >

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

2014-05-25 Thread James Bottomley
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: > > > > Quoting Andy Lutomirski (l...@amacapital.net): > > > >>

Re: [PATCH 2/2] RFT: pinctrl: sirf: move sgpio lock into state container

2014-05-25 Thread Barry Song
2014-05-09 19:57 GMT+08:00 Linus Walleij : > On Thu, May 1, 2014 at 2:40 PM, Barry Song wrote: >> 2014-04-24 5:16 GMT+08:00 Linus Walleij : > >>> Instead of referring to a global static variable for the sgpio >>> locking, use the state container to contain the lock. >>> >>> Signed-off-by: Linus

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

2014-05-25 Thread Alexandre Courbot
On Sat, May 24, 2014 at 2:12 AM, abdoulaye berthe wrote: > This avoids handling gpiochip remove error in device > remove handler. Be aware that at the moment many callers of gpiochip_remove() read its return value. So applying your patch as-is would break compilation. This patch should

Re: [PATCH] acornscsi: remove linked command support

2014-05-25 Thread James Bottomley
On Sat, 2014-05-24 at 15:16 +0200, Paul Bolle wrote: > On Sat, 2014-05-24 at 16:13 +0400, James Bottomley wrote: > > Wait, no, that's not a good idea. We leave obsolete drivers to bitrot. > > Particularly we try not to touch them unless we have to because there > > might be a few people still

[PATCH] ix86/mid/thermal: 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 following Coccinelle semantic patch was used for making the change: @platform@ identifier p, probefn, removefn; @@ struct

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

2014-05-25 Thread Dan Carpenter
On Sat, May 24, 2014 at 10:44:12PM -0700, Chaitanya Hazarey wrote: > Fixed a lot of errors of the type "ERROR: space required after that ',' > (ctx:VxV)" > Add a tab at the start of the line as well. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe

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

2014-05-25 Thread Dan Carpenter
On Sat, May 24, 2014 at 10:44:12PM -0700, Chaitanya Hazarey wrote: Fixed a lot of errors of the type ERROR: space required after that ',' (ctx:VxV) Add a tab at the start of the line as well. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

[PATCH] ix86/mid/thermal: 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 following Coccinelle semantic patch was used for making the change: @platform@ identifier p, probefn, removefn; @@ struct

Re: [PATCH] acornscsi: remove linked command support

2014-05-25 Thread James Bottomley
On Sat, 2014-05-24 at 15:16 +0200, Paul Bolle wrote: On Sat, 2014-05-24 at 16:13 +0400, James Bottomley wrote: Wait, no, that's not a good idea. We leave obsolete drivers to bitrot. Particularly we try not to touch them unless we have to because there might be a few people still using them

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

2014-05-25 Thread Alexandre Courbot
On Sat, May 24, 2014 at 2:12 AM, abdoulaye berthe berthe...@gmail.com wrote: This avoids handling gpiochip remove error in device remove handler. Be aware that at the moment many callers of gpiochip_remove() read its return value. So applying your patch as-is would break compilation. This

Re: [PATCH 2/2] RFT: pinctrl: sirf: move sgpio lock into state container

2014-05-25 Thread Barry Song
2014-05-09 19:57 GMT+08:00 Linus Walleij linus.wall...@linaro.org: On Thu, May 1, 2014 at 2:40 PM, Barry Song bao...@kernel.org wrote: 2014-04-24 5:16 GMT+08:00 Linus Walleij linus.wall...@linaro.org: Instead of referring to a global static variable for the sgpio locking, use the state

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

2014-05-25 Thread James Bottomley
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: Quoting Andy Lutomirski (l...@amacapital.net): On May 15, 2014

[patch v2] rt/sched: fix resursion when CONTEXT_TRACKING and PREEMPT_LAZY are enabled

2014-05-25 Thread Mike Galbraith
On Fri, 2014-05-16 at 15:53 +0200, Mike Galbraith wrote: On Tue, 2014-05-13 at 17:40 +0200, Sebastian Andrzej Siewior wrote: * Mike Galbraith | 2014-05-10 06:15:03 [+0200]: On Fri, 2014-05-09 at 20:12 +0200, Sebastian Andrzej Siewior wrote: Known issues: - bcache is

Re: [PATCH 1/2] RFT: pinctrl: sirf: switch to using allocated state container

2014-05-25 Thread Barry Song
2014-05-09 19:53 GMT+08:00 Linus Walleij linus.wall...@linaro.org: On Thu, May 1, 2014 at 2:29 PM, Barry Song bao...@kernel.org wrote: 2014-04-24 5:16 GMT+08:00 Linus Walleij linus.wall...@linaro.org: This rewrites the SIRF pinctrl driver to allocate a state container for the GPIO chip, just

[PATCH] Input: mc13783-pwrbutton: Allocate resources using managed interfaces

2014-05-25 Thread Himangi Saraogi
This patch moves most data allocated in the probe function from unmanaged interfaces to managed interfaces. The kfrees and error handling code is done away with. The unnecesary labels are removed. Also, linux/device.h is added to make sure the devm_*() routine declarations are unambiguously

<    1   2   3   4   >