Re: [PATCH 1/3] mfd: MAX6650/6651 support

2014-01-15 Thread Linus Walleij
On Fri, Jan 10, 2014 at 10:56 AM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 09 Jan 2014, Laszlo Papp wrote: +int max6651_read_reg(struct i2c_client *i2c, u8 reg, u8 *dest) +{ Probably best to use Regmap instead. regmap_i2c_read() +int max6651_write_reg(struct i2c_client *i2c,

Re: [RFC PATCH] sched: find the latest idle cpu

2014-01-15 Thread Michael wang
On 01/15/2014 02:45 PM, Alex Shi wrote: [snip] yes, to save your scenario, we need to know the next timer for idle cpu, but that is not enough, interrupt is totally unpredictable. So, I'd rather bear the coarse method now. So what about just check 'ts-tick_stopped' and record one ticking

Re: [git pull] Please pull powerpc.git merge branch

2014-01-15 Thread Linus Torvalds
On Wed, Jan 15, 2014 at 12:01 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: My original intend was to put it in powerpc-next and then shoot it to stable, but it got a tad annoying (due to churn it needs to be applied at least on rc4 or later while my next is at rc1 and clean that

[PATCH] mtd: davinci_nand: Remove unnecessary labels from error path

2014-01-15 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch removes the unnecessary labels from the error path in probe function which did nothing than just returning error values, Thus simplifying code path and improved readability. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com ---

Re: [PATCH v8 4/4] qrwlock: Use smp_store_release() in write_unlock()

2014-01-15 Thread Peter Zijlstra
On Tue, Jan 14, 2014 at 06:39:58PM -0800, Paul E. McKenney wrote: If you just want to do a store release, on alpha you'd want to implement that as a full memory barrier followed by a store. It doesn't get the advantage of a real release consistency model, but at least it's not doing an

[PATCH V5 0/8] cpuidle/ppc: Enable deep idle states on PowerNV

2014-01-15 Thread Preeti U Murthy
On PowerPC, when CPUs enter certain deep idle states, the local timers stop and the time base could go out of sync with the rest of the cores in the system. This patchset adds support to wake up CPUs in such idle states by broadcasting IPIs to them at their next timer events using the tick

[PATCH V5 1/8] powerpc: Free up the slot of PPC_MSG_CALL_FUNC_SINGLE IPI message

2014-01-15 Thread Preeti U Murthy
From: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com The IPI handlers for both PPC_MSG_CALL_FUNC and PPC_MSG_CALL_FUNC_SINGLE map to a common implementation - generic_smp_call_function_single_interrupt(). So, we can consolidate them and save one of the IPI message slots, (which are precious on

[PATCH V5 2/8] powerpc: Implement tick broadcast IPI as a fixed IPI message

2014-01-15 Thread Preeti U Murthy
From: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com For scalability and performance reasons, we want the tick broadcast IPIs to be handled as efficiently as possible. Fixed IPI messages are one of the most efficient mechanisms available - they are faster than the smp_call_function mechanism

[PATCH V5 3/8] cpuidle/ppc: Split timer_interrupt() into timer handling and interrupt handling routines

2014-01-15 Thread Preeti U Murthy
Split timer_interrupt(), which is the local timer interrupt handler on ppc into routines called during regular interrupt handling and __timer_interrupt(), which takes care of running local timers and collecting time related stats. This will enable callers interested only in running expired local

[PATCH V5 4/8] powernv/cpuidle: Add context management for Fast Sleep

2014-01-15 Thread Preeti U Murthy
From: Vaidyanathan Srinivasan sva...@linux.vnet.ibm.com Before adding Fast-Sleep into the cpuidle framework, some low level support needs to be added to enable it. This includes saving and restoring of certain registers at entry and exit time of this state respectively just like we do in the NAP

[PATCH V5 6/8] time/cpuidle: Support in tick broadcast framework in the absence of external clock device

2014-01-15 Thread Preeti U Murthy
On some architectures, in certain CPU deep idle states the local timers stop. An external clock device is used to wakeup these CPUs. The kernel support for the wakeup of these CPUs is provided by the tick broadcast framework by using the external clock device as the wakeup source. However not

[PATCH V5 5/8] powermgt: Add OPAL call to resync timebase on wakeup

2014-01-15 Thread Preeti U Murthy
From: Vaidyanathan Srinivasan sva...@linux.vnet.ibm.com During Fast-sleep and deeper power savings state, decrementer and timebase could be stopped making it out of sync with rest of the cores in the system. Add a firmware call to request platform to resync timebase using low level platform

[PATCH V5 7/8] cpuidle/powernv: Add Fast-Sleep CPU idle state

2014-01-15 Thread Preeti U Murthy
Fast sleep is one of the deep idle states on Power8 in which local timers of CPUs stop. On PowerPC we do not have an external clock device which can handle wakeup of such CPUs. Now that we have the support in the tick broadcast framework for archs that do not sport such a device and the low level

[PATCH V5 8/8] cpuidle/powernv: Parse device tree to setup idle states

2014-01-15 Thread Preeti U Murthy
Add deep idle states such as nap and fast sleep to the cpuidle state table only if they are discovered from the device tree during cpuidle initialization. Signed-off-by: Preeti U Murthy pre...@linux.vnet.ibm.com --- drivers/cpuidle/cpuidle-powernv.c | 81 +

Re: [PATCH v6 3/8] x86: add generic function to modify more calls using int3 framework

2014-01-15 Thread Masami Hiramatsu
(2014/01/15 9:33), Steven Rostedt wrote: On Tue, 10 Dec 2013 16:42:15 +0100 Petr Mladek pmla...@suse.cz wrote: diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h index 586747f5f41d..82ffe7e1529c 100644 --- a/arch/x86/include/asm/alternative.h +++

Re: [PATCH 3/3] mm/memcg: iteration skip memcgs not yet fully initialized

2014-01-15 Thread Michal Hocko
On Tue 14-01-14 09:29:04, Tejun Heo wrote: Hey, Michal. On Tue, Jan 14, 2014 at 02:30:05PM +0100, Michal Hocko wrote: On Mon 13-01-14 17:54:04, Hugh Dickins wrote: It is surprising that the mem_cgroup iterator can return memcgs which have not yet been fully initialized. By accident

Re: [PATCH 3/3] mm/memcg: iteration skip memcgs not yet fully initialized

2014-01-15 Thread Michal Hocko
On Mon 13-01-14 17:54:04, Hugh Dickins wrote: It is surprising that the mem_cgroup iterator can return memcgs which have not yet been fully initialized. By accident (or trial and error?) this appears not to present an actual problem; but it may be better to prevent such surprises, by skipping

RE: [PATCH] gpio: pxa: normalize the return value for gpio_get

2014-01-15 Thread Neil Zhang
-Original Message- From: Linus Walleij [mailto:linus.wall...@linaro.org] Sent: 2014年1月15日 15:58 To: Neil Zhang Cc: Alexandre Courbot; linux-g...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] gpio: pxa: normalize the return value for gpio_get On Fri, Jan 10,

[PATCH stable-only] virtio-net: fix build on m68k and sparc64

2014-01-15 Thread Michael S. Tsirkin
As a result of backporting a bugfix, virtio_net started passing void * to page_address, assuming that it will get silently converted to struct page *. But this does not happen on architectures where page_address is a macro, the result is build failure as the macro tries to dereference void*. Fix

[BUG] [ tip/sched/core ] System unresponsive after booting

2014-01-15 Thread Daniel Lezcano
Hi all, I use the tip/sched/core branch. After git pulling yesterday, my host is unresponsive after booting the OS. * It boots normally * It sends info to the console * The graphics does not work * The terminals show the prompt, I can enter the username but after pressing enter, it does

nouveau - BUG: unable to handle kernel NULL pointer dereference

2014-01-15 Thread Kui Zhang
Hello, I am getting a blank screen after loading initrd, with nouveau. the laptop seem to boot ok, just no video.This is in dmesg. Sorry if dupes, html version bounced. [0.855961] nouveau [ VBIOS][:01:00.0] ... checksum invalid [0.856120] nouveau [ VBIOS][:01:00.0] BIT

Re: nouveau - BUG: unable to handle kernel NULL pointer dereference

2014-01-15 Thread Ilia Mirkin
On Wed, Jan 15, 2014 at 3:28 AM, Kui Zhang kuizh...@gmail.com wrote: Hello, I am getting a blank screen after loading initrd, with nouveau. the laptop seem to boot ok, just no video.This is in dmesg. Sorry if dupes, html version bounced. [0.855961] nouveau [ VBIOS][:01:00.0]

Re: [PATCH v2 00/12] Device Tree support for the at91sam9261ek

2014-01-15 Thread Jean-Jacques Hiblot
2014/1/14 Nicolas Ferre nicolas.fe...@atmel.com: On 09/01/2014 13:31, Jean-Jacques Hiblot : This patch set aims at bringing a basic device tree support for the sam9261. It's mostly based on the sam9263 stuff. Nice! Thanks a lot for stepping up. One general comment though: I would like to

Re: [PATCH stable-only] virtio-net: fix build on m68k and sparc64

2014-01-15 Thread Geert Uytterhoeven
On Wed, Jan 15, 2014 at 9:26 AM, Michael S. Tsirkin m...@redhat.com wrote: As a result of backporting a bugfix, virtio_net started passing void * to page_address, assuming that it will get silently converted to struct page *. But this does not happen on architectures where page_address is a

Re: In pci_fixup_video check if this is or should be the primary video devi

2014-01-15 Thread Sander Eikelenboom
Wednesday, January 15, 2014, 5:55:38 AM, you wrote: Ok, i will see what the Qemu guys have to say about it, the emulator is the latest Qemu, but they will probably say .. hey go fix that fixup in the kernel. -- Sander Hi Sander, I understood there is no bridge for a VGA device in your

Re: [PATCH stable-only] virtio-net: fix build on m68k and sparc64

2014-01-15 Thread Michael S. Tsirkin
On Wed, Jan 15, 2014 at 09:36:13AM +0100, Geert Uytterhoeven wrote: On Wed, Jan 15, 2014 at 9:26 AM, Michael S. Tsirkin m...@redhat.com wrote: As a result of backporting a bugfix, virtio_net started passing void * to page_address, assuming that it will get silently converted to struct page

Re: [PATCH 1/5] mm: vmscan: shrink all slab objects if tight on memory

2014-01-15 Thread Vladimir Davydov
On 01/15/2014 02:14 AM, Andrew Morton wrote: On Tue, 14 Jan 2014 11:23:30 +0400 Vladimir Davydov vdavy...@parallels.com wrote: On 01/14/2014 03:05 AM, Andrew Morton wrote: That being said, I think I'll schedule this patch as-is for 3.14. Can you please take a look at implementing the

Re: [PATCH stable-only] virtio-net: fix build on m68k and sparc64

2014-01-15 Thread Geert Uytterhoeven
On Wed, Jan 15, 2014 at 9:46 AM, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jan 15, 2014 at 09:36:13AM +0100, Geert Uytterhoeven wrote: On Wed, Jan 15, 2014 at 9:26 AM, Michael S. Tsirkin m...@redhat.com wrote: As a result of backporting a bugfix, virtio_net started passing void * to

Re: [PATCH 5/8 v3] clk:exynos-5250: Add gate clock for SSS module

2014-01-15 Thread Naveen Krishna Ch
Hello Tomasz, On 10 January 2014 21:28, Tomasz Figa t.f...@samsung.com wrote: Hi Naveen, On 10.01.2014 12:43, Naveen Krishna Chatradhi wrote: This patch adds gating clock for SSS(Security SubSystem) module on Exynos5250. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com ---

[PATCH] pinctrl: sirf: lock IRQs when starting them

2014-01-15 Thread Linus Walleij
This uses the new API for tagging GPIO lines as in use by IRQs. This enforces a few semantic checks on how the underlying GPIO line is used. Also assign the gpio_chip.dev pointer to be used for error messages. Cc: Barry Song baohua.s...@csr.com Signed-off-by: Linus Walleij

Re: [PATCH 3/3] zram: rework reported to end-user zram statistics

2014-01-15 Thread Sergey Senozhatsky
On (01/15/14 13:24), Minchan Kim wrote: Hello Sergey, On Tue, Jan 14, 2014 at 12:37:40PM +0300, Sergey Senozhatsky wrote: 1) Introduce ZRAM_ATTR_RO macro to generate zram atomic64_t stats `show' functions and reduce code duplication. 2) Account and report back to user numbers of

Re: [PATCH] ARM: sunxi: change the AllWinner A1X to sunxi

2014-01-15 Thread Maxime Ripard
On Thu, Jan 09, 2014 at 04:34:04PM +0100, Gerardo Di Iorio wrote: Change the AllWinner A1X SOCs to Allwinner Sunxi SOCs Signed-off-by: Gerardo Di Iorio aret...@gmail.com --- arch/arm/mach-sunxi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/8 v4] crypto:s5p-sss: Use platform_get_irq() instead of _byname()

2014-01-15 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch ch.nav...@samsung.com This patch uses the platform_get_irq() instead of the platform_get_irq_byname(). Making feeder control interrupt as resource 0 and hash interrupt as 1. reasons for this change. 1. Cannot find any Arch which is currently using this driver 2. Samsung

[PATCH 2/8 v4] crypto:s5p-sss: Add device tree support

2014-01-15 Thread Naveen Krishna Chatradhi
This patch adds device tree support to the s5p-sss.c crypto driver. Also, Documentation under devicetree/bindings added. Signed-off-by: Naveen Krishna Ch ch.nav...@samsung.com CC: Herbert Xu herb...@gondor.apana.org.au CC: David S. Miller da...@davemloft.net CC: Vladimir Zapolskiy

[PATCH 4/8 v4] crypto:s5p-sss: Kconfig: Let Exynos SoCs select SSS driver

2014-01-15 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch ch.nav...@samsung.com This patch modifies Kconfig such that ARCH_EXYNOS SoCs which includes (Exynos4210, Exynos5250 and Exynos5420) can also select Samsung SSS(Security SubSystem) driver. Signed-off-by: Naveen Krishna Ch ch.nav...@samsung.com CC: Herbert Xu

[PATCH 3/8 v4] crypto:s5p-sss: Add support for SSS module on Exynos

2014-01-15 Thread Naveen Krishna Chatradhi
This patch adds new compatible and variant struct to support the SSS module on Exynos4 (Exynos4210), Exynos5 (Exynos5420 and Exynos5250) for which 1. AES register are at an offset of 0x200 and 2. hash interrupt is not available Signed-off-by: Naveen Krishna Ch ch.nav...@samsung.com CC: Herbert Xu

Re: [PATCH stable-only] virtio-net: fix build on m68k and sparc64

2014-01-15 Thread Michael S. Tsirkin
On Wed, Jan 15, 2014 at 10:01:49AM +0100, Geert Uytterhoeven wrote: On Wed, Jan 15, 2014 at 9:46 AM, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jan 15, 2014 at 09:36:13AM +0100, Geert Uytterhoeven wrote: On Wed, Jan 15, 2014 at 9:26 AM, Michael S. Tsirkin m...@redhat.com wrote:

[PATCH 7/8 v4] crypto:s5p-sss: validate iv before memcpy

2014-01-15 Thread Naveen Krishna Chatradhi
This patch adds code to validate iv buffer before trying to memcpy the contents Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com --- Changes since v3: None drivers/crypto/s5p-sss.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/s5p-sss.c

[PATCH 5/8 v4] clk: samsung: exynos5250/5420: Add gate clock for SSS module

2014-01-15 Thread Naveen Krishna Chatradhi
This patch adds gating clock for SSS(Security SubSystem) module on Exynos5250/5420. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com TO: linux-samsung-...@vger.kernel.org TO: Tomasz Figa t.f...@samsung.com CC: Kukjin Kim kgene@samsung.com CC: linux-cry...@vger.kernel.org ---

[PATCH 6/8 v4] ARM: dts: exynos5250/5420: add dt node for sss module

2014-01-15 Thread Naveen Krishna Chatradhi
This patch adds the device tree node for SSS module found on Exynos5420 and Exynos5250 Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com TO: linux-samsung-...@vger.kernel.org CC: Kukjin Kim kgene@samsung.com CC:

[PATCH 8/8 v4] crypto:s5p-sss: Use clk_prepare/clk_unprepare

2014-01-15 Thread Naveen Krishna Chatradhi
This patch set adds use of clk_prepare/clk_unprepare as required by generic clock framework. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Reviewed-by: Tomasz Figa t.f...@samsung.com --- Changes since v3: None drivers/crypto/s5p-sss.c |6 +++--- 1 file changed, 3

Re: [PATCH v2 0/4]zram: locking redesign

2014-01-15 Thread Jerome Marchand
On 01/15/2014 02:11 AM, Minchan Kim wrote: Currently, zram-lock rw_semaphore is coarse-grained so it hurts for scalability. This patch try to enhance it with remove the lock in read path. [1] uses atomic opeartion so it removes dependency of 32bit stat from zram-lock. [2] introduces table

Re: [BUG] [ tip/sched/core ] System unresponsive after booting

2014-01-15 Thread Ingo Molnar
* Daniel Lezcano daniel.lezc...@linaro.org wrote: Hi all, I use the tip/sched/core branch. After git pulling yesterday, my host is unresponsive after booting the OS. * It boots normally * It sends info to the console * The graphics does not work * The terminals show the

Re: [PATCH 1/5] mm: vmscan: shrink all slab objects if tight on memory

2014-01-15 Thread Andrew Morton
On Wed, 15 Jan 2014 12:47:35 +0400 Vladimir Davydov vdavy...@parallels.com wrote: On 01/15/2014 02:14 AM, Andrew Morton wrote: On Tue, 14 Jan 2014 11:23:30 +0400 Vladimir Davydov vdavy...@parallels.com wrote: On 01/14/2014 03:05 AM, Andrew Morton wrote: That being said, I think I'll

Re: [PATCH] pinctrl: typo and grammar fixes

2014-01-15 Thread Linus Walleij
On Mon, Jan 13, 2014 at 7:54 PM, Laszlo Papp lp...@kde.org wrote: I had been trying to learn a bit more about the pinctrl subsystem, and I realized several typos and grammar issues while going through the documentation. I have probably not caught all the possible issues, but this change is

Re: [PATCH v2] pinctrl: Fix some typos and grammar issues in the documentation

2014-01-15 Thread Linus Walleij
On Mon, Jan 13, 2014 at 8:00 PM, Laszlo Papp lp...@kde.org wrote: I had been trying to learn a bit more about the pinctrl subsystem, and I realized several typos and grammar issues while going through the documentation. I have probably not caught all the possible issues, but this change is

[QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-15 Thread Viresh Kumar
Hi Again, I am now successful in isolating a CPU completely using CPUsets, NO_HZ_FULL and CPU hotplug.. My setup and requirements for those who weren't following the earlier mails: For networking machines it is required to run data plane threads on some CPUs (i.e. one thread per CPU) and these

Re: [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource

2014-01-15 Thread Linus Walleij
On Tue, Jan 14, 2014 at 12:58 PM, Wolfram Sang w...@the-dreams.de wrote: devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang w...@the-dreams.de --- Should go via subsystem tree drivers/gpio/gpio-davinci.c |

Re: [PATCH REGRESSION FIX] x86 idle: restore mwait_idle()

2014-01-15 Thread Mike Galbraith
On Wed, 2014-01-15 at 00:37 -0500, Len Brown wrote: From: Len Brown len.br...@intel.com In Linux-3.9 we removed the mwait_idle() loop: 'x86 idle: remove mwait_idle() and idle=mwait cmdline param' (69fb3676df3329a7142803bb3502fa59dc0db2e3) The reasoning was that modern machines should be

Re: [PATCH v2 0/4]zram: locking redesign

2014-01-15 Thread Sergey Senozhatsky
On (01/15/14 10:11), Minchan Kim wrote: Currently, zram-lock rw_semaphore is coarse-grained so it hurts for scalability. This patch try to enhance it with remove the lock in read path. [1] uses atomic opeartion so it removes dependency of 32bit stat from zram-lock. [2] introduces table own

[PATCH] mm/fs: don't keep pages when receiving a pending SIGKILL in __get_user_pages()

2014-01-15 Thread Xishi Qiu
In the process IO direction, dio_refill_pages will call get_user_pages_fast to map the page from user space. If ret is less than 0 and IO is write, the function will create a zero page to fill data. This may work for some file system, but in some device operate we prefer whole write or fail,

Re: [BUG] [ tip/sched/core ] System unresponsive after booting

2014-01-15 Thread Michael wang
Hi, Daniel On 01/15/2014 04:27 PM, Daniel Lezcano wrote: [snip] commit d50dde5a10f305253cbc3855307f608f8a3c5f73 Author: Dario Faggioli raist...@linux.it Date: Thu Nov 7 14:43:36 2013 +0100 sched: Add new scheduler syscalls to support an extended scheduling parameters ABI Add

[PATCH] mm: Make {,set}page_address() static inline if WANT_PAGE_VIRTUAL

2014-01-15 Thread Geert Uytterhoeven
{,set}page_address() are macros if WANT_PAGE_VIRTUAL. If !WANT_PAGE_VIRTUAL, they're plain C functions. If someone calls them with a void *, this pointer is auto-converted to struct page * if !WANT_PAGE_VIRTUAL, but causes a build failure on architectures using WANT_PAGE_VIRTUAL (arc, m68k and

Re: nouveau - BUG: unable to handle kernel NULL pointer dereference

2014-01-15 Thread Kui Zhang
yap, that fixed it. thanks kuiz On Wed, Jan 15, 2014 at 12:34 AM, Ilia Mirkin imir...@alum.mit.edu wrote: On Wed, Jan 15, 2014 at 3:28 AM, Kui Zhang kuizh...@gmail.com wrote: Hello, I am getting a blank screen after loading initrd, with nouveau. the laptop seem to boot ok, just no

Re: [PATCH] misc: sram: cleanup the code

2014-01-15 Thread Philipp Zabel
Am Mittwoch, den 15.01.2014, 11:16 +0800 schrieb Xiubo Li: Since the devm_gen_pool_create() is used, so the gen_pool_destroy() here is redundant. Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/misc/sram.c | 2 -- 1 file changed, 2 deletions(-) diff --git

Re: [PATCH v4 2/4] pinctrl: Add pinctrl binding for Broadcom Capri SoCs

2014-01-15 Thread Linus Walleij
On Tue, Jan 14, 2014 at 8:00 PM, Sherman Yin s...@broadcom.com wrote: Great! Is there anything else you would like to see changed before this patchset can be accepted? I'd like some sign of life from the DT binding maintainers. Yours, Linus Walleij -- To unsubscribe from this list: send the

[PATCH] mm/mmu_notifier: restore set_pte_at_notify semantics

2014-01-15 Thread Mike Rapoport
Commit 6bdb913f0a70a4dfb7f066fb15e2d6f960701d00 (mm: wrap calls to set_pte_at_notify with invalidate_range_start and invalidate_range_end) breaks semantics of set_pte_at_notify. When calls to set_pte_at_notify are wrapped with mmu_notifier_invalidate_range_start and

Re: [PATCH] ARM: sunxi: change the AllWinner A1X to sunxi

2014-01-15 Thread Arnd Bergmann
On Wednesday 15 January 2014 10:10:06 Maxime Ripard wrote: On Thu, Jan 09, 2014 at 04:34:04PM +0100, Gerardo Di Iorio wrote: Change the AllWinner A1X SOCs to Allwinner Sunxi SOCs Signed-off-by: Gerardo Di Iorio aret...@gmail.com --- arch/arm/mach-sunxi/Kconfig | 2 +- 1 file

Re: [PATCH v2 06/12] at91: smc: Adds helper functions to validate and clip the smc timings.

2014-01-15 Thread Nicolas Ferre
On 09/01/2014 13:31, Jean-Jacques Hiblot : This patchs implememnts 2 functions to help with the configuration of a chip-select's timing: * sam9_smc_check_cs_configuration : checks that the values would fit in the registers. * sam9_smc_clip_cs_configuration : clip the values to their

Re: linux-next: Tree for Jan 14 (lowpan, 802.15.4)

2014-01-15 Thread Alexander Aring
Hi Dmitry, On Wed, Jan 15, 2014 at 02:54:56AM +0400, Dmitry Eremin-Solenikov wrote: Hello, On Tue, Jan 14, 2014 at 9:49 PM, Randy Dunlap rdun...@infradead.org wrote: On 01/13/2014 09:51 PM, Stephen Rothwell wrote: Hi all, This tree fails (more than usual) the powerpc

Re: [PATCH V6 6/8] Add EFI stub for ARM

2014-01-15 Thread Ard Biesheuvel
On 15 January 2014 03:16, Roy Franz roy.fr...@linaro.org wrote: On Tue, Jan 14, 2014 at 5:47 PM, Roy Franz roy.fr...@linaro.org wrote: On Tue, Jan 14, 2014 at 1:05 AM, Ard Biesheuvel ard.biesheu...@linaro.org wrote: On 10 January 2014 17:30, Roy Franz roy.fr...@linaro.org wrote: This patch

Re: [PATCH] mm: Make {,set}page_address() static inline if WANT_PAGE_VIRTUAL

2014-01-15 Thread Michael S. Tsirkin
On Wed, Jan 15, 2014 at 10:33:46AM +0100, Geert Uytterhoeven wrote: {,set}page_address() are macros if WANT_PAGE_VIRTUAL. If !WANT_PAGE_VIRTUAL, they're plain C functions. If someone calls them with a void *, this pointer is auto-converted to struct page * if !WANT_PAGE_VIRTUAL, but causes a

Re: [PATCH 2/3] mm/memcg: fix endless iteration in reclaim

2014-01-15 Thread Michal Hocko
On Tue 14-01-14 12:42:28, Hugh Dickins wrote: On Tue, 14 Jan 2014, Michal Hocko wrote: On Tue 14-01-14 14:27:27, Michal Hocko wrote: On Mon 13-01-14 17:52:30, Hugh Dickins wrote: On one home machine I can easily reproduce (by rmdir of memcgdir during reclaim) multiple processes stuck

Re: [RFC PATCH V2 3/4] dt-bindings: pci: xgene pcie device tree bindings

2014-01-15 Thread Arnd Bergmann
On Wednesday 15 January 2014, Tanmay Inamdar wrote: This patch adds the bindings for X-Gene PCIe driver. The driver resides under 'drivers/pci/host/pci-xgene.c' file. Signed-off-by: Tanmay Inamdar tinam...@apm.com --- .../devicetree/bindings/pci/xgene-pcie.txt | 45

Re: [PATCH v2 06/12] at91: smc: Adds helper functions to validate and clip the smc timings.

2014-01-15 Thread Jean-Jacques Hiblot
2014/1/15 Nicolas Ferre nicolas.fe...@atmel.com: On 09/01/2014 13:31, Jean-Jacques Hiblot : This patchs implememnts 2 functions to help with the configuration of a chip-select's timing: * sam9_smc_check_cs_configuration : checks that the values would fit in the registers. *

Re: [PATCH 3/3] gpio: MAX6650/6651 support

2014-01-15 Thread Linus Walleij
On Tue, Jan 14, 2014 at 6:17 PM, Laszlo Papp lp...@kde.org wrote: [CC:ing Jon Corbet on this as he's better at the consensus process and may correct me here.] I have just had a quick look and I am now worried It seems that the pinctrl system was not as mature in 3.2 that I need to support

Re: [PATCH v1 1/5] pinctrl: st: Fix a typo in probe

2014-01-15 Thread Linus Walleij
On Tue, Jan 14, 2014 at 3:52 PM, srinivas.kandaga...@st.com wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com Probe function had commas instead of semi-colons on some of the lines. This patch just fixes those lines. No functional chagnes done in this patch. Signed-off-by:

Re: [PATCH 00/11] cross rename v3

2014-01-15 Thread Miklos Szeredi
On Wed, Jan 15, 2014 at 05:53:36AM +0900, Tetsuo Handa wrote: Miklos, can you insert below change between a patch which defines RENAME_EXCHANGE and a patch which implements RENAME_EXCHANGE functionality? I don't really want to add this to the series. This patch actually *breaks* tomoyo and

Re: [PATCH v2 01/12] at91: dt: Add at91sam9261 dt SoC support

2014-01-15 Thread Jean-Jacques Hiblot
2014/1/14 Nicolas Ferre nicolas.fe...@atmel.com: On 09/01/2014 13:31, Jean-Jacques Hiblot : This patch adds the basics to support the Device Tree on a sam9261-based platform Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com --- arch/arm/boot/dts/at91sam9261.dtsi | 476

Re: [PATCH v2 01/12] at91: dt: Add at91sam9261 dt SoC support

2014-01-15 Thread Nicolas Ferre
On 15/01/2014 11:08, Jean-Jacques Hiblot : 2014/1/14 Nicolas Ferre nicolas.fe...@atmel.com: On 09/01/2014 13:31, Jean-Jacques Hiblot : This patch adds the basics to support the Device Tree on a sam9261-based platform Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com ---

Re: [PATCH 0/3] power_supply: modelgauge_battery: Add Maxim ModelGauge ICs gauge

2014-01-15 Thread Vladimir Barinov
Hello, On 01/14/2014 08:29 PM, Krzysztof Kozlowski wrote: On 01/09/2014 05:49 PM, Vladimir Barinov wrote: Hello. This adds the folowing: - Maxim ModelGauge ICs gauge driver for MAX17040/41/43/44/48/49/58/59 chips - Document DT bindings - Remove superseded Maxim MAX17040 gauge driver

Re: [PATCH v2 06/12] at91: smc: Adds helper functions to validate and clip the smc timings.

2014-01-15 Thread Nicolas Ferre
On 15/01/2014 10:54, Jean-Jacques Hiblot : 2014/1/15 Nicolas Ferre nicolas.fe...@atmel.com: On 09/01/2014 13:31, Jean-Jacques Hiblot : This patchs implememnts 2 functions to help with the configuration of a chip-select's timing: * sam9_smc_check_cs_configuration : checks that the values would

[PATCHv2 0/4] zram stats rework and code cleanup

2014-01-15 Thread Sergey Senozhatsky
This patchset includes zram stats clean up and enhancements. Sergey Senozhatsky (4): zram: drop `init_done' struct zram member zram: do not pass rw argument to __zram_make_request() zram: rework reported to end-user zram statistics zram: report failed read and writes stats

[PATCHv2 2/4] zram: do not pass rw argument to __zram_make_request()

2014-01-15 Thread Sergey Senozhatsky
Do not pass rw argument down the __zram_make_request() - zram_bvec_rw() chain, decode it in zram_bvec_rw() instead. Besides, this is the place where we distinguish READ and WRITE bio data directions, so account zram RW stats here, instead of __zram_make_request(). This also allows to account a

[PATCHv2 1/4] zram: drop `init_done' struct zram member

2014-01-15 Thread Sergey Senozhatsky
Introduce init_done() helper function which allows us to drop `init_done' struct zram member. init_done() uses the fact that -init_done == 1 equals to -meta != NULL. Acked-by: Minchan Kim minc...@kernel.org Acked-by: Jerome Marchand jmarc...@redhat.com Signed-off-by: Sergey Senozhatsky

[PATCHv2 3/4] zram: rework reported to end-user zram statistics

2014-01-15 Thread Sergey Senozhatsky
1) Introduce ZRAM_ATTR_RO macro to generate zram atomic64_t stats `show' functions and reduce code duplication. 2) Remove `good' and `bad' compressed sub-requests stats. RW request may cause a number of RW sub-requests. zram used to account `good' compressed sub-queries (with compressed size less

Re: [PATCH 1/3] power_supply: modelgauge_battery: Maxim ModelGauge ICs gauge

2014-01-15 Thread Vladimir Barinov
Hello, Krzysztof, Thank you for the review. On 01/14/2014 08:31 PM, Krzysztof Kozlowski wrote: On 01/09/2014 05:49 PM, Vladimir Barinov wrote: Add Maxim ModelGauge ICs gauge driver for MAX17040/41/43/44/48/49/58/59 chips Signed-off-by: Vladimir Barinov

[PATCHv2 4/4] zram: report failed read and writes stats

2014-01-15 Thread Sergey Senozhatsky
zram accounted but did not report numbers of failed read and write queries. make these stats available as failed_reads and failed_writes attrs. Signed-off-by: Sergey Senozhatsky sergey.senozhat...@gmail.com --- drivers/block/zram/zram_drv.c | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH] oprofile: check whether oprofile perf enabled in op_overflow_handler()

2014-01-15 Thread Robert Richter
On 15.01.14 10:02:44, Weng Meiling wrote: On 2014/1/14 23:05, Robert Richter wrote: @@ -94,6 +98,11 @@ static int op_create_counter(int cpu, int event) per_cpu(perf_events, cpu)[event] = pevent; + /* sync perf_events with overflow handler: */ + smp_wmb(); + +

Re: [PATCH v5 2/4] devicetree: bindings: Document Krait CPU/L1 EDAC

2014-01-15 Thread Lorenzo Pieralisi
On Tue, Jan 14, 2014 at 09:30:32PM +, Stephen Boyd wrote: The Krait CPU/L1 error reporting device is made up a per-CPU interrupt. While we're here, document the next-level-cache property that's used by the Krait EDAC driver. Cc: Lorenzo Pieralisi lorenzo.pieral...@arm.com Cc: Mark

Re: [git pull] Please pull powerpc.git merge branch

2014-01-15 Thread Benjamin Herrenschmidt
On Wed, 2014-01-15 at 15:05 +0700, Linus Torvalds wrote: On Wed, Jan 15, 2014 at 12:01 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: My original intend was to put it in powerpc-next and then shoot it to stable, but it got a tad annoying (due to churn it needs to be applied

[PATCH] at91: dt: i2c: add a new compatibility string for the at91sam9261

2014-01-15 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com --- drivers/i2c/busses/i2c-at91.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index 8edba9d..843d012 100644 --- a/drivers/i2c/busses/i2c-at91.c +++

[PATCH] at91: dt: sam9263: fixed compatibility string for the I2C

2014-01-15 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot jjhib...@traphandler.com --- arch/arm/boot/dts/at91sam9263.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi index c8fa9b9..7d6dd09 100644 ---

Re: [PATCH 04/11] vfs: add renameat2 syscall

2014-01-15 Thread Miklos Szeredi
On Wed, Jan 15, 2014 at 07:11:16AM +0900, Tetsuo Handa wrote: Miklos Szeredi wrote: + + if (flags) + return -EOPNOTSUPP; + If (at least for now) only ext4 interprets renameat2() flags, I think adding a new member to struct inode_operations and check it like if

Re: [PATCH v4] Staging: comedi: convert while loop to timeout in ni_mio_common.c

2014-01-15 Thread Ian Abbott
On 2014-01-15 03:58, Greg KH wrote: On Tue, Jan 14, 2014 at 06:23:05PM -0600, Chase Southwood wrote: This patch for ni_mio_common.c changes out a while loop for a timeout, which is preferred. Signed-off-by: Chase Southwood chase.southw...@yahoo.com --- OK, here's another go at it. Hopefully

Re: [PATCH 1/3] ARM64: perf: add support for perf registers API

2014-01-15 Thread Jean Pihet
Hi Will, On 6 January 2014 19:30, Will Deacon will.dea...@arm.com wrote: Hi Jean, Thanks for the updated patches. One minor comment on this one. On Mon, Dec 30, 2013 at 04:25:30PM +, Jean Pihet wrote: From: Jean Pihet jean.pi...@newoldbits.com This patch implements the functions

Re: [PATCH] mm: Make {,set}page_address() static inline if WANT_PAGE_VIRTUAL

2014-01-15 Thread Guenter Roeck
On 01/15/2014 01:33 AM, Geert Uytterhoeven wrote: {,set}page_address() are macros if WANT_PAGE_VIRTUAL. If !WANT_PAGE_VIRTUAL, they're plain C functions. If someone calls them with a void *, this pointer is auto-converted to struct page * if !WANT_PAGE_VIRTUAL, but causes a build failure on

Re: [PATCH 2/7] ARM: perf_event: Support percpu irqs for the CPU PMU

2014-01-15 Thread Will Deacon
Hi Stephen, On Tue, Jan 14, 2014 at 08:57:53PM +, Stephen Boyd wrote: On 01/13/14 03:52, Will Deacon wrote: I also don't think that's the right solution, based on the above. It's actually pretty hard to work out what's the right thing to do here... Yes it doesn't seem like the right

Re: [PATCH net-next] xen-netback: Rework rx_work_todo

2014-01-15 Thread Wei Liu
On Tue, Jan 14, 2014 at 07:28:39PM +, Zoltan Kiss wrote: The recent patch to fix receive side flow control (11b57f) solved the spinning thread problem, however caused an another one. The receive side can stall, if: - xenvif_rx_action sets rx_queue_stopped to false - interrupt happens, and

Re: [PATCH v5] Staging: comedi: convert while loop to timeout in ni_mio_common.c

2014-01-15 Thread Ian Abbott
On 2014-01-15 05:15, Chase Southwood wrote: This patch for ni_mio_common.c changes out a while loop for a timeout, which is preferred. Signed-off-by: Chase Southwood chase.southw...@yahoo.com --- All right, I think this guy's ready to go now! Thanks for all the help! Chase 2: Changed from

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-15 Thread Peter Zijlstra
On Wed, Jan 15, 2014 at 02:57:36PM +0530, Viresh Kumar wrote: Hi Again, I am now successful in isolating a CPU completely using CPUsets, NO_HZ_FULL and CPU hotplug.. My setup and requirements for those who weren't following the earlier mails: For networking machines it is required to

Re: [BUG] [ tip/sched/core ] System unresponsive after booting

2014-01-15 Thread Peter Zijlstra
On Wed, Jan 15, 2014 at 10:22:45AM +0100, Ingo Molnar wrote: 3) On ARM: -#define __NR_syscalls (380) +#define __NR_syscalls (384) but: #define __NR_finit_module (__NR_SYSCALL_BASE+379) +#define __NR_sched_setattr (__NR_SYSCALL_BASE+380) +#define

[PATCH 0/3] Fix perf tool issues in tip/perf/core

2014-01-15 Thread Mark Rutland
Hi Ingo, Arnaldo, Jiri, While trying to fix perf tool cross-builds I noticed that in tip/perf/core there are new build issues over v3.13-rc8: a build failure on x86_64, and a new set of warnings on arm. The following patches fix cross-building (at least for arm) and fix the new build issues on

[PATCH 1/3] perf: tools: Fix aliasing violation in zfree uses

2014-01-15 Thread Mark Rutland
Commit 74cf249d5cf7 (perf tools: Use zfree to help detect use after free bugs) changed many uses of free to zfree, which automatically clears the pointer. However, in a couple of places it casts a const char** to void**, which the compiler doesn't like: cc1: warnings being treated as errors

[PATCH 3/3] perf: tools: fix cross building

2014-01-15 Thread Mark Rutland
Currently the feature-checks Makefile does not inherit $(CC), and calls cc rather than $(CROSS_COMPILE)gcc. Thus the feature checks invoke the native toolchain rather than the cross toolchain, and can identify features as available when they are not. This can break the build. Additionally the

[PATCH 2/3] tools lib traceevent: fix pointer-integer size mismatch

2014-01-15 Thread Mark Rutland
The scsi and cfg80211 plugins cast between unsigned long long and pointers, which is problematic for architectures where unsigned long long is wider than the native pointer size: linux/tools/lib/traceevent/plugin_scsi.c: In function ‘process_scsi_trace_parse_cdb’:

Re: [QUERY]: Is using CPU hotplug right for isolating CPUs?

2014-01-15 Thread Viresh Kumar
On 15 January 2014 16:08, Peter Zijlstra pet...@infradead.org wrote: Nah, its just ugly and we should fix it. You need to be careful to not place tasks in a cpuset you're going to unplug though, that'll give funny results. Okay. So how do you suggest to get rid of cases like a work queued on

[PATCH] headers_check: special case seqbuf_dump()

2014-01-15 Thread Paul Bolle
make headers_check warns about soundcard.h for (at least) five years now: [...]/usr/include/linux/soundcard.h:1054: userspace cannot reference function or variable defined in the kernel We're apparently stuck with providing OSSlib-3.8 compatibility, so let's special case this declaration

[PATCH -next 2/2] bcache: Use max_t() when comparing different types

2014-01-15 Thread Geert Uytterhoeven
drivers/md/bcache/btree.c: In function ‘insert_u64s_remaining’: drivers/md/bcache/btree.c:1816: warning: comparison of distinct pointer types lacks a cast Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- drivers/md/bcache/btree.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH -next 1/2] bcache: Use %zi to format size_t

2014-01-15 Thread Geert Uytterhoeven
drivers/md/bcache/extents.c: In function ‘btree_ptr_bad_expensive’: drivers/md/bcache/extents.c:196: warning: format ‘%li’ expects type ‘long int’, but argument 4 has type ‘size_t’ Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- drivers/md/bcache/extents.c |2 +- 1 file changed,

  1   2   3   4   5   6   7   8   9   10   >