Re: [PATCH/RFC v3 5/5] media: Add registration helpers for V4L2 flash sub-devices

2014-05-02 Thread Sakari Ailus
Hi Jacek, On Mon, Apr 28, 2014 at 01:25:09PM +0200, Jacek Anaszewski wrote: Hi Sakari, On 04/23/2014 05:24 PM, Sakari Ailus wrote: Hi Jacek, On Thu, Apr 17, 2014 at 10:26:44AM +0200, Jacek Anaszewski wrote: Hi Sakari, Thanks for the review. On 04/16/2014 08:21 PM, Sakari Ailus

Re: [perf] more perf_fuzzer memory corruption

2014-05-02 Thread Peter Zijlstra
On Thu, May 01, 2014 at 02:49:01PM -0400, Vince Weaver wrote: OK, humor me a bit here. I'm looking at the buggy trace and comparing against a good trace where the bug doesn't happen. It is a rance condition of sorts, because it's just a 10us or so interleaving of calls that causes the

Re: [PATCH v5 2/6] arm64: Introduce VA_BITS and translation level options

2014-05-02 Thread Christoffer Dall
On Fri, May 02, 2014 at 10:57:09AM +0900, Jungseok Lee wrote: On Thursday, May 01, 2014 7:06 PM, Christoffer Dall wrote: On Thu, May 01, 2014 at 11:33:56AM +0900, Jungseok Lee wrote: [...] + +choice + prompt Virtual address space size + default ARM64_VA_BITS_39 if ARM64_4K_PAGES

Re: [ANNOUNCE] 3.14-rt1

2014-05-02 Thread Mike Galbraith
On Fri, 2014-05-02 at 12:09 +0200, Sebastian Andrzej Siewior wrote: * Mike Galbraith | 2014-04-19 16:46:06 [+0200]: Hi Sebastian, Hi Mike, This hunk in hotplug-light-get-online-cpus.patch looks like a bug. @@ -333,7 +449,7 @@ static int __ref _cpu_down(unsigned int /*

Re: [PATCH] DMA-API: Change dma_declare_coherent_memory() CPU address to phys_addr_t

2014-05-02 Thread Liviu Dudau
On Thu, May 01, 2014 at 08:05:04PM +0100, Bjorn Helgaas wrote: [+cc Arnd] On Thu, May 1, 2014 at 8:08 AM, James Bottomley jbottom...@parallels.com wrote: On Wed, 2014-04-30 at 14:33 -0600, Bjorn Helgaas wrote: dma_declare_coherent_memory() takes two addresses for a region of memory: a

[GIT PULL] s390 patches for 3.15-rc4

2014-05-02 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Two bug fixes, one to fix a potential information leak in the BPF jit and common-io-layer fix for old firmware levels. Martin

Re: [PATCH v2 0/4] memcg: Low-limit reclaim

2014-05-02 Thread Michal Hocko
On Wed 30-04-14 14:59:10, Andrew Morton wrote: On Mon, 28 Apr 2014 14:26:41 +0200 Michal Hocko mho...@suse.cz wrote: The series is based on top of the current mmotm tree. Once the series gets accepted I will post a patch which will mark the soft limit as deprecated with a note that it

Re: [patch v2 4/4] mm, thp: do not perform sync compaction on pagefault

2014-05-02 Thread David Rientjes
On Fri, 2 May 2014, Mel Gorman wrote: Synchronous memory compaction can be very expensive: it can iterate an enormous amount of memory without aborting, constantly rescheduling, waiting on page locks and lru_lock, etc, if a pageblock cannot be defragmented. Unfortunately, it's too

Re: [patch 0/9] mm: memcontrol: naturalize charge lifetime

2014-05-02 Thread Michal Hocko
On Wed 30-04-14 16:25:34, Johannes Weiner wrote: [...] Documentation/cgroups/memcg_test.txt | 160 +-- include/linux/memcontrol.h | 94 +- include/linux/page_cgroup.h | 43 +- include/linux/swap.h | 15 +- kernel/events/uprobes.c |1

Re: [PATCH RFC/TEST] sched: make sync affine wakeups work

2014-05-02 Thread Mike Galbraith
On Fri, 2014-05-02 at 06:56 -0400, Rik van Riel wrote: On 05/02/2014 03:37 AM, Mike Galbraith wrote: On Fri, 2014-05-02 at 02:30 -0400, Rik van Riel wrote: On 05/02/2014 02:13 AM, Mike Galbraith wrote: On Fri, 2014-05-02 at 00:42 -0400, Rik van Riel wrote: Whether or not this is the

Re: [PATCH v4 3/5] acpi_processor: do not mark present at boot but not onlined CPU as onlined

2014-05-02 Thread Igor Mammedov
On Wed, 30 Apr 2014 15:25:51 -0600 Toshi Kani toshi.k...@hp.com wrote: On Mon, 2014-04-14 at 17:11 +0200, Igor Mammedov wrote: acpi_processor_add() assumes that present at boot CPUs are always onlined, it is not so if a CPU failed to become onlined. As result acpi_processor_add() will mark

Re: [ANNOUNCE] 3.14-rt1

2014-05-02 Thread Sebastian Andrzej Siewior
* Fernando Lopez-Lezcano | 2014-04-26 11:29:04 [-0700]: Saw this a moment ago (3.14.1 + rt1, Fedora 19 laptop - I think I have seen something similar in 3.12.x-r): Yes, you did: https://lkml.org/lkml/2014/3/7/163 You did not test I've sent. Care to do so? Apr 26 11:16:11 localhost kernel: [

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

2014-05-02 Thread Thierry Reding
On Fri, May 02, 2014 at 06:49:22PM +0900, 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 coup de grâce.

Re: [PATCH v1.0 2/16] arcmsr: Support MSI-X interrupt

2014-05-02 Thread ching
Thanks for Dan's advice. I will revise the patch code. Next upload will be PATCH v1.1 16 patches. On Fri, 2014-05-02 at 11:31 +0300, Dan Carpenter wrote: On Wed, Apr 30, 2014 at 05:50:12PM +0800, ching wrote: From: Chingching2...@areca.com.tw Adding code for supporting MSI-X interrupt

Linux Interrupt Context maps to ARM CPSR.mode = IRQ

2014-05-02 Thread Mj Embd
Hi, As per a lot of linux documentation some components work in process context and some work in interrupt context. If we try to map these contexts to ARM processor modes then is it safely to assume that Process Context : CPSR.mode = SVC Interrupt Context : CPSR.mode = IRQ If not how to define

Re: [PATCH V2 1/2] sched: idle: Encapsulate the code to compile it out

2014-05-02 Thread Rafael J. Wysocki
On Friday, May 02, 2014 10:59:11 AM Daniel Lezcano wrote: On 05/01/2014 12:56 AM, Rafael J. Wysocki wrote: On Thursday, May 01, 2014 12:47:25 AM Rafael J. Wysocki wrote: On Wednesday, April 30, 2014 02:01:02 PM Daniel Lezcano wrote: Encapsulate the large portion of cpuidle_idle_call inside

Re: [rfc][patch] perf,tools: Remove test_attr_* muck from perf.h

2014-05-02 Thread Peter Zijlstra
On Thu, May 01, 2014 at 08:35:05PM +0200, Jiri Olsa wrote: On Thu, May 01, 2014 at 10:27:30AM +0200, Peter Zijlstra wrote: Hi, I occasionally build the odd program against raw perf and use perf.h for this. Now I find that no longer works because of: 52502bf201a85 (perf tests:

Re: [PATCH V2 1/2] sched: idle: Encapsulate the code to compile it out

2014-05-02 Thread Rafael J. Wysocki
On Friday, May 02, 2014 10:52:27 AM Daniel Lezcano wrote: On 05/01/2014 12:47 AM, Rafael J. Wysocki wrote: On Wednesday, April 30, 2014 02:01:02 PM Daniel Lezcano wrote: Encapsulate the large portion of cpuidle_idle_call inside another function so when CONFIG_CPU_IDLE=n, the code will be

Re: [Patch v2] lapic need be checked if available when initialize acpi processor id

2014-05-02 Thread Rafael J. Wysocki
On Friday, May 02, 2014 04:51:46 PM Baoquan He wrote: On 04/30/14 at 10:13pm, Rafael J. Wysocki wrote: On Wednesday, April 30, 2014 02:03:03 PM Baoquan He wrote: Hi Rafael, Hi, Thanks for previous review for v1. Later on I thought acpi_lapic is more suitable for checking

Re: [PATCH] parisc,metag: Do not hardcode maximum userspace stack size

2014-05-02 Thread James Hogan
On 01/05/14 18:50, James Bottomley wrote: + +config MAX_STACK_SIZE_MB +int Maximum user stack size (MB) +default 80 +range 8 256 if METAG +range 8 2048 +depends on STACK_GROWSUP +help + This is the maximum stack size in Megabytes in the VM layout of user +

Re: [patch v2 4/4] mm, thp: do not perform sync compaction on pagefault

2014-05-02 Thread Mel Gorman
On Fri, May 02, 2014 at 04:22:03AM -0700, David Rientjes wrote: On Fri, 2 May 2014, Mel Gorman wrote: Synchronous memory compaction can be very expensive: it can iterate an enormous amount of memory without aborting, constantly rescheduling, waiting on page locks and lru_lock,

[PATCH] [linux-next] serial: sc16is7xx: compile I2C when REGMAP_I2C is module

2014-05-02 Thread Jan Moskyto Matejka
drivers/tty/serial/sc16is7xx.c:1060:12: warning: 'sc16is7xx_probe' defined but not used [-Wunused-function] static int sc16is7xx_probe(struct device *dev, ^ drivers/tty/serial/sc16is7xx.c:1176:12: warning: 'sc16is7xx_remove' defined but not used [-Wunused-function] static int

Re: [PATCH v2 0/4] memcg: Low-limit reclaim

2014-05-02 Thread Michal Hocko
On Wed 30-04-14 14:52:38, Andrew Morton wrote: On Mon, 28 Apr 2014 14:26:41 +0200 Michal Hocko mho...@suse.cz wrote: Hi, previous discussions have shown that soft limits cannot be reformed (http://lwn.net/Articles/555249/). This series introduces an alternative approach for protecting

Re: [PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-05-02 Thread Rafael J. Wysocki
On Friday, May 02, 2014 10:47:48 AM Daniel Lezcano wrote: On 04/30/2014 01:16 AM, Rafael J. Wysocki wrote: On Tuesday, April 29, 2014 01:28:03 AM Rafael J. Wysocki wrote: On Monday, April 28, 2014 01:14:32 PM Daniel Lezcano wrote: On 04/27/2014 02:55 PM, Rafael J. Wysocki wrote: [ ... ]

Re: [PATCH 1/4] memcg, mm: introduce lowlimit reclaim

2014-05-02 Thread Michal Hocko
On Fri 02-05-14 11:36:28, Michal Hocko wrote: On Wed 30-04-14 18:55:50, Johannes Weiner wrote: On Mon, Apr 28, 2014 at 02:26:42PM +0200, Michal Hocko wrote: diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 19d620b3d69c..40e517630138 100644 --- a/mm/memcontrol.c +++

Re: [PATCH 2/2] mm/page_alloc: DEBUG_VM checks for free_list placement of CMA and RESERVE pages

2014-05-02 Thread Vlastimil Babka
On 04/30/2014 11:46 PM, Sasha Levin wrote: On 04/03/2014 11:40 AM, Vlastimil Babka wrote: For the MIGRATE_RESERVE pages, it is important they do not get misplaced on free_list of other migratetype, otherwise the whole MIGRATE_RESERVE pageblock might be changed to other migratetype in

Re: [PATCH v2] cpufreq: intel_pstate: Change the calculation of next pstate

2014-05-02 Thread Rafael J. Wysocki
On Thursday, May 01, 2014 06:48:08 PM Dirk Brandewie wrote: On 05/01/2014 04:18 PM, Rafael J. Wysocki wrote: On Thursday, May 01, 2014 02:30:42 PM Dirk Brandewie wrote: On 05/01/2014 02:00 PM, Stratos Karafotis wrote: Currently the driver calculates the next pstate proportional to

Re: [RFC PATCH] PM / OPP: move cpufreq specific OPP functions out of generic OPP library

2014-05-02 Thread Nishanth Menon
On Fri, May 2, 2014 at 12:22 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 2 May 2014 10:48, Nishanth Menon n...@ti.com wrote: On Thu, May 1, 2014 at 11:30 PM, Viresh Kumar viresh.ku...@linaro.org wrote: diff --git a/drivers/cpufreq/cpufreq_opp.c b/drivers/cpufreq/cpufreq_opp.c new file

Re: [PATCH 07/28] nios2: I/O Mapping

2014-05-02 Thread Arnd Bergmann
On Friday 02 May 2014 18:37:55 Ley Foon Tan wrote: On Thu, Apr 24, 2014 at 2:02 PM, Ley Foon Tan lf...@altera.com wrote: On Tue, Apr 22, 2014 at 9:59 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 18 April 2014, Ley Foon Tan wrote: + +#include asm/pgtable-bits.h + +#define

Re: Linux Interrupt Context maps to ARM CPSR.mode = IRQ

2014-05-02 Thread Mj Embd
Adding Marc to comment Marc Please clarify the doubt On Fri, May 2, 2014 at 5:15 PM, Mj Embd mj.e...@gmail.com wrote: Hi, As per a lot of linux documentation some components work in process context and some work in interrupt context. If we try to map these contexts to ARM processor modes

[PATCH v3 2/4] usb: ehci-exynos: Use struct device instead of platform_device

2014-05-02 Thread Vivek Gautam
Change to use struct device instead of struct platform_device for some static functions. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Acked-by: Alan Stern st...@rowland.harvard.edu Acked-by: Jingoo Han jg1@samsung.com --- Changes from v2: - none drivers/usb/host/ehci-exynos.c |

i2c: add support for sc18im700 master i2c bus controller with uart interface

2014-05-02 Thread RAGHAVENDRA GANIGA
i am currently writing algorithm driver support for sc18im700 Master i2c bus controller with uart interface since i am writing algorithm support which is similar to pcf8584 adapters so i have selected the drivers/i2c/algos/ directory for the driver file so whether the directory i have

[PATCH v5 0/4] usb: ehci/ohci-exynos: Move to generic phy framework

2014-05-02 Thread Vivek Gautam
Based and tested on 'usb-next' branch of Greg's usb tree, with relevant device tree patches[1] Hi Alan, I have included your Acked-by in all the four patches, but there has been some amount of restructuring as suggested by Tomasz Figa. Please let me know if you have some comments on this

[PATCH v5 3/4] usb: ohci-exynos: Add facility to use phy provided by the generic phy framework

2014-05-02 Thread Vivek Gautam
Add support to consume phy provided by Generic phy framework. Keeping the support for older usb-phy intact right now, in order to prevent any functionality break in absence of relevant device tree side change for ohci-exynos. Once we move to new phy in the device nodes for ohci, we can remove the

[PATCH v11 4/4] usb: ehci-exynos: Change to use phy provided by the generic phy framework

2014-05-02 Thread Vivek Gautam
From: Kamil Debski k.deb...@samsung.com Add the phy provider, supplied by new Exynos-usb2phy using Generic phy framework. Keeping the support for older USB phy intact right now, in order to prevent any functionality break in absence of relevant device tree side change for ehci-exynos. Once we

[PATCH v3 1/4] usb: ohci-exynos: Use struct device instead of platform_device

2014-05-02 Thread Vivek Gautam
Change to use struct device instead of struct platform_device for some static functions. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Acked-by: Alan Stern st...@rowland.harvard.edu Acked-by: Jingoo Han jg1@samsung.com --- Changes from v2: - none drivers/usb/host/ohci-exynos.c |

Re: [PATCH RFC/TEST] sched: make sync affine wakeups work

2014-05-02 Thread Mike Galbraith
On Fri, 2014-05-02 at 13:27 +0200, Mike Galbraith wrote: On Fri, 2014-05-02 at 06:56 -0400, Rik van Riel wrote: On 05/02/2014 03:37 AM, Mike Galbraith wrote: On Fri, 2014-05-02 at 02:30 -0400, Rik van Riel wrote: On 05/02/2014 02:13 AM, Mike Galbraith wrote: On Fri, 2014-05-02 at

[PATCH] [linux-next] watchdog: convert deprecated call to current interface

2014-05-02 Thread Jan Moskyto Matejka
This commit fixes this warning: kernel/watchdog.c: In function ‘watchdog_timer_fn’: kernel/watchdog.c:368:4: warning: ‘smp_mb__after_clear_bit’ is deprecated (declared at include/linux/bitops.h:48) [-Wdeprecated-declarations] smp_mb__after_clear_bit(); That code was introduced in commit

Re: [PATCH] fbdev/fb.h: silence warning with -Wsign-compare

2014-05-02 Thread Tomi Valkeinen
On 01/05/14 22:32, Brian W Hart wrote: Silence the warning when building with -Wsign-compare when fb.h is included: include/linux/fb.h: In function ‘__fb_pad_aligned_buffer’: include/linux/fb.h:650:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Re: [PATCH V2] earlyprintk=efi,keep fix

2014-05-02 Thread Matt Fleming
On Thu, 01 May, at 09:15:48PM, Dave Young wrote: earlyprintk=efi,keep will cause kernel hangs while freeing initmem like below: [2.826089] VFS: Mounted root (ext4 filesystem) readonly on device 254:2. [2.846592] devtmpfs: mounted [2.856974] Freeing unused kernel memory: 880K

Re: [PATCH 1/4] memcg, mm: introduce lowlimit reclaim

2014-05-02 Thread Johannes Weiner
On Fri, May 02, 2014 at 02:07:15PM +0200, Michal Hocko wrote: On Fri 02-05-14 11:36:28, Michal Hocko wrote: On Wed 30-04-14 18:55:50, Johannes Weiner wrote: On Mon, Apr 28, 2014 at 02:26:42PM +0200, Michal Hocko wrote: diff --git a/mm/memcontrol.c b/mm/memcontrol.c index

Re: [PATCH] mlx4: Use GFP_NOFS calls during the ipoib TX path when creating the QP

2014-05-02 Thread Jiri Kosina
On Thu, 24 Apr 2014, Or Gerlitz wrote: I sent you private note on Mar 19th saying are you on track with this for 3.15? the merge window is coming soon and you have 99% of what you need -- lets get there which seems to be the piece that fell between the cracks. I probably failed to see the

Re: [PATCH RT 1/3] rt: Move migrate_disable up in trylocks

2014-05-02 Thread Steven Rostedt
On Fri, 02 May 2014 09:11:23 +0200 Sebastian Andrzej Siewior bige...@linutronix.de wrote: On 05/01/2014 02:47 AM, Steven Rostedt wrote: Could this wait until it appears in the development release? I would need to delay the release then as I wont release a kernel that fails the cpu stress

[PATCH] Sound USB: Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

2014-05-02 Thread Sander Eikelenboom
This (widely used) construction: if(printk_ratelimit()) dev_dbg() Causes the ratelimiting to spam the kernel log with the callbacks suppressed message below, even while the dev_dbg it is supposed to rate limit wouldn't print anything because DEBUG is not defined for this device. [

Re: [PATCH] [linux-next] watchdog: convert deprecated call to current interface

2014-05-02 Thread Aaron Tomlin
On Fri, May 02, 2014 at 02:56:14PM +0200, Jan Moskyto Matejka wrote: This commit fixes this warning: kernel/watchdog.c: In function ‘watchdog_timer_fn’: kernel/watchdog.c:368:4: warning: ‘smp_mb__after_clear_bit’ is deprecated (declared at include/linux/bitops.h:48)

[PATCH] Prevent printk ratelimiting from spamming kernel log while DEBUG not defined

2014-05-02 Thread Sander Eikelenboom
Hi All, This patch is for USB sound, but the construction is widely used in the kernel, so this could pop up in more places. Greg, Julia, Would it be worthwhile to sweep this tree wide ? And would this be something for Coccinelle ? This probably also goes for the other loglevels and the net

Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-02 Thread Jiri Kosina
On Thu, 1 May 2014, Josh Poimboeuf wrote: kpatch vs kGraft I think the biggest difference between kpatch and kGraft is how they ensure that the patch is applied atomically and safely. kpatch checks the backtraces of all tasks in stop_machine() to ensure that no

Re: [PATCH] rwsem: Comments to explain the meaning of the rwsem's count field

2014-05-02 Thread Randy Dunlap
On 05/01/2014 04:05 PM, Tim Chen wrote: On Thu, 2014-05-01 at 16:18 -0400, Peter Hurley wrote: On 05/01/2014 01:50 PM, Tim Chen wrote: It takes me a while to understand how rwsem's count field mainifest itself in different scenarios. I'm adding comments to provide a quick reference on the the

Re: [PATCH RT 2/2] rtmutex: Remove duplicate rt_mutex_init()

2014-05-02 Thread Steven Rostedt
On Fri, 2 May 2014 11:08:31 +0200 Sebastian Andrzej Siewior bige...@linutronix.de wrote: * Steven Rostedt | 2014-04-08 22:47:02 [-0400]: From: Steven Rostedt (Red Hat) rost...@goodmis.org The rt_mutex_init() macro is the same whether or not CONFIG_DEBUG_RT_MUTEX is set. Remove the

Re: [PATCH v3 4/7] of: configure the platform device dma parameters

2014-05-02 Thread Santosh Shilimkar
On Friday 02 May 2014 05:58 AM, Arnd Bergmann wrote: On Thursday 01 May 2014 14:12:10 Grant Likely wrote: I've got two concerns here. of_dma_get_range() retrieves only the first tuple from the dma-ranges property, but it is perfectly valid for dma-ranges to contain multiple tuples. How should

Re: [patch 1/2] mm, migration: add destination page freeing callback

2014-05-02 Thread Vlastimil Babka
On 05/01/2014 02:45 AM, David Rientjes wrote: Memory migration uses a callback defined by the caller to determine how to allocate destination pages. When migration fails for a source page, however, it frees the destination page back to the system. This patch adds a memory migration callback

Re: [PATCH 0/4] ipc/shm.c: increase the limits for SHMMAX, SHMALL

2014-05-02 Thread Michael Kerrisk (man-pages)
Hi Manfred, On Mon, Apr 21, 2014 at 4:26 PM, Manfred Spraul manf...@colorfullife.com wrote: Hi all, the increase of SHMMAX/SHMALL is now a 4 patch series. I don't have ideas how to improve it further. On the assumption that your patches are heading to mainline, could you send me a man-pages

Re: [PATCH v5 0/4] usb: ehci/ohci-exynos: Move to generic phy framework

2014-05-02 Thread Kukjin Kim
On 05/02/14 21:47, Vivek Gautam wrote: Based and tested on 'usb-next' branch of Greg's usb tree, with relevant device tree patches[1] Hi Alan, I have included your Acked-by in all the four patches, but there has been some amount of restructuring as suggested by Tomasz Figa. Please let me

Re: [PATCH 2/2] cpuidle / menu: Return error code if there are no suitable states

2014-05-02 Thread Daniel Lezcano
On 05/02/2014 02:20 PM, Rafael J. Wysocki wrote: On Friday, May 02, 2014 10:47:48 AM Daniel Lezcano wrote: On 04/30/2014 01:16 AM, Rafael J. Wysocki wrote: On Tuesday, April 29, 2014 01:28:03 AM Rafael J. Wysocki wrote: On Monday, April 28, 2014 01:14:32 PM Daniel Lezcano wrote: On

Re: [PATCH RT 2/2] rtmutex: Remove duplicate rt_mutex_init()

2014-05-02 Thread Sebastian Andrzej Siewior
On 05/02/2014 03:12 PM, Steven Rostedt wrote: This does not apply cleanly on v3.14-rt That's because I sent this out before 3.14-rt was released :-) Ach right. Sorry, my memory… --- a/include/linux/rtmutex.h +++ b/include/linux/rtmutex.h @@ -62,25 +62,19 @@ struct hrtimer_sleeper; #

Re: [RFC PATCH 1/5] watchdog: Add API to trigger reboots

2014-05-02 Thread Guenter Roeck
On 05/02/2014 03:01 AM, Will Deacon wrote: Hi Guenter, This looks pretty sensible to me (and the arm/arm64 bits look fine too), but I have one question below... On Thu, May 01, 2014 at 04:41:29PM +0100, Guenter Roeck wrote: Some hardware implements reboot through its watchdog hardware, for

Re: [PATCH] netdev: pktgen xmit packet through vlan interface

2014-05-02 Thread Jesper Dangaard Brouer
On Fri, 2 May 2014 15:18:12 +0800 Zhouyi Zhou zhouzho...@gmail.com wrote: As http://www.spinics.net/lists/netdev/msg165015.html pktgen generates shared packet through vlan interface will cause oops because of duplicate entering tc queue. Try to solve this problem by means of packet clone

Re: [PATCH V2 1/2] sched: idle: Encapsulate the code to compile it out

2014-05-02 Thread Daniel Lezcano
On 05/02/2014 02:09 PM, Rafael J. Wysocki wrote: On Friday, May 02, 2014 10:59:11 AM Daniel Lezcano wrote: On 05/01/2014 12:56 AM, Rafael J. Wysocki wrote: On Thursday, May 01, 2014 12:47:25 AM Rafael J. Wysocki wrote: On Wednesday, April 30, 2014 02:01:02 PM Daniel Lezcano wrote:

Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-02 Thread Josh Poimboeuf
On Fri, May 02, 2014 at 10:37:53AM +0200, Jiri Kosina wrote: On Thu, 1 May 2014, Josh Poimboeuf wrote: Since Jiri posted the kGraft patches [1], I wanted to share an alternative live patching solution called kpatch, which is something we've been working on at Red Hat for quite a while.

Re: [PATCH V2 1/2] sched: idle: Encapsulate the code to compile it out

2014-05-02 Thread Daniel Lezcano
On 05/02/2014 02:09 PM, Rafael J. Wysocki wrote: On Friday, May 02, 2014 10:52:27 AM Daniel Lezcano wrote: On 05/01/2014 12:47 AM, Rafael J. Wysocki wrote: On Wednesday, April 30, 2014 02:01:02 PM Daniel Lezcano wrote: Encapsulate the large portion of cpuidle_idle_call inside another function

Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-02 Thread Josh Poimboeuf
On Fri, May 02, 2014 at 03:10:58PM +0200, Jiri Kosina wrote: On Thu, 1 May 2014, Josh Poimboeuf wrote: kpatch vs kGraft I think the biggest difference between kpatch and kGraft is how they ensure that the patch is applied atomically and safely. kpatch checks the

[PATCH 5/6] mm: Call kmemleak directly from memblock_(alloc|free)

2014-05-02 Thread Catalin Marinas
Kmemleak could ignore memory blocks allocated via memblock_alloc() leading to false positives during scanning. This patch adds the corresponding callbacks and removes kmemleak_free_* calls in mm/nobootmem.c to avoid duplication. The kmemleak_alloc() in mm/nobootmem.c is kept since

[PATCH 3/6] lib: Update the kmemleak stack trace for radix tree allocations

2014-05-02 Thread Catalin Marinas
Since radix_tree_preload() stack trace is not always useful for debugging an actual radix tree memory leak, this patch updates the kmemleak allocation stack trace in the radix_tree_node_alloc() function. Signed-off-by: Catalin Marinas catalin.mari...@arm.com Cc: Andrew Morton

[PATCH 2/6] mm: Introduce kmemleak_update_trace()

2014-05-02 Thread Catalin Marinas
The memory allocation stack trace is not always useful for debugging a memory leak (e.g. radix_tree_preload). This function, when called, updates the stack trace for an already allocated object. Signed-off-by: Catalin Marinas catalin.mari...@arm.com Cc: Andrew Morton a...@linux-foundation.org Cc:

[PATCH 0/6] Kmemleak updates

2014-05-02 Thread Catalin Marinas
Hi, This series contains a few kmemleak updates: - Avoid false positives caused by not tracking all memblock allocations and disabling the kmemleak early logging slightly earlier - Debugging improvements for places where pre-allocation happens (mempool and radix tree) - minor printk

[PATCH 1/6] mm/kmemleak.c: Use %u to print -checksum.

2014-05-02 Thread Catalin Marinas
From: Jianpeng Ma majianp...@gmail.com Signed-off-by: Jianpeng Ma majianp...@gmail.com Signed-off-by: Catalin Marinas catalin.mari...@arm.com Cc: Andrew Morton a...@linux-foundation.org --- mm/kmemleak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/kmemleak.c

[PATCH 4/6] mm: Update the kmemleak stack trace for mempool allocations

2014-05-02 Thread Catalin Marinas
When mempool_alloc() returns an existing pool object, kmemleak_alloc() is no longer called and the stack trace corresponds to the original object allocation. This patch updates the kmemleak allocation stack trace for such objects to make it more useful for debugging. Signed-off-by: Catalin

[PATCH 6/6] mm: Postpone the disabling of kmemleak early logging

2014-05-02 Thread Catalin Marinas
Currently, kmemleak_early_log is disabled at the beginning of the kmemleak_init() function, before the full kmemleak tracing is actually enabled. In this small window, kmem_cache_create() is called by kmemleak which triggers additional memory allocation that are not traced. This patch moves the

Re: [PATCH v2] cpufreq: intel_pstate: Change the calculation of next pstate

2014-05-02 Thread Stratos Karafotis
On 02/05/2014 03:26 μμ, Rafael J. Wysocki wrote: On Thursday, May 01, 2014 06:48:08 PM Dirk Brandewie wrote: On 05/01/2014 04:18 PM, Rafael J. Wysocki wrote: On Thursday, May 01, 2014 02:30:42 PM Dirk Brandewie wrote: On 05/01/2014 02:00 PM, Stratos Karafotis wrote: Currently the driver

Re: Linux Interrupt Context maps to ARM CPSR.mode = IRQ

2014-05-02 Thread Marc Zyngier
On 2014-05-02 13:34, Mj Embd wrote: Adding Marc to comment Marc Please clarify the doubt On Fri, May 2, 2014 at 5:15 PM, Mj Embd mj.e...@gmail.com wrote: Hi, As per a lot of linux documentation some components work in process context and some work in interrupt context. If we try to map

Re: [PATCH 3/6] lib: Update the kmemleak stack trace for radix tree allocations

2014-05-02 Thread Johannes Weiner
On Fri, May 02, 2014 at 02:41:07PM +0100, Catalin Marinas wrote: Since radix_tree_preload() stack trace is not always useful for debugging an actual radix tree memory leak, this patch updates the kmemleak allocation stack trace in the radix_tree_node_alloc() function. Signed-off-by: Catalin

[PATCH 01/11] mm: differentiate unmap for vmscan from other unmap.

2014-05-02 Thread j . glisse
From: Jérôme Glisse jgli...@redhat.com New code will need to be able to differentiate between a regular unmap and an unmap trigger by vmscan in which case we want to be as quick as possible. Signed-off-by: Jérôme Glisse jgli...@redhat.com --- include/linux/rmap.h | 7 ---

[PATCH 02/11] mmu_notifier: add action information to address invalidation.

2014-05-02 Thread j . glisse
From: Jérôme Glisse jgli...@redhat.com The action information will be usefull for new user of mmu_notifier API. The action argument differentiate between a vma disappearing, a page being write protected or simply a page being unmaped. This allow new user to take different action for instance on

[PATCH 10/11] hmm/dummy: dummy driver to showcase the hmm api.

2014-05-02 Thread j . glisse
From: Jérôme Glisse jgli...@redhat.com This is a dummy driver which full fill two purposes : - showcase the hmm api and gives references on how to use it. - provide an extensive user space api to stress test hmm. This is a particularly dangerous module as it allow to access a mirror of a

[PATCH 11/11] hmm/dummy_driver: add support for fake remote memory using pages.

2014-05-02 Thread j . glisse
From: Jérôme Glisse jgli...@redhat.com Fake the existent of remote memory using preallocated pages and demonstrate how to use the hmm api related to remote memory. Signed-off-by: Jérôme Glisse jgli...@redhat.com --- drivers/char/hmm_dummy.c | 450 -

[PATCH 09/11] fs/ext4: add support for hmm migration to remote memory of pagecache.

2014-05-02 Thread j . glisse
From: Jérôme Glisse jgli...@redhat.com This add support for migrating page of ext4 filesystem to remote device memory using the hmm infrastructure. Writeback need special handling as we want to keep content inside remote memory. Signed-off-by: Jérôme Glisse jgli...@redhat.com --- fs/ext4/file.c

[PATCH 05/11] mm/memcg: support accounting null page and transfering null charge to new page.

2014-05-02 Thread j . glisse
From: Jérôme Glisse jgli...@redhat.com When migrating memory to some device specific memory we still want to properly account memcg memory usage. To do so we need to be able to account for page not allocated in system memory. We also need to be able to transfer previous charge from device memory

[PATCH 03/11] mmu_notifier: pass through vma to invalidate_range and invalidate_page

2014-05-02 Thread j . glisse
From: Jérôme Glisse jgli...@redhat.com New user of the mmu_notifier interface need to lookup vma in order to perform the invalidation operation. Instead of redoing a vma lookup inside the callback just pass through the vma from the call site where it is already available. This needs small

[PATCH 06/11] hmm: heterogeneous memory management

2014-05-02 Thread j . glisse
From: Jérôme Glisse jgli...@redhat.com Motivation: Heterogeneous memory management is intended to allow a device to transparently access a process address space without having to lock pages of the process or take references on them. In other word mirroring a process address space while allowing

[PATCH 04/11] interval_tree: helper to find previous item of a node in rb interval tree

2014-05-02 Thread j . glisse
From: Jérôme Glisse jgli...@redhat.com It is often usefull to find the entry right before a given one in an rb interval tree. Signed-off-by: Jérôme Glisse jgli...@redhat.com --- include/linux/interval_tree_generic.h | 79 +++ 1 file changed, 79 insertions(+)

Re: [PATCH] netdev: pktgen xmit packet through vlan interface

2014-05-02 Thread John Fastabend
On 5/2/2014 6:19 AM, Jesper Dangaard Brouer wrote: On Fri, 2 May 2014 15:18:12 +0800 Zhouyi Zhou zhouzho...@gmail.com wrote: As http://www.spinics.net/lists/netdev/msg165015.html pktgen generates shared packet through vlan interface will cause oops because of duplicate entering tc queue. Try

Re: Linux Interrupt Context maps to ARM CPSR.mode = IRQ

2014-05-02 Thread Mj Embd
On Fri, May 2, 2014 at 7:17 PM, Marc Zyngier marc.zyng...@arm.com wrote: On 2014-05-02 13:34, Mj Embd wrote: Adding Marc to comment Marc Please clarify the doubt On Fri, May 2, 2014 at 5:15 PM, Mj Embd mj.e...@gmail.com wrote: Hi, As per a lot of linux documentation some components

[GIT PULL] KVM changes for 3.15-rc4

2014-05-02 Thread Paolo Bonzini
Linus, The following changes since commit 0f689a33ad17845363acdc6d52783befd6ad116c: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux (2014-04-16 11:28:25 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git

Re: [PATCH 1/4] memcg, mm: introduce lowlimit reclaim

2014-05-02 Thread Michal Hocko
On Fri 02-05-14 09:01:18, Johannes Weiner wrote: On Fri, May 02, 2014 at 02:07:15PM +0200, Michal Hocko wrote: On Fri 02-05-14 11:36:28, Michal Hocko wrote: On Wed 30-04-14 18:55:50, Johannes Weiner wrote: On Mon, Apr 28, 2014 at 02:26:42PM +0200, Michal Hocko wrote: diff --git

Re: [PATCH 1/3] driver net: cpsw: Convert pr_*() to dev_*() calls

2014-05-02 Thread Felipe Balbi
On Fri, May 02, 2014 at 03:50:15PM +0530, George Cherian wrote: Convert all pr_*() calls to dev_*() calls. Signed-off-by: George Cherian george.cher...@ti.com Reviewed-by: Felipe Balbi ba...@ti.com --- drivers/net/ethernet/ti/cpsw.c | 50 +- 1

Re: [PATCH 2/3] net: davinci_mdio: Convert pr_err() to dev_err() call

2014-05-02 Thread Felipe Balbi
On Fri, May 02, 2014 at 03:50:16PM +0530, George Cherian wrote: Convert the lone pr_err() to dev_err() call. Also, Convert kzalloc to devm_kzalloc. Signed-off-by: George Cherian george.cher...@ti.com --- there's a kfree(data) on davinci_mdio_remove() which could be deleted too. Other than

Re: [PATCH 1/2] namespaces: give each namespace a serial number

2014-05-02 Thread Richard Guy Briggs
On 14/05/02, Serge E. Hallyn wrote: Quoting Richard Guy Briggs (r...@redhat.com): Most of this looks reasonable, but I'm curious about something, +/** + * ns_serial - compute a serial number for the namespace + * + * Compute a serial number for the namespace to uniquely identify it

Re: [PATCH 3/3] drivers: net: davinci_cpdma: Convert kzalloc() to devm_kzalloc().

2014-05-02 Thread Felipe Balbi
Hi, On Fri, May 02, 2014 at 03:50:17PM +0530, George Cherian wrote: Convert kzalloc() to devm_kzalloc(). Signed-off-by: George Cherian george.cher...@ti.com --- drivers/net/ethernet/ti/davinci_cpdma.c | 32 1 file changed, 12 insertions(+), 20 deletions(-)

Re: [PATCH v7 16/20] usb: phy: msm: Fix PTS definitions for MSM USB controller

2014-05-02 Thread Felipe Balbi
On Fri, May 02, 2014 at 08:49:05AM +0300, Ivan T. Ivanov wrote: On Wed, 2014-04-30 at 11:27 -0500, Felipe Balbi wrote: On Thu, Apr 24, 2014 at 06:48:11PM +0300, Ivan T. Ivanov wrote: From: Tim Bird tbird...@gmail.com Fix the value used for Parallel Transceiver Select (PTS) for the MSM

Re: Linux Interrupt Context maps to ARM CPSR.mode = IRQ

2014-05-02 Thread Marc Zyngier
On Fri, May 02 2014 at 3:07:55 pm BST, Mj Embd mj.e...@gmail.com wrote: On Fri, May 2, 2014 at 7:17 PM, Marc Zyngier marc.zyng...@arm.com wrote: On 2014-05-02 13:34, Mj Embd wrote: Adding Marc to comment Marc Please clarify the doubt On Fri, May 2, 2014 at 5:15 PM, Mj Embd

Re: [PATCH] HID: rmi: check for the existence of some optional queries before reading query 12

2014-05-02 Thread Benjamin Tissoires
Hi Andrew, On Thu, May 1, 2014 at 5:49 PM, Andrew Duggan adug...@synaptics.com wrote: The rmi4 spec defines some optional query registers in F11 which appear before query 12. This patch checks for the existence of some of the lesser used queries to compute the location of query12 and all

Re: [PATCH 0/2] namespaces: log namespaces per task

2014-05-02 Thread Richard Guy Briggs
On 14/05/02, Serge E. Hallyn wrote: Quoting Richard Guy Briggs (r...@redhat.com): I saw no replies to my questions when I replied a year after Aris' posting, so I don't know if it was ignored or got lost in stale threads:

Re: [PATCH v3 5/7] ARM: dma: Use dma_pfn_offset for dma address translation

2014-05-02 Thread Rob Herring
On Thu, Apr 24, 2014 at 10:30 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: From: Grygorii Strashko grygorii.stras...@ti.com In most of cases DMA addresses can be performed using offset value of Bus address space relatively to physical address space as following: PFN-DMA:

Re: PROBLEM: Pulseaudio hung at schedule in 3.15-rc1

2014-05-02 Thread Bryan Quigley
That looks good! Thanks! Bryan On Fri, May 2, 2014 at 3:36 AM, Takashi Iwai ti...@suse.de wrote: At Wed, 30 Apr 2014 13:40:11 -0400, Bryan Quigley wrote: Hm, what about the one below instead? Takashi It works now! Still gives me some errors, but both the webcam and microphone

Re: [PATCH/RFC 3/4] of/clk: Register clocks suitable for Runtime PM with the PM core

2014-05-02 Thread Geert Uytterhoeven
Hi Ulf, On Fri, May 2, 2014 at 10:56 AM, Ulf Hansson ulf.hans...@linaro.org wrote: +static int of_clk_pm_runtime_suspend(struct device *dev) +{ + int ret; + + ret = pm_generic_runtime_suspend(dev); + if (ret) + return ret; + + ret =

Re: [PATCH v3 0/7] of: setup dma parameters using dma-ranges and dma-coherent

2014-05-02 Thread Rob Herring
On Thu, May 1, 2014 at 8:25 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, May 01, 2014 at 09:19:18AM -0400, Santosh Shilimkar wrote: Rob, Russell, On Thursday 24 April 2014 11:30 AM, Santosh Shilimkar wrote: Here is an updated v3 of the series. Series introduces support

Re: [PATCH] parisc,metag: Do not hardcode maximum userspace stack size

2014-05-02 Thread James Bottomley
On Fri, 2014-05-02 at 12:54 +0100, James Hogan wrote: On 01/05/14 18:50, James Bottomley wrote: + +config MAX_STACK_SIZE_MB + int Maximum user stack size (MB) + default 80 + range 8 256 if METAG + range 8 2048 + depends on STACK_GROWSUP + help +This is the maximum

Re: [PATCH] netdev: pktgen xmit packet through vlan interface

2014-05-02 Thread Zhouyi Zhou
Thanks for reviewing On Fri, May 2, 2014 at 10:00 PM, John Fastabend john.r.fastab...@intel.com wrote: On 5/2/2014 6:19 AM, Jesper Dangaard Brouer wrote: On Fri, 2 May 2014 15:18:12 +0800 Zhouyi Zhou zhouzho...@gmail.com wrote: As http://www.spinics.net/lists/netdev/msg165015.html pktgen

[PATCH] staging/comedi: fix sparse warning: shift too big

2014-05-02 Thread Brilliantov Kirill Vladimirovich
Signed-off-by: Brilliantov Kirill Vladimirovich brillian...@inbox.ru --- drivers/staging/comedi/drivers/ni_stc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/ni_stc.h b/drivers/staging/comedi/drivers/ni_stc.h index f0630b78..197b568 100644

Re: [PATCH/RFC 3/4] of/clk: Register clocks suitable for Runtime PM with the PM core

2014-05-02 Thread Geert Uytterhoeven
Hi Ulf, Tomasz, On Fri, May 2, 2014 at 10:13 AM, Ulf Hansson ulf.hans...@linaro.org wrote: +static int of_clk_register(struct device *dev, struct clk *clk) +{ + int error; + + if (!dev-pm_domain) { + error = pm_clk_create(dev); + if (error) +

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